Hey, All --

Working on an opensuse 10.2 system, pretty much a standard install all
around.  I'm using this box to test snmpd configurations.  I'm just
using the standard net-snmp package from the repository.

According to the documentation in /usr/share/doc/packages/net-snmp/, I
should be able to add something like the following to
/etc/snmp/snmpd.conf:

exec .1.3.6.1.4.1.xxxx.yyyy echotest /bin/echo hello there

(xxxx and yyyy represent arbitrary nodes in the tree -- basically,
they're just more-or-less random integers, "12" or "365" or "8723"
or...at least as I understand it.)


Then, after restarting snmpd, I should be able to do this:

snmpget -v 2c localhost -c public .1.3.6.1.4.1.xxxx.yyyy


And see the output of the exec command above.

But, that doesn't seem to be working.  

Specifically, I defined the following:
exec .1.3.6.1.4.1.23.92 proclist /bin/ps

But I get this:
snmptest:/usr/share/doc/packages/net-snmp # snmpwalk -v 2c localhost -c
studentu 1.3.6.1.4.1.23.92
SNMPv2-SMI::enterprises.23.92 = No Such Object available on this agent
at this OID
snmptest:/usr/share/doc/packages/net-snmp # 

Anyone have any thoughts as to what might be going on?  Is there
something that I'm missing about the exec directive?  Something specific
to opensuse?  A module that's missing from opensuse?  Something else
entirely?

Thanks!

- Ian
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to