Exec string with OID doesnt work

"Brent Jones" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
All,
I'm trying to execute a script to assign the output to a special OID.
It has worked for many of my machines in the past, but when I try to
do so now, it will not let me assign an OID to it.
It will work if I leave the OID field blank.
Heres a little bit of info:

NET-SNMP version:  5.4.2.1
FreeBSD 6.2

Config:

syslocation  PDX
syscontact  [email protected]
sysservices 76
rocommunity  public

exec     ipmifan         /bin/ipmi-fan


/bin/ipmi-fan produced multi-line output with fan RPM:

# /bin/ipmi-fan
10800.000000
11025.000000

etc..

The line above "works", but leaves the values dispersed through OIDs
that are difficult to find with snmpwalk, which is why I attempt to
assign it an OID, in this other config file:

exec     .1.3.6.1.4.1.99.1000    ipmifan         /bin/ipmi-fan

However, no data will be viewable at that OID, and no logs show
anything but a lot of connections even with debug I can't make sense
of it. Any ideas why this doesn't work?


-- 
Brent Jones
[email protected]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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.