Switch monitor using XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Switch monitor using XI

Post by lafargeuser »

Thanks. abrist.

below is the output.

WARNING! CPU usage: 5s - 22% exceeds threshold of 10%, 1m - 22% exceeds threshold of 10%, 5m - 22% exceeds threshold of 10%.

Do we have plugin for CPU Mem utilization ?
I tried on google, what I found is number of plugins & not sure which one to use ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Switch monitor using XI

Post by abrist »

lafargeuser wrote: WARNING! CPU usage: 5s - 22% exceeds threshold of 10%, 1m - 22% exceeds threshold of 10%, 5m - 22% exceeds threshold of 10%.
Looks like it is working just fine now :)
lafargeuser wrote: Do we have plugin for CPU Mem utilization ?
I tried on google, what I found is number of plugins & not sure which one to use ?
Could you clarify? Are you looking for a generic memory utilization check plugin for the router, or something else?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Switch monitor using XI

Post by lafargeuser »

sorry.Typo.

Yes, I am looking generic memory utilization of cisco switch.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Switch monitor using XI

Post by abrist »

There are a number of cisco plugins relating to memory usage on teh exchange, see:
http://exchange.nagios.org/index.php?op ... isco%20mem

Alternatively, you could monitor the same metrics through snmp, though that will take a bit more time to set up.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Switch monitor using XI

Post by lafargeuser »

Thanks.

Installed and configured the plugin. But Mem utilization is showing CRITICAL, even after changing values.

pasted output below :-


#./check_cisco_mem.pl -H IP -C cisco -warn 10 -crit 20
CRITICAL! Memory usage 56.47%. | 'memory usage'=56.47%

Here, pls. make me understand threshold part, how warning or critical alerts are triggred in switch CPU & MEM case.
-warn 10 -crit 20 (does this mean it will triggered an warning alert if CPU or MEM consume 10 % & vice versa. )
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Switch monitor using XI

Post by abrist »

Some plugin thresholds for metrics like memory treat the warning and critical levels as "remaining" while others check against "allocated". Try 80 and 90 respectively for your thresholds:

Code: Select all

./check_cisco_mem.pl -H IP -C cisco -warn 80 -crit 90
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: Switch monitor using XI

Post by lafargeuser »

Thanks. abrist.
it worked. :)
Locked