Notifications
Lalita Drolia
ldrolia at bea.com
Thu Jul 26 10:02:01 CEST 2007
David,
Thank you for my help. But this will not help me exactly.
I am aware of ths fact that in hosts.cfg I can specify the person I want
the mail to rech to.
I want to achive this task in hostgroups.cfg which I guess is not
possible.I want this particular-person to receive mails for a group of
machines. And I am not checking for any services on these machines. The
person just wants to know if the machines are up/down.
I hope I have made myself clear. Kindly help.
Thanks again,
lalita
-----Original Message-----
From: David Gerbec [mailto:david.gerbec at agenda.si]
Sent: Thursday, July 26, 2007 1:19 PM
To: Lalita Drolia
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Notifications
Hello Lalita!
The easiest way to do this imo, is to create a new contact group with
and add this person to that group. Then add the contact group to the
services / hosts in your hosts / services config files:
define host {
host_name somehost
alias somehost
address 172.xx.xx.xx
use generic-host
check_command check-host-alive
event_handler process-service-perfdata
notification_interval 10
notification_period 24x7
contact_groups regular-support,particular-person
parents riverstone.agenda.si
}
Hope that helps!
Regards,
David Gerbec
Agenda Open Systems
[www.agenda.si]
Lalita Drolia pravi:
>
>
> Hi,
>
> I am using Nagios for past couple of months.
>
> Now I need to do the following configuration-
>
> There is a set of machines for which I want a particular person to be
> notified in case any of those machines goes up or down.
>
> I thought I would make a hostgroup of those machines and put that in
the
> contacts.cfg as a parameter.
>
> But after going through the documentation I realized this is not
possible.
>
>
>
> Can you please tell me the best way to achieve this?
>
> I would really appreciate any help.
>
>
>
> Thanks,
>
> Lalita
>
>
>
>
>
>
>
>
> Notice: This email message, together with any attachments, may contain
> information of BEA Systems, Inc., its subsidiaries and affiliated
> entities, that may be confidential, proprietary, copyrighted and/or
> legally privileged, and is intended solely for the use of the
individual
> or entity named in this message. If you are not the intended
recipient,
> and have received this message in error, please immediately return
this
> by email and then delete it.
>
>
>
------------------------------------------------------------------------
>
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a
browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list