All network devices : Port Status Warning

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tonnag
Posts: 24
Joined: Thu Sep 06, 2018 2:27 am

All network devices : Port Status Warning

Post by tonnag »

Hi, Since the keep announcing in Nagios Core, I decided to try Nagios XI (Nagios XI 2024R1.3.2)

My main objective is network monitoring, and there I ran directly into problems. On all network devices, wile bandwidth is nicely monitored and graphed, the port status for each port on each device is in Warning. So the services for any network device looks like this:

Code: Select all

Ping			Ok
Port 1 Bandwidth	Ok
Port 1 Status		Warning		WARNING: SNMP error: No response from remote host "x.x.x.x"
Port 2 Bandwidth	Ok
Port 2 Status		Warning		WARNING: SNMP error: No response from remote host "x.x.x.x"
Port 3 Bandwidth	Ok
Port 3 Status		Warning		WARNING: SNMP error: No response from remote host "x.x.x.x"
(where x.x.x.x is the actual ip ;) )
Simple as it seems I still deleted all devices and added two (A mikrotik router and a HP switch) following the instruction video, no difference.
What did I miss ?
cnorell
Developer
Posts: 141
Joined: Mon Nov 27, 2017 3:08 pm

Re: All network devices : Port Status Warning

Post by cnorell »

tonnag,

If I was to take a guess, you likely have one of the following issues:

- The SNMP service isn't running on the hosts
- The SNMP traffic is blocked (perhaps SNMP is disabled)
- Your SNMP credentials (e.g. community string) are incorrect

Have you considered all of the above?

Best Regards,

Cory Norell
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
tonnag
Posts: 24
Joined: Thu Sep 06, 2018 2:27 am

Re: All network devices : Port Status Warning

Post by tonnag »

Hi Cory,

Yes, I considered them, but dismissed them quickly.
The configuration wizzard (where I entered the community string) discovered all the interfaces, and the bandwidth is being graphed perfectly for the interfaces. It's just the status that's giving the "WARNING: SNMP error: No response from remote host"
gwesterman
Posts: 268
Joined: Wed Aug 23, 2023 11:29 am

Re: All network devices : Port Status Warning

Post by gwesterman »

Hi @tonnag,

Can you try running the incorrect commands from the CLI and let us know what it returns?

You can find the command the particular service is running in the CCM.

Thank you!
tonnag
Posts: 24
Joined: Thu Sep 06, 2018 2:27 am

Re: All network devices : Port Status Warning

Post by tonnag »

Hi @gwesterman

That was a pretty good idea!

The "Run Check Command" failed in the GUI and also at the command prompt.
It took a minute but I found out why .....My snmp community string ends with an exclamation mark (!) which is missing in the command.
Next I have removed it from one device, which then went all green in XI.

So I found a bug in XI then, for this is working in my nagios core. I have not yet tested if the exclamation mark is the problem or the fact it's at the end of the community string.

Thanks!
cnorell
Developer
Posts: 141
Joined: Mon Nov 27, 2017 3:08 pm

Re: All network devices : Port Status Warning

Post by cnorell »

tonnag,

Glad to hear you got this worked out. I'll create an issue internally to look a bit deeper into a potential bug. Marking this thread as resolved and locking it.

Best Regards,

Cory Norell
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked