Page 1 of 1

Something Odd... SNMP

Posted: Fri Nov 20, 2015 1:32 pm
by CFT6Server
I have snmp checks for some Solaris servers that are behind firewalls. In XI, it seems like it is grabbing values (which I am not sure how). When doing snmpwalk and running the check command manually, I am getting no response. I can confirm that when I do the manual checks, deny rules are hit on the firewall, so how is it returning data when running these checks?

Code: Select all

# ./check_snmp_load_wizard.pl -H HOST1 -C nagios -w 70 -c 90
ERROR: Description table : No response from remote host 'HOST1'.

Code: Select all

# snmpwalk -v 1 -c nagios xprd1prxysparc1
Timeout: No Response from xprd1prxysparc1
firewall hit sample

Code: Select all

183 <164>1 2015-11-20T10:28:59-08:00 APP-1502 - - - - %ASA-4-106023: Deny udp src outside:SRCIP/44066 dst inside:HOST1/161 by access-group "outside-in" [0x415d9b30, 0x0]
HOST.JPG

Re: Something Odd... SNMP

Posted: Fri Nov 20, 2015 1:39 pm
by hsmith
Can you post the service definition for one of the checks that is working inside of XI?

Re: Something Odd... SNMP

Posted: Fri Nov 20, 2015 1:48 pm
by CFT6Server
we are using check_xi_service_snmp_linux_load

$USER1$/check_snmp_load_wizard.pl -H $HOSTADDRESS$ $ARG1$ $ARG2$

arguements: -C public -2 -w 70 -c 90 -f -T netsc

Re: Something Odd... SNMP

Posted: Fri Nov 20, 2015 1:52 pm
by hsmith
What happens when you run /usr/local/nagios/libexec/check_snmp_load_wizard.pl -H <YOURIP> -C public -2 -w 70 -c 90 -f -T netsec from the command line?

What user(s) are you attempting to run this as?

In your first post you're using the community 'Nagios' in your configuration, you're using 'public'.

Re: Something Odd... SNMP

Posted: Fri Nov 20, 2015 3:58 pm
by CFT6Server
I found the issue. Looks like the second template was configured which had different port settings then the normal template that was being used. Thanks for the help!

Re: Something Odd... SNMP

Posted: Mon Nov 23, 2015 10:26 am
by tmcdonald
I'll be closing this thread now, but feel free to open another if you need anything in the future!