[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagios-users
Subject:    [Nagios-users] use the check_dummy
From:       "Marco Borsani" <m.borsani () it ! net>
Date:       2012-10-25 14:06:11
Message-ID: 007701cdb2b9$e9797f00$bc6c7d00$ () it ! net
[Download RAW message or body]

This is a multipart message in MIME format.

[Attachment #2 (multipart/alternative)]
This is a multipart message in MIME format.


Hi

 

I have a distributed configuration between the Nagios secondary server
(server B) and the Nagios main server (server A).

 

In the server A I configured many passive services that are active in server
B, using the command check_dummy.

I use also freshness_threshold = 300 , so after 5 minutes I load the new
configuration , all passive services  are in OK state.

I don't want to see all the passive service in PENDING state until receive
(when ?) the first data.

To send information from server B  to server A I use event_handler and
send_nsca.

 

My problem is that if I receive an error from server B, the check_dummy will
override it after 5 minutes . how can I solve it ?

 

Event_handler send data only when state not are OK

 

Regards

Marco

 

 


[Attachment #5 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type \
content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.StileMessaggioDiPostaElettronica17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=IT link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal><span lang=EN-GB>Hi<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
lang=EN-GB>I have a distributed configuration between the Nagios secondary server \
(server B) and the Nagios main server (server A).<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
lang=EN-GB>In the server A I configured many passive services that are active in \
server B, using the command check_dummy.<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-GB>I use also freshness_threshold = 300 , so after 5 \
minutes I load the new configuration , all passive services &nbsp;are in OK \
state.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>I don&#8217;t want to \
see all the passive service in PENDING state until receive (when ?) the first \
data.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>To send information \
from server B&nbsp; to server A I use event_handler and \
send_nsca.<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span lang=EN-GB>My problem \
is that if I receive an error from server B, the check_dummy will override it after 5 \
minutes &#8230; how can I solve it ?<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
lang=EN-GB>Event_handler send data only when state not are OK<o:p></o:p></span></p><p \
class=MsoNormal><span lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
lang=EN-GB>Regards<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-GB>Marco<o:p></o:p></span></p><p class=MsoNormal><span \
lang=EN-GB><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span \
lang=EN-GB><o:p>&nbsp;</o:p></span></p></div></body></html>



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct

_______________________________________________
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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic