Re: Windows and Net-SNMP

2006-08-16 Thread gary clark
Much appreciated everyone. Changing the snmpd.conf helped and also using sysUpTime.0 cracked it for me. Thanks now for the real work on this. Cheers, garyc --- Juan Silva <[EMAIL PROTECTED]> wrote: > Hello Gary ! > > My first suggestion will be to test the command > using the actual OID

Re: Windows and Net-SNMP

2006-08-16 Thread Juan Silva
Hello Gary !   My first suggestion will be to test the command using the actual OID number, and sysUpTime.0 (instead of sysUpTime), just in case. The tutorial uses system.sysUpTime.0 for your command. ( http://www.net-snmp.org/tutorial/tutorial-5/commands/snmpget.html )   The "Retrieving a

Re: Windows and Net-SNMP

2006-08-16 Thread Joe Tseng
I don't know if it's this simple or if it's what your looking for, and I'm still a neubie myself on this topic, but give this a shot:Put this line in snmpd.conf:rwcommunity publicThen run registeragent.bat and start the Net-SNMP service under Services.I was getting a timeout also and doing the abo

Windows and Net-SNMP

2006-08-16 Thread gary clark
Hey, I have a quick question regarding Net-SNMP on windows: Just installed Net-SNMP 5.1.3. Built snmpd and setup the snmpd.conf file. Ran the command: snmpd -a -d -Lf tempfile I then perform the command: snmpget -v 2c -c public localhost sysUpTime on the same machine: When examining

RE: There's a problem with sensors for Solaris in 5.3.1.rc1

2006-08-16 Thread Andy Ellis
Bruce wrote: >For most platforms it's OK, but for a few it not displaying any information> because it's starting at the wrong place on picld tree.  The code in MAIN> works correctly (OK, almost - it's out by a factor of 1000 but I can fix> that pretty quickly). Anyway to get a hint on how to

Re: returned value differ : from shell or from snmpd

2006-08-16 Thread Dave Shield
On 16/08/06, Pierre LEBRECH <[EMAIL PROTECTED]> wrote: > But how to get the env value via SNMP? No - save the environment into a temporary file. Something like #!/bin/bash env > /tmp/raid_env.$$ /usr/local/bin/check_raid Invoke this script manually. Invoke this script via SNMP. Compa

Re: returned value differ : from shell or from snmpd

2006-08-16 Thread Pierre LEBRECH
Thanks Dave. But how to get the env value via SNMP? Dave Shield wrote: > On 16/08/06, Pierre LEBRECH <[EMAIL PROTECTED]> wrote: > >> here is the line I have in snmpd.conf : >> exec .1.3.6.1.4.1.2021.8.5.101.1 check_raid /bin/bash >> /usr/local/bin/check_raid.sh > > >> In a root shell, I have t

Re: returned value differ : from shell or from snmpd

2006-08-16 Thread Dave Shield
On 16/08/06, Pierre LEBRECH <[EMAIL PROTECTED]> wrote: > here is the line I have in snmpd.conf : > exec .1.3.6.1.4.1.2021.8.5.101.1 check_raid /bin/bash > /usr/local/bin/check_raid.sh > In a root shell, I have this output : > OK: LSI Megaraid 1030 Volume State Optimal > But now with SNMP, in a r

returned value differ : from shell or from snmpd

2006-08-16 Thread Pierre LEBRECH
Hello, snmpd works on a Debian GNU/Linux machine. I have installed shell scripts. I want to be able to monitor the RAID status of an hardware RAID (LSI) with SNMP. here is the line I have in snmpd.conf : ## CUT exec .1.3.6.1.4.1.2021.8.5.101.1 check_raid /bin/bash /

unsubsribe

2006-08-16 Thread bertsch
- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Gero

Re: error running as a agentx subagent

2006-08-16 Thread Dave Shield
> what's the minimal set of directives when running snmpd as a agentx subagent? > i found some directives can not be recognized by snmpd running as a agentx > subagent. snmpd -X -H Dave - Using Tomcat but need to do more? N

Re: snmptrapd

2006-08-16 Thread Dave Shield
On 13/08/06, Jonathan Shan <[EMAIL PROTECTED]> wrote: > On Thu, 10 Aug 2006, Dave Shield wrote: > > > Is snmptrapd reporting anything at all? > > Any error messages? > > I run snmptrapd with -f -Lo. No error messages. But you do see the startup message, I trust? Try running "snmptrapd -f -Lo