Re: [Nagios-users] clustered solution, how to edit configs?

2010-06-04 Thread Andreas Ericsson
On 06/03/2010 03:52 PM, Cory Coager wrote:
 I'm planning on creating a nagios cluster using the following guidelines
 from http://nagios.sourceforge.net/docs/1_0/distributed.html .  I was
 thinking of using multiple nagios agents that use a submit_check_result
 script to send the results to two frontends using nsca.  Here is where
 I'm stuck though.
 
 I want to have the same configs on every server but have random checks
 enabled/disabled so the load is distributed.  I also want to edit all
 the configs from one location in one directory.  I don't want to search
 for service checks in multiple directories, e.g., where is service
 check23?  Is it in folder2 or folder13?
 
 How can I accomplish this?  Does someone have a solution already or do I
 need to do something creative?


There is DNX and there is Merlin. Both will sort of do what you want. If
you use merlin, make sure you get it directly from git and use the 'next'
branch.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
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@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


[Nagios-users] Is this a nagios configuration issue?

2010-06-04 Thread Chris Lee
Dear All,

I am using Nagios Core Version 3.2.1 on Fedora 12. I found the
following message that in the system log file (/var/log/messages):

Jun  2 12:10:14 fda12 setroubleshoot: SELinux is preventing /bin/ping
access to a leaked
/usr/local/nagios/var/spool/checkresults/check43t3S5 file descriptor.
For complete SELinux messages. run sealert -l
5af60ca2-178e-40da-ac17-5b6fbb72db15

Is there anyone who has encountered this kind of messages before? I am
wondering if this is the nagios configuration issue or it is the
Fedora configuration issue.

Regards,

-- Chris

--
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@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


[Nagios-users] Nagios not sending email notifications..

2010-06-04 Thread ravishankar.gundlapali
Hi ,

 

I am using Nagios 3.0.6 on Linux with Fedora installed on it.

 

My Nagios suddenly stopped sending email notifications .When I tried
sending manually using the command 'echo subject | mail -s message
contactem...@whatever ' I am not receiving any email.

 

Please someone guide me on this...

 

Here is my service template.

 

# Generic service definition template - This is NOT a real service, just
a template!

 

define service{

namegeneric-service ; The
'name' of this service template

active_checks_enabled   1   ; Active
service checks are enabled

passive_checks_enabled  1   ;
Passive service checks are enabled/accepted

parallelize_check   1   ; Active
service checks should be parallelized (disabling this can lead to major
performance problems)

obsess_over_service 1   ; We
should obsess over this service (if necessary)

check_freshness 0   ;
Default is to NOT check service 'freshness'

notifications_enabled   1   ;
Service notifications are enabled

event_handler_enabled   1   ;
Service event handler is enabled

flap_detection_enabled  1   ; Flap
detection is enabled

failure_prediction_enabled  1   ;
Failure prediction is enabled

process_perf_data   1   ;
Process performance data

retain_status_information   1   ; Retain
status information across program restarts

retain_nonstatus_information1   ; Retain
non-status information across program restarts

is_volatile 0   ; The
service is not volatile

check_period24x7; The
service can be checked at any time of the day

max_check_attempts  2   ;
Re-check the service up to 3 times in order to determine its final
(hard) state

normal_check_interval   5   ; Check
the service every 10 minutes under normal conditions

retry_check_interval1   ;
Re-check the service every two minutes until a hard state can be
determined

#contact_groups
stw_win_server,stw_network_devices,stw_app_server   ; Notifications
get sent out to everyone in the 'admins' group

notification_optionsw,u,c   ; Send
notifications about warning, unknown, critical, and recovery events

notification_interval   30  ;
Re-notify about service problems every hour

notification_period 24x7;
Notifications can be sent out at any time

register0   ; DONT
REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!

}

 

Thanks  Regards,

Ravi G

--
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@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

Re: [Nagios-users] Nagios not sending email notifications..

2010-06-04 Thread asam30
Nagios uses sendmail MTA to send emails out, please check your sendmail
configuration and troubleshoot it. check to see if any emails in the queue

On Sat, Jun 5, 2010 at 5:52 AM, ravishankar.gundlap...@wipro.com wrote:

  Hi ,



 I am using Nagios 3.0.6 on Linux with Fedora installed on it.



 My Nagios suddenly stopped sending email notifications .When I tried sending 
 manually using the command ‘echo subject | mail -s message 
 contactem...@whatever ‘ I am not receiving any email.



 Please someone guide me on this…



 Here is my service template.



 # Generic service definition template - This is NOT a real service, just a
 template!



 define service{

 namegeneric-service ; The
 'name' of this service template

 active_checks_enabled   1   ; Active
 service checks are enabled

 passive_checks_enabled  1   ; Passive
 service checks are enabled/accepted

 parallelize_check   1   ; Active
 service checks should be parallelized (disabling this can lead to major
 performance problems)

 obsess_over_service 1   ; We should
 obsess over this service (if necessary)

 check_freshness 0   ; Default
 is to NOT check service 'freshness'

 notifications_enabled   1   ; Service
 notifications are enabled

 event_handler_enabled   1   ; Service
 event handler is enabled

 flap_detection_enabled  1   ; Flap
 detection is enabled

 failure_prediction_enabled  1   ; Failure
 prediction is enabled

 process_perf_data   1   ; Process
 performance data

 retain_status_information   1   ; Retain
 status information across program restarts

 retain_nonstatus_information1   ; Retain
 non-status information across program restarts

 is_volatile 0   ; The
 service is not volatile

 check_period24x7; The
 service can be checked at any time of the day

 max_check_attempts  2   ; Re-check
 the service up to 3 times in order to determine its final (hard) state

 normal_check_interval   5   ; Check the
 service every 10 minutes under normal conditions

 retry_check_interval1   ; Re-check
 the service every two minutes until a hard state can be determined

 #contact_groups
 stw_win_server,stw_network_devices,stw_app_server   ; Notifications get
 sent out to everyone in the 'admins' group

 notification_optionsw,u,c   ; Send
 notifications about warning, unknown, critical, and recovery events

 notification_interval   30  ; Re-notify
 about service problems every hour

 notification_period 24x7;
 Notifications can be sent out at any time

 register0   ; DONT
 REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!

 }



 Thanks  Regards,

 Ravi G


 --
 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@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




-- 
Shankar Asam
--
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@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