I am trying to execute a script through a SNMP GET using Net-Snmp included in the latest Solaris 10 (10/09 s10s_u8wos_08a SPARC).
I have a non-global zone which runs NET-SNMP version 5.0.9 patched to the last SMA patch (120272-26).
The zone responds to a snmpwalk but if I add something like
exec 18.104.22.168.4.1.2021.8.1.100 test /bin/echo "hello golem"
in /etc/snmp/conf/snmpd.conf and restart:
svcadm restart sma
if I try to walk .22.214.171.124.4.1.2021.8 (UCD-SNMP-MIB::extTable) I get no objects.
In other similar cases I solved installing the version from sunfreeware.com but it looks like the current version (netsnmp-126.96.36.199-sol10-sparc-local) is not working inside a zone.
Does anyone know how to enable the extTable tree? What is really strange is that the man page for snmpd.conf shows the exec command and the demon says it's capable to understand exec:
prompt# /usr/sfw/sbin/snmpd -H 2>&1| grep exec exec [miboid] name program arguments
PS I get no hints from /var/log/snmpd.log