Re: very simple exec usage

2007-04-19 Thread Max
Hi Charles, > Are there any good examples out there that detail some simple exec, extend > or pass configurations? I've poked around in the docs and wiki, but > didn't find any examples (sadly the only way I seem to learn properly). Simple extend example: snmpd.conf: extend .1.3.6.1.4.1.29494

Re: Bizarre MIB translation problems

2007-04-19 Thread Andy Fry
Err forget that last post, I'm a muppet This is the difference between the two outputs, but I'm not entirely sure what's going on: from command line snmpget -c public -Dparse-mibs -m CISCO-PROCESS-MIB -v 1 129.127.71.2 CISCO-PROCESS-MIB::cpmCPUTotal5min.9 > name 2>&1 < parse-mibs: Module CISCO-P

Re: very simple exec usage

2007-04-19 Thread Charles Sprickman
On Mon, 16 Apr 2007, Dave Shield wrote: > On 13/04/07, Charles Sprickman <[EMAIL PROTECTED]> wrote: >> In snmpd.conf I have something like this: >> >> exec .1.3.6.1.4.1.2021.9100.1 QmailQueue1 /usr/local/adm/bin/qm-stat-cat.sh 1 >> exec .1.3.6.1.4.1.2021.9100.2 QmailQueue2 /usr/local/adm/bin/qm-st

Re: Unable to query lm_sensors MIB

2007-04-19 Thread Benton Roberts
Hello, Dave. Dave Shield wrote: >> Does that object represent sensor data? > No. That is simply reporting the command that you're running > (i.e. the SNMP equivalent of "ps -ef") Bummer :( > Did you compile the agent yourself, or is this a vendor-supplied agent? I'm using the current, stable Fed

Re: Re: Re: Re: Re: snmptranslate can't read a specefic object name

2007-04-19 Thread Dave Shield
On 19/04/07, Reza Salehi <[EMAIL PROTECTED]> wrote: > in var/net-snmp there are following files: > snmpd.confsnmptrapd.conf example-demon.conf OK. > and output of snmptranslate -Dparse_mibs REZA::MIB::rezaTemperature is > below: [I presume that's a typo for "REZA-MIB::rezaTemper

snmp_sess_synch_response and thread safety

2007-04-19 Thread Robert Caldecott
I am struggling to get snmp_sess_synch_response to work correctly from multiple threads and am experiencing STAT_TIMEOUT errors when attempting to perform an SNMP GET to multiple IP addresses simultaneously. I am using v5.4 of Net-SNMP on Linux (Ubuntu 6.10). Here is the code, stripped of error ch

Re: XAMPP and NET-SNMP

2007-04-19 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 19/0

Running on OSX?

2007-04-19 Thread JASON MEYER
I got version 5.0.9 to compile on an OSX 10.4 server but having trouble getting it to run. Here is the message when I just try snmpd -v macback:~/net-snmp-5.0.9/local backupadmin$ snmpd -v dyld: Symbol not found: _version_sysoid Referenced from: /usr/local/lib/libnetsnmpmibs.5.dylib Expecte

NetSNMP::agent and ASN_COUNTER64

2007-04-19 Thread Maxime Henrion
Hello all, It seems the NetSNMP::agent module can't deal properly with ASN_COUNTER64 types. Whenever I try to use this type when calling the setValue() method on the request object from an embedded perl agent, no value is returned at all from the OID. There are no errors at all in the l

Re: XAMPP and NET-SNMP

2007-04-19 Thread Dave Shield
On 19/04/07, James Hill <[EMAIL PROTECTED]> wrote: > I am trying to get NET-SNMP working on a red hat box with XAMPP installed. > Is there someone who has had any luck doing this? I don't think xampp should make any difference to the SNMP installation, and RedHat includes Net-SNMP as part of their