On Mar 9, 2008, at 9:12 PM, Nelson Serafica wrote: > I have enabled notification via email. I just notice there are some > missing info in the notification. Here is a sample > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: > Host: BAP Web1 Server > Address: X.X.X.X > State: > > Date/Time: Mon Mar 10 09:49:55 PHT 2008 > > Additional Info: > > ------------------------------------- Nothing follows > > It doesn't indicated the service,state and additional info. I have > checked misscommands.cfg but don't know where to look for the > variables.
Look at the *_notification_commands specified for the contact{}. Look at that command{} definitions for those commands. Verify that you are using $MACROS$ appropriate for your version of nagios. You almost certainly are not. These links are for 2.x, the version you should probably be using... -- http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ 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