Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Hi gary
I have run the following command and there is no error !!!
in my local.cfg I have the following three entries
define service{
use local-service ; Name of service template to use
host_name localhost
service_description Root Partition
#check_command check_local_disk!50%!40%!/
check_command check_local_disk!20%!10%!/
contact_groups sms
}
when I set the root partition warning my contact group sms is able to received the trigger but its not able to reach to the serviceescalation definition.
Can you post your local-service template? Root Partition is using local-service not generic-service.
To speed things up maybe try using lower notification/check intervals (I use 1 minute for testing).
Are you receiving all notifications to the group sms? Or where does the 3rd/4th/5th notification go?
I've just copy and pasted your local.cfg to a new file local.cfg on my system. I added it to nagios.cfg and changed the contact_groups to some new test ones I created.
I changed all notification and check_intervals to 1 minute and everything worked fine (both escalations were initiated).
So there's definitely nothing wrong with the configurations you have just posted, the problem lies elsewhere.
gshergill wrote:Just to check, you mentioned before that the local.cfg is where you have defined the escalations? Have you added this .cfg to your nagios.cfg?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.