Has anyone gotten the exec command to work with snmpd.conf on dachstein?

Whenever I put an exec ... line in snmpd.conf and restart snmpd, it
tells me that it does not know what to do with that line.

I am using the snmp from Charles' CD
(http://leaf.sourceforge.net/devel/cstein/files/diskimages/dachstein-CD/CD-Contents/snmp.lrp)

(Perhaps I need to find another snmp that supports this option.  Anyone
know of one that will run on Dachstein?)

I am trying got use snmp on my dachstein system to report the signal
strengh of my aironet radio to mrtg running on my server...  (I would
also entertain other methods)

Here is my approach...

snmp is supposed to have the ability to set an MIB to the output of a
command described in the snmpd.conf file by the exec command.  For
example:

        exec .1.3.6.1.4.1.2021.51 date /bin/date

This would return the (first line of) output of the date command when
one queried using:

      snmpget myfirewall public.1.3.6.1.4.2021.51.101.1

I can get the signal strength string of the aironet card by doing a

      cat /proc/aironet/eth0/Status | grep strength

So, I would like to be able to use snmp to grab that output and plot it
in my mrtg graphs.

THANKS FOR ANY HELP OR IDEAS!

Pete Dubler






_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to