jdalrymple wrote:Repeat what ssax said earlier... `rm -Rf /var/tmp/check_nwc_health*` At this point your check result is owned by apache so the nagios user cannot write it. Once the Nagios user is in control all will be good.
Also, let's have a howto on how to NOT do more work than necessary. snapon_admin is right, bulk mod can be great. In this case though having more than 1 service is just silly.
Note that when you are in CCM creating or modifying your service, and you click the "manage hosts" button you have the option to add more than one host. Unfortunately the wizard way of doing things obfuscates some of the better and more elegant ways of service handling. There is no good reason to have more than 1 service defined on your system with all the same object definitions and only a different hostname. Hostname doesn't come into the check directly, it comes via macro $HOSTADDRESS$.
That's my long winded way of saying it's quite likely that you don't need more than 1 service. The only reason to have more than 1 would be if you had some specific different needs from one Cisco device to the other, say like you wanted to alert every 5 minutes for one of them but only every 30 minutes for another.
Make sense?
OK...Great and thank you
Doing a `rm -Rf /var/tmp/check_nwc_health* again appears to have got it going.
OK....on to the services let me see if I can get this.......In order to get this to work, in CCM under Services I have a host named Dart01. So, When I created the Service I called the service name Dart01, Description Dart01 CPU , display name Dart01 CPU. Under Managed hosts I assigned host Dart01.
In my home view this now appears under Dart01 services as dart01 CPU.
So what I need to do is use the CPU service across all my Cisco devices, so that I can monitor all the devices as far as CPU utilisation is concerned, and I have many Cisco devices.
Are you sating to give the service say a global name like router CPUand assign more than one host to it ?
The only orher way I can see of doing this is to create a service with a name for each device which will take forever.