res_snmp

v.1.4 is supposed to have work with snmp but I when I do a “make menuselect” the option to choose the res_snmp modules is X’ed out. snmp is fully functional on the box.

Perhaps you have to install the development rpm snmp package, in my opensuse 10.2 for every rpm there is a devel rpm so I have the net-snmp rpm and the net-snmp-devel rpm, Asterisk needs both to build res_snmp.

Regards.

[quote=“mbruni”]Perhaps you have to install the development rpm snmp package, in my opensuse 10.2 for every rpm there is a devel rpm so I have the net-snmp rpm and the net-snmp-devel rpm, Asterisk needs both to build res_snmp.

Regards.[/quote]I have the three main packages. net-snmp, net-snmp-devel, net-snmp-utils.

At this point it appears to be working. I no longer get errors when running an snmpwalk command. BUT it now give NO output whatsoever.

my snmpd.conf (with my private data removed)

cat /etc/snmp/snmpd.conf

rocommunity MY.COMMUNITY.NAME
master agentx
#agentXSocket tcp:MY.ASTERISK.IP.ADDY:705
agentXperms 0660 0550 nobody asterisk
com2sec local localhost COMMUNITY.NAME
com2sec mynetwork0 MY.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork1 MY.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork2 MY.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork3 MY.NETWORK/24 YOUR.COMMUNITY.NAME
group MyROGroup any local
group MyROGroup any mynetwork0
group MyROGroup any mynetwork1
group MyROGroup any mynetwork2
group MyROGroup any mynetwork3
view all included .1
access MyROGroup “â€

[quote=“metal1633”][quote=“mbruni”]Perhaps you have to install the development rpm snmp package, in my opensuse 10.2 for every rpm there is a devel rpm so I have the net-snmp rpm and the net-snmp-devel rpm, Asterisk needs both to build res_snmp.

Regards.[/quote][/quote]I have the three main packages. net-snmp, net-snmp-devel, net-snmp-utils.

At this point it appears to be working. I no longer get errors when running an snmpwalk command. BUT it now give NO output whatsoever.

my snmpd.conf (with my private data removed)

cat /etc/snmp/snmpd.conf

rocommunity MY.COMMUNITY.NAME
master agentx
#agentXSocket tcp:MY.ASTERISK.IP.ADDY:705
agentXperms 0660 0550 nobody asterisk
com2sec local localhost COMMUNITY.NAME
com2sec mynetwork0 MY.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork1 MY.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork2 MY.NETWORK/24 YOUR.COMMUNITY.NAME
com2sec mynetwork3 MY.NETWORK/24 YOUR.COMMUNITY.NAME
group MyROGroup any local
group MyROGroup any mynetwork0
group MyROGroup any mynetwork1
group MyROGroup any mynetwork2
group MyROGroup any mynetwork3
view all included .1
access MyROGroup “â€

I found that the “make menuselect” option for snmp opens up when lm_sensors-devel is installed. Got that done here at work and at home. I got it working at home on my own system. Highly customized on an openSUSE 10.2 base. Asterisk and snmp work at home. Very same config. Normal output using the snmpwalk command. Here at work, very same config, the snmpwalk command display NO output. Identical installs and configs.

Something is wrong. Some help please

Perhaps there is the firewall active in the server at work ?

Regards.

[quote=“mbruni”]Perhaps there is the firewall active in the server at work ?

Regards.[/quote]Good idea but when I turned off the firewall nothing changed.

try doing a walk at 1.3.6.1.4.1.22736
should give some answers

[quote=“dazza76”]try doing a walk at 1.3.6.1.4.1.22736
should give some answers[/quote]It still gives me no output.