Monitoring CPU/Memory/IO in Switch

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
axvers
Posts: 65
Joined: Tue Jan 08, 2019 8:31 pm

Monitoring CPU/Memory/IO in Switch

Post by axvers »

Hi Support,

Some client asked us if they can check the cpu, memory, and disk performance on a switch.

And I found that the default "Network Switch/Router" wizard seems showed without those info but Port Status and Bandwidth.

Is there a recommended plugin to use for getting those info?

Otherwise, we need to setup a snmpget command to get them from specific oid....
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring CPU/Memory/IO in Switch

Post by lmiltchev »

If you knew the OID, you could use the SNMP or SNMP Walk wizard in Nagios XI to achieve your goal.
Be sure to check out our Knowledgebase for helpful articles and solutions!
axvers
Posts: 65
Joined: Tue Jan 08, 2019 8:31 pm

Re: Monitoring CPU/Memory/IO in Switch

Post by axvers »

Yes, I know.

Wanted to check that if you have any plugin or command which is already contained some specific OIDs for those usage.

There are many type of switch/routers,
I can get some cisco's value via some OIDs, but other devices can't be done by same OID; it returned nothing.

The problem is that I don't know what is its type for any given ip so far.

And the cpu/memory items for switch/routers are not included in the wizard.

So, want to ask if you have any solutions for this?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Monitoring CPU/Memory/IO in Switch

Post by lmiltchev »

You can try some of the 3rd party plugins on the Nagios Exchange. Once you find one that is working fine from the command line, you can add a new command and a service to Nagios XI by following the steps, outlined in the document below:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Here's two of the plugins I found on the Nagios Exchange for monitoring CPU and Memory on Cisco switches:

https://exchange.nagios.org/directory/P ... ad/details

https://exchange.nagios.org/directory/P ... pl/details

Here's an example of the output from both plugins:

Code: Select all

./check_snmp_load.pl -H 192.168.x.x -C public -2 -p 161 -w 40,50,60 -c 70,80,90 -T cisco
CPU : 24 27 30 : OK

Code: Select all

./check_snmp_cisco_memutil.pl -H 192.168.x.x -C public -w 80 -c 90 -f
Status is OK - MEMORY: total: 179.82 MB, used: 46.76 MB (26%), free: 133.06 MB | MemTotal=179.82, MemUsed=46.76, MemFree=133.06
There may be other (better) plugins on the Nagios Exchange. I tried only these two. They worked "out of the box" - I didn't need to know the OIDs or do bunch of research to find them.

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
axvers
Posts: 65
Joined: Tue Jan 08, 2019 8:31 pm

Re: Monitoring CPU/Memory/IO in Switch

Post by axvers »

Sorry for missing out replying here.

I found that the commands Nagios XI provided originally (last month, sorry), do have some parameters can use.

For example, the "check_load.pl" has a Cisco parameter (same to your reply post). It stored some general CPU OIDs in its code.

If there are other irregular CPU/Memory OIDs occurred in the future, I will check plugins on the exchange you sited.

Please lock this, Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Monitoring CPU/Memory/IO in Switch

Post by scottwilkerson »

axvers wrote:Sorry for missing out replying here.

I found that the commands Nagios XI provided originally (last month, sorry), do have some parameters can use.

For example, the "check_load.pl" has a Cisco parameter (same to your reply post). It stored some general CPU OIDs in its code.

If there are other irregular CPU/Memory OIDs occurred in the future, I will check plugins on the exchange you sited.

Please lock this, Thanks!
Great!

Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked