On Fri, 01 Feb 2008, sachin holikar wrote: > Hi All, > > I have installed Nagios 2.9 on RedHat Linux 4.0 recently. This took a bit of > time to configure. Anyways now I have my webaccess set up. Now the main part > if to add hosts/services to get their alerts. > I have also tested it to receive an Email Alert when a service e.g. HTTP is > not running. > My couple of questions are > > 1. I have seen on a official website that other forms of alerts are also > present like Pager/User Defined action apart from Email Alerts Notifications. > We are interested in these User Defined actions. Is it that we can run a > particular command or Script itself when any such Alert is generated ?? If > yes How do we do it? > I have heard that Nagios uses Macros for all these notifications. If yes can > we modify them ? How ? > > 2. Regading Email Alerts, can we alter the Format of these Email Alerts > Notifications?? How? > > It would be great if some one can atleast guide us in a right direction.
All of these questions are answered in the docs and example configuration files. With Nagios, all notifications are user-defined; Nagios calls whatever you tell it to call for notifications, using the parameters you provide it. There are no built-in notification methods. You cannot modify the available macros, and I'm not sure you'd want to. If you want something not provided by the available macros, there's probably a way to do it. Also, again, all notifications are user-defined, so yes, you can change the format to whatever you'd like. It looks like you've got a lot of questions, but haven't looked at the documentation yet. I'd recommend doing that, then coming back to the list if you still have questions. ------------------------------------------------------------------------- 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 [email protected] 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
