If I wish to monitor "hardware-health" what would be the command line for CCM Commands.
This is what I entered for CPU but I am confused as to what the ARGS 3 and 4 should read for hardware-health and on the service management what would I enter in the ARG 3 and ARG 4 Boxes ?
It's actually a perl script, so just save it as a .pl file. I believe I copied all of the text into notepad++ and then saved as check_cisco_ips.pl when I did it. Then you can just add it to Nagios by going to Admin > Manage components > upload component.
snapon_admin wrote:It's actually a perl script, so just save it as a .pl file. I believe I copied all of the text into notepad++ and then saved as check_cisco_ips.pl when I did it. Then you can just add it to Nagios by going to Admin > Manage components > upload component.
Thanks Snapon!!
Can you please supply me your command line and what you entered for the ARGS for the service ?
The only threshold I can think of would be for temperature which I'm not eve nsure if you can specify that. By default it looks like the alert threshold is set for 60, which is a good alert threshold if that's Celsius. Everything else it monitors doesn't really require a threshold because it's stuff like PSUs being on or off, fans spinning or not, etc.
The only threshold I can think of would be for temperature which I'm not eve nsure if you can specify that. By default it looks like the alert threshold is set for 60, which is a good alert threshold if that's Celsius. Everything else it monitors doesn't really require a threshold because it's stuff like PSUs being on or off, fans spinning or not, etc.
OK, so without any threshold info, say if a fan or psu failed, how would this be shown in nagios ?.....Would it bring up some sort of a red alarm indication ?
Yep, shows as a critical alert and will output something like "PSU 1 is bad" or "Fan 2 is bad" or something along those lines. I don't remember the exact syntax, but that's the gist. We got an alert that one of our fans failed on a core switch at one of our locations a few months ago using this plugin.
snapon_admin wrote:Yep, shows as a critical alert and will output something like "PSU 1 is bad" or "Fan 2 is bad" or something along those lines. I don't remember the exact syntax, but that's the gist. We got an alert that one of our fans failed on a core switch at one of our locations a few months ago using this plugin.
Great....that's exactly what I need.....Thank you.
Is there any way to permanently fix the situation where I have to run this command when I use the Test Command button under services ?