PDA

View Full Version : Possible Bug SNMP


robbie-w
13th October 2008, 13:15
Hello,
With my configuration im seeing a bug adding SNMP win2k3 default services.

When I adding the community string to the host it is being ignored(i checked hosts.cfg of nagios and it states the following, so it is being added)
_SNMPCOMMUNITY nagios

However if I set the readonly community on Win2k3 as nagios I do not get a response to checks. If I remove this and change it to public(on win2k3) I get a response hence I don't think the community string is being used on the check

Robbie

massimo
13th October 2008, 14:06
No it is not used. $USER2$ is used as community string.

transat
13th October 2008, 16:58
I had the same pb,
you must go to Configuration / services / templates
and change the args for all templates: replace $USER2$ by $_HOSTSNMPCOMMUNITY$

if you don't, it uses $USER2$ as snmp community and it's fixed to public