messages for boss
Ryan C Ash
ryan.c.ash.lu4w at statefarm.com
Fri Jun 25 15:51:56 CEST 2010
Disable notification on all services except those you are interested in.
notifications_enabled = 0
That is a solution...might not be the best.
-----Original Message-----
From: Esteban Torres [mailto:etorres at dap.es]
Sent: Friday, June 25, 2010 7:46 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] messages for boss
I want a user to receive all down of machines, but only receives the
services down I say.
define contact{
contact_name User
alias User1
service_notification_period 24x7
host_notification_period 24x7
service_notification_options c,r
host_notification_options d,r
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email user at domain.com
}
In all this host so:
define host{
host_name Host
alias Host
address 192.168.1.5
check_command check-host-alive
check_interval 5
retry_interval 1
max_check_attempts 3
check_period 24x7
process_perf_data 0
retain_nonstatus_information 0
contact_groups admins-linux
contacts User
notification_interval 300
notification_period 24x7
notification_options d,u,r
}
define service{
hostgroup_name ping-servers
service_description PING
check_command check_ping!100.0,20%!500.0,60%
max_check_attempts 3
check_interval 5
retry_interval 1
check_period 24x7
notification_interval 300
notification_period 24x7
notification_options w,u,c,r
flap_detection_enabled 0
}
define hostgroup {
hostgroup_name ping-servers
alias Pingable servers
members Host
}
But it sends all down from all hosts, but also sends all critical of all
services.
As I have to do?
------------------------------------------------------------------------
------
ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's
Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the
prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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