I've been trying to set up a a few SNMP extensions. Here's a sample entry from /etc/snmp/snmpd.conf on my target host:
extend php_pids /var/skotos/cacti/check-proc lsphp5
The program works fine:
# /var/skotos/cacti/check-proc lsphp5
There are 26 lsphp5 processes.
However, when I go to my cacti server, I get errors:
snmpwalk -c <community> <site> 'NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."php_pids"'
NET-SNMP-EXTEND-MIB::nsExtendOutput1Line."php_pids": Unknown Object Identifier
(I get timeouts from Cacti, but I figured snmpwalk would take out the middle man.)
Everything else works fine for Cacti on the server and for SNMP on the target, but for some reason I can't get nsExtendOutput1Line to work at all.
This is a very fresh Debian Wheezy 7.4 isntallation.