Re: Net-snmp-users Digest, Vol 32, Issue 28

malar vizhi <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi John,

     Thank U So much  for ur information...I got answer for my
question..actually am using MSSQL Server 2000 & Windows 2000...

Sorry for late reply John..I was on leave for past five days....

Thanks & Regards,
Malar




> Message: 1
> Date: Tue, 13 Jan 2009 12:07:48 -0600
> From: [email protected]
> Subject: RE: Help Need on Net-Snmp
> To: [email protected]
> Message-ID:
>        <
> OF479C225F.D75CF18F-ON8625753D.006302DD-8625753D.0063973A@notes.wachovia.com
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> >Is there any condition that SQL Server should be installed once
> >after enabled the SNMP service in our machine....?..Then only can we
> >monitor the SQL via SNMP?....
>
> Malar,
>
> What versions of Microsoft SQL Server and Microsoft Windows are on your
> machine? Please provide more information so that we can help.
>
> According to
> http://msdn.microsoft.com/en-us/library/aa905139(SQL.80).aspx<http://msdn.microsoft.com/en-us/library/aa905139%28SQL.80%29.aspx>,
> you must
> install and enable SNMP before installing MS SQL Server 2000.
>
> I found other possible solutions via
> http://www.google.com/search?hl=en&q=microsoft+sql+server+snmp&aq=f&oq= as
> well.
>
> Good luck!
>
> John Hebert
> ISD Enterprise Solutions - FileNet
> 210-624-6328
> Mailcode: TX1521
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Tue, 13 Jan 2009 12:21:47 -0800
> From: "Mike Ayers" <[email protected]>
> Subject: RE: Problem in using Counter64
> To: <[email protected]>,
>        <[email protected]>
> Message-ID:
>        <
> 83E753BE7B6A324ABB336245BAF1DAAC0A5B5F03@mailserver.metatv-ds.metatv.com>
>
> Content-Type: text/plain;       charset="utf-8"
>
>
> > From: umashankar tm [mailto:[email protected]]
> > Sent: Monday, January 12, 2009 10:15 PM
>
> >   I am using Net-SNMP 5.3.1. And I get the right value if I
> > print the low and high values within the agent.
> >
> > ie, in xx_data_access.c if i do printf xxx.low and xxx.high,
> > o/p: low: 100, high: 1
> >
> > but snmpget gives following o/p:
> >
> > # snmpget -v2c -c public localhost xxxx.0
> > xxxx.0 = Counter64: 1
>
>        We had a report on this list of a similar problem in 5.3.2, for
> which there was no response.  Can you try the same code on 5.4.2.1?
>
>
>        Thanks,
>
> Mike
>
> ------------------------------
>
> Message: 3
> Date: Tue, 13 Jan 2009 12:27:26 -0800
> From: "Mike Ayers" <[email protected]>
> Subject: RE: using symbolic names in oids
> To: "Ed Greenberg" <[email protected]>,
>        <[email protected]>
> Message-ID:
>        <
> 83E753BE7B6A324ABB336245BAF1DAAC0A5B5F13@mailserver.metatv-ds.metatv.com>
>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> > From: Ed Greenberg [mailto:[email protected]]
> > Sent: Tuesday, January 13, 2009 7:55 AM
>
> > If I do this:
> >     $ snmpwalk -v 2c -c mll-O lb001.geni.com vsvrTotHits.3.119.119.119
> > I get this:
> > NS-ROOT-MIB::vsvrTotHits."www" = Counter64: 1464380524
> >
> > Does it not then follow that I should be able to do this:
> >     $ snmpwalk -v 2c -c mll-O lb001.geni.com vsvrTotHits.www
> > which unfortunately results in
> > vsvrTotHits.www: Unknown Object Identifier (Index out of range: www
> > (vsvrName))
> > or perhaps this:
> >     $ snmpwalk -v 2c -c mll-O lb001.geni.com vsvrTotHits.\"www\"
> > which similarly results in:
> > vsvrTotHits."www": Unknown Object Identifier (Index out of range: "www
> > (vsvrName))
> >
> > What am I missing? How can I use the symbolic names?
>
>        Try:
>
> $ snmpwalk -v 2c -c mll-O 'lb001.geni.com vsvrTotHits."www"'
>
>        IIRC, this works on most Unix shells.
>
>
>        HTH,
>
> Mike
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 13 Jan 2009 12:46:59 -0800
> From: "Mike Ayers" <[email protected]>
> Subject: RE: net-snmp 5.4.1 writing to deprecated OIDs
> To: "Mohr James" <[email protected]>,
>        <[email protected]>
> Message-ID:
>        <
> 83E753BE7B6A324ABB336245BAF1DAAC0A5B5F3C@mailserver.metatv-ds.metatv.com>
>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> > From: Mohr James [mailto:[email protected]]
> > Sent: Tuesday, January 13, 2009 9:11 AM
>
> > However, if it is deprecated, why is it still being used?
>
>        It is deprecated, not obsolete.  You are confusing these two terms
> (and then some, really, as even an obsolete object can be implemented in
> places).
>
> > Another
> > machine has net-snmp 5.2.1. I create the same CPU activity and snmpget
> > does not indicate any change. So it is even more confusing
> > and seems as
> > if this functionality has been re-added.
>
>        Or, more likely, this functionality works on some machines and not
> on others, and is not being fixed because it is a deprecated object.
>
> > Is this OID really deprecated? Should we simply not use this OID?
>
>        You should use the replacement monitoring strategy if possible.  If
> not, the deprecated object may be able to provide what you need.  If neither
> works, you should complain about the non-deprecated object.
>
>
>        HTH,
>
> Mike
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 14 Jan 2009 07:58:37 +0000
> From: Syed Mujtaba Ahmed Razvi <[email protected]>
> Subject: RE:
> To: <[email protected]>, <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi Jason
>  I have worked on SNMP v3 a couple of years back. I think it was
> sourceforge.net. You can download "net-snmp-5.1.2" win32 package. This
> will most probably solve your problem.
>
> Regards,
> Syed Mujtaba Ahmed Razvi,
> CTO,
> Peptasoft www.peptasoft.com
>
>
>
> From: [email protected]: [email protected]:
> Mon, 12 Jan 2009 23:37:56 +0000Subject:
>
>  Hi This is Jason from Southern California. I'm working on using SNMP v3
> for Microprocessor LPC2468. We've already ordered SNMP v3 Agent for the
> Microprocessor. Now I want to communicate with the Microcontroller using my
> own GUI application ( which is a Windows form in Visual C ). I guess I need
> to have source codes for SNMP Manager now. Is there any website that I can
> get codes for SNMP manager in C language ? ThanksJason
> _________________________________________________________________
> News, entertainment and everything you care about at Live.com. Get it now!
> http://www.live.com/getstarted.aspx
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 6
> Date: Wed, 14 Jan 2009 08:55:24 +0000
> From: "Dave Shield" <[email protected]>
> Subject: Re: using symbolic names in oids
> To: "Ed Greenberg" <[email protected]>, "Mike Ayers"
>        <[email protected]>
> Cc: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> >> From: Ed Greenberg [mailto:[email protected]]
>
> >>     $ snmpwalk -v 2c -c mll-O lb001.geni.com vsvrTotHits.\"www\"
>
>
> That should have worked.
> Which version of the code are you using?
>    ("snmpwalk -V")
>
>
> 2009/1/13 Mike Ayers <[email protected]>:
> >        Try:
> >
> > $ snmpwalk -v 2c -c mll-O 'lb001.geni.com vsvrTotHits."www"'
>
> The problem with that command is that the shell will swallow
> the double quotes.   These need to be passed to the SNMP
> command, so that it can distinguish between implied string
> index values ('www') and explicit-length ones ("www")
>
> Dave
>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 14 Jan 2009 11:47:08 +0300
> From: spectrum <[email protected]>
> Subject: net-snmp compile problem
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=koi8-r
>
> Hello,
> have a compile problem with Net-SNMP 5.4.2.1
> ./configure --enable-embedded-perl --enable-shared
> proceed without any error.
>
> make
> ...
> gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2
> -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
> -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -I/usr/include/gdbm -I/usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE -c
> snmp_perl.c  -fPIC -DPIC -o .libs/snmp_perl.o
> snmp_perl.c:1:20: error: EXTERN.h: ??? ?????? ????? ??? ????????
> In file included from snmp_perl.c:2:
> /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:948:21: error:
> embed.h: ??? ?????? ????? ??? ????????
> /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:2382:19: error:
> handy.h: ??? ?????? ????? ??? ????????
> /usr/lib/perl5/5.10.0/i386-linux-thread-multi/CORE/perl.h:2560:24: error:
> unixish.h: ??? ?????? ????? ??? ????????
> ...
> ...
> In file included from ../include/net-snmp/utilities.h:54,
>                 from ../include/net-snmp/net-snmp-includes.h:74,
>                 from snmp_perl.c:5:
> ../include/net-snmp/library/container.h:455:32: error: macro "clear" passed
> 3 arguments, but takes just 0
> ../include/net-snmp/library/container.h:458:25: error: macro "clear" passed
> 3 arguments, but takes just 0
> snmp_perl.c: ? ???????  maybe_source_perl_startup':
> snmp_perl.c:45: ??????????????: ? ???????????? ????? ????????????? ?
> ????????? ??? ?????????? ????
> make[1]: *** [snmp_perl.lo] ?????? 1
> make[1]: Leaving directory `/usr/src/net-snmp-5.4.2.1/agent'
> make: *** [subdirs] ?????? 1
>
>
>
> what's wrong?
> thanks in advance.
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 14 Jan 2009 13:57:56 +0000
> From: "Dave Shield" <[email protected]>
> Subject: Re: Retrieving HOST-RESOURCES-MIB::hrSWRunName using net-snmp
>        C       Library
> To: "Chun Tat David Chu" <[email protected]>
> Cc: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 2009/1/12 Chun Tat David Chu <[email protected]>:
> > I then proceeded to modify the OID to "1.3.6.1.2.1.25.4.2.1.2" which is
> > "HOST-RESOURCES-MIB::hrSWRunName".
> > When I ran the program, it shows "value #1 is NOT a string! Ack!".
>
> Please post the code of your program.
>
> It's not sensible for us to try and guess exactly what you changed,
> and hence what might be wrong with the new program.
>
>
> > What I am trying to do is retrieve a list of running processes.
>
> Then you need to send a series of GETNEXT requests (rather than a
> single GET request), to walk the hrSWRunName column.
>
> Try starting with the code for 'snmpwalk.c'.
> That's probably closer to what you need.
>
> Dave
>
>
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
>
> ------------------------------
>
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
>
> End of Net-snmp-users Digest, Vol 32, Issue 28
> **********************************************
>

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.