Page 1 of 1

All network devices : Port Status Warning

Posted: Mon Dec 16, 2024 5:45 am
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 ?

Re: All network devices : Port Status Warning

Posted: Mon Dec 16, 2024 10:27 am
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

Re: All network devices : Port Status Warning

Posted: Mon Dec 16, 2024 11:13 am
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"

Re: All network devices : Port Status Warning

Posted: Mon Dec 16, 2024 5:54 pm
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!

Re: All network devices : Port Status Warning

Posted: Tue Dec 17, 2024 1:35 am
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!

Re: All network devices : Port Status Warning

Posted: Tue Dec 17, 2024 10:22 am
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