> > "Is it possible for a single service instance to send an e-mail > on a WARNING condition and a page plus e-mail on a CRITICAL condition?" > > Would this require two separate service instances with different > "notification_options"? I'd really like to avoid having two service > definitions for each service I want variable notifications for.
Break your notification command out from miscommands.cfg into a script and do the logic there. if [ $SERVICESTATE = "WARNING" ] then printf .... | mailx -s ... $CONTACTEMAIL elif [ $SERVICESTATE = "CRITICAL " ] then printf .... | mailx -s ... $CONTACTEPAGER else ... fi You'll have to write the logic for what service checks you do this on. I put my notifications scripts and do all kinds of decisions there, like dropping notifications for messages with certain output, like "service is stale" amond others. -- - Kyle --------------------------------------------- [EMAIL PROTECTED] http://www.panix.com/~kylet --------------------------------------------- _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null