Random Project

Great to have it…

The plugin worked properly without any errors. Just you need to install several perl files using “YUM or CPAN”.

Upon satisfaction of those prerequisites, you’re good to go.

Worked Commands:
./check_nwc_health –hostname 10.10.0.1 –community nnv007 –mode cpu-load
./check_nwc_health –hostname 10.10.0.1 –community nnv007 –mode uptime
./check_nwc_health –hostname 10.10.0.1 –community nnv007 –mode memory-usage
./check_nwc_health –hostname 10.10.0.1 –community nnv007 –mode count-routes
./check_nwc_health –hostname 10.10.0.1 –community nnv007 –mode list-routes

nnv007 is my SNMP v2 Community Name.

My “command.cfg” file.
=================================
define command{
command_name check_cisco_nexus
command_line $USER1$/check_nwc_health –hostname $HOSTADDRESS$ –community $ARG1$ –mode $ARG2$
}
=================================
My “cisco.cfg” file.

define service{
use network-service
host_name cisco-nexus-1,cisco-nexus-2
service_description Check CPU Load
check_command check_cisco_nexus!nnv007!cpu-load
}
=================================
You can replace cpu-load with,
memory-usage
uptime
count-routes
check-config

& Many More…