Page 3 of 3

Re: Ports not detected on switch using Network switch wizzar

Posted: Tue Jul 18, 2017 10:39 am
by tacolover101
TorqueSteer wrote:Just to update this thread....

I used a cmd line tool called SnmpWalk to query the device from my Windows machine, it timed out even after setting the timeout time to 60 seconds. i'm thinking that this is more and more a problem with the device or firewall / router that the traffice needs to pass through.

Thank you for everyone's help so far!
some SNMP settings are restrictive to only x network - it may be worth contacting your networking team / server team to see what settings are in play currently.

Re: Ports not detected on switch using Network switch wizzar

Posted: Tue Jul 18, 2017 3:47 pm
by ssax
Please run this command from your XI server against the remote switch and post the full output:

Code: Select all

nmap -p 161 -sU -Pn --reason 10.69.132.1
Thank you

Re: Ports not detected on switch using Network switch wizzar

Posted: Wed Jul 19, 2017 4:50 am
by TorqueSteer
ssax wrote:Please run this command from your XI server against the remote switch and post the full output:

Code: Select all

nmap -p 161 -sU -Pn --reason 10.69.132.1
Thank you
Looks like it's getting no response from the device

Re: Ports not detected on switch using Network switch wizzar

Posted: Wed Jul 19, 2017 9:36 am
by ssax
It's likely blocked by a filter/firewall/acl somewhere in the path, have your network team investigate to see where the issue is. Also, please validate with them that SNMP is enabled on the device and which version of SNMP (v1, v2c, v3) it's configured to use AND it's SNMP community just to make sure.

You can run the snmpwalk command to get to the basic level of communication for testing:

Code: Select all

snmpwalk -v 2c -c 'HP-SW-Public' 10.69.132.1:161
Thank you

Re: Ports not detected on switch using Network switch wizzar

Posted: Thu Jul 20, 2017 6:02 am
by TorqueSteer
ssax wrote:It's likely blocked by a filter/firewall/acl somewhere in the path, have your network team investigate to see where the issue is. Also, please validate with them that SNMP is enabled on the device and which version of SNMP (v1, v2c, v3) it's configured to use AND it's SNMP community just to make sure.

You can run the snmpwalk command to get to the basic level of communication for testing:

Code: Select all

snmpwalk -v 2c -c 'HP-SW-Public' 10.69.132.1:161
Thank you
I am the network team..amongst other things haha! I set the switch up, so it's not a config issue there as it's identical to other's that are monitored fine. The only difference with this one is it is at a different location that we are connected to via IPVPN. We have other external sites that are monitored fine, but like you said, there is a firewall etc between us and this switch that is halting the snmp traffic.

Thank you for everyones help, I'm pretty sure that this is not a Nagios issue.

Re: Ports not detected on switch using Network switch wizzar

Posted: Thu Jul 20, 2017 3:18 pm
by ssax
Many hats, the IT way! Ok, yeah, no problem, I agree that it sounds like an external issue, are we okay to mark this as resolved and lock the topic?