Hi Arnau,

did I get that right that you trigger the wgets by check_nrpe? If so maybe the 
check takes too long to contact the nrpe daemon. That would explain why the 
nrpe time out is raised because the wget with its own timeout wasn't even 
executed already.
To debug nrpe issues try setting debug=1 in nrpe.cfg and follow the logs while 
manually initiating your nrpe service check from your monitoring machine.

Cheers
Sven

-----Ursprüngliche Nachricht-----
Von: Arnau Bria [mailto:listsar...@gmail.com] 
Gesendet: Freitag, 24. August 2012 11:09
An: icinga-users@lists.sourceforge.net
Betreff: [icinga-users] nrpe: Socket timeout after 20 seconds -> SERVICE 
NOTIFICATION

Hi all,

this is a nrpe pure question. Not sure if this list is the best one for this 
kind of questions but, as many of you have experience with this, maybe you 
could help me.

The host that runs icinga server is the same host that runs nrpe.

I have some test which do a wget and depending on what they get they return 
exit code. wget uses --timeout option (5s) so, if it takes more than 5 seconds, 
I return an unknown and notification is not enabled for unknowns. NRPE has  a 
timeout of 20 seconds.

But yesterday I got some socket timeout, which makes me think that the problem 
is not with the check (cause it has its own timeout) but with icinga/nrpe pair.

My question, how may I debug nrpe timeouts? A quick google search did not 
return any complete guide on howto do that... anyone could share his/her 
experiences?

Many thanks ind advance,
Cheers,
Arnau

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users

Reply via email to