Service notification_options


#1

We have nagios.cfg set up to point to individual .cfg files to load all of our devices into nagios. When I edit a .cfg file and place the notification_options tag into it, then nagios -v gives me errors. They look like this

Error: Notification period ‘w,u,c,r’ specified for service ‘check_nt_memory’ on host ‘teammate’ is not defined anywhere!
Error: Notification period ‘w,u,c,r’ specified for service ‘check_nt_services’ on host ‘teammate’ is not defined anywhere!
Error: Notification period ‘w,u,c,r’ specified for service ‘check_nt_uptime’ on host ‘teammate’ is not defined anywhere!

I know that most people but their services in services.cfg, but we are doing this by individual config files. Any help?


#2

you are defining the time period and not the notification options.

Luca


#3

Interesting… I wonder how I missed that typo. Must be looking at the screen too much today. :wink:

thanks luca