Something Odd... SNMP

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Something Odd... SNMP

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Something Odd... SNMP

Post by hsmith »

Can you post the service definition for one of the checks that is working inside of XI?
Former Nagios Employee.
me.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Something Odd... SNMP

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Something Odd... SNMP

Post 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'.
Former Nagios Employee.
me.
CFT6Server
Posts: 506
Joined: Wed Apr 15, 2015 4:21 pm

Re: Something Odd... SNMP

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Something Odd... SNMP

Post by tmcdonald »

I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked