On 07/07/07, Rogelio Bastardo <[EMAIL PROTECTED]> wrote: > I have approximately 30 mail servers, and rather than writing a separate > "define service" for each one in my cfg file, is there a way that I can add > them all to a group and then just check that group?
Yes. The documentation is at http://nagios.sourceforge.net/docs/2_0/templatetricks.html You don't have to define a group - instead you can list the hosts in your service definition like so: host_name mail01,mail02,mail03,mail04 or you can use wildcards or regular expressions. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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