Page 2 of 2
Re: Switch monitor using XI
Posted: Tue Jun 18, 2013 7:12 am
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 ?
Re: Switch monitor using XI
Posted: Tue Jun 18, 2013 10:39 am
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?
Re: Switch monitor using XI
Posted: Wed Jun 19, 2013 12:36 am
by lafargeuser
sorry.Typo.
Yes, I am looking generic memory utilization of cisco switch.
Re: Switch monitor using XI
Posted: Wed Jun 19, 2013 11:56 am
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.
Re: Switch monitor using XI
Posted: Thu Jun 20, 2013 5:10 am
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. )
Re: Switch monitor using XI
Posted: Thu Jun 20, 2013 9:53 am
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
Re: Switch monitor using XI
Posted: Fri Jun 21, 2013 12:50 am
by lafargeuser
Thanks. abrist.
it worked.
