[smokeping-users] 500 Error on Master crashes Slaves?

Jason Yates Jason.Yates at betfair.com
Tue Jul 17 12:22:10 CEST 2012


There was a config error on my master smokeping box (as a result of somebody trying to add a menu option without specifying a menu or title param), the error itself was resolved within minutes however during the "outage" the slaves must have polled and as a result logged the following (logs are in reverse time order).

Mon Jul 16 15:30:52 2012 - ERROR: no instance of SmokePing running (pid 30738)?
Mon Jul 16 15:30:52 2012 - server has new config for me ... HUPing the parent
Mon Jul 16 15:30:52 2012 - Sent data to Server and got new config in response.

<FPING is still running here. Logs cut.>

Mon Jul 16 15:30:38 2012 - ERROR: we did not get config from the master. Maybe we are not configured as a slave for any of the tar
gets on the master ?
Mon Jul 16 15:30:38 2012 - WARNING Master said 500 Internal Server Error
Mon Jul 16 15:30:34 2012 - Got HUP signal.
Mon Jul 16 15:30:34 2012 - server has new config for me ... HUPing the parent
Mon Jul 16 15:30:34 2012 - Sent data to Server and got new config in response.

Is it possible to stop the slaves from killing smokeping on the first 500 error? Or have it automatically restart? I'd prefer not to have to go around and restart the slave processes each time a config error is made.

Thanks all.

Jason Yates
Network Engineer

Office: +44 208 834 8493
Mobile: +44 7590 534249
IS Networks : +44 208 834 8573

Betfair. The World's Biggest Betting Community.

Please consider the environment before printing this e-mail.

Betfair Limited | Winslow Road | Hammersmith Embankment | London | W6 9HP. Registered in England and Wales under company number 5140986.

This email (which includes any attachment and any subsequent reply) is sent for and on behalf of one or more operating entities in the Betfair Group, details of which are available here<http://corporate.betfair.com/about-us.aspx>. The information in this e-mail is confidential and may contain legal advice that is subject to legal privilege. As such it is intended only for the named recipient(s). This e-mail may not be disclosed or used by any person other than the addressee, nor may it be copied in any way. If you are not a named recipient please notify the sender immediately and delete any copies of this email. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Any view or opinions presented are solely those of the author and do not necessarily represent those of the Betfair Group. Betfair(r) and the BETFAIR LOGO are registered trade marks of The Sporting Exchange Limited.

In order to protect our email recipients, Betfair Group use SkyScan from 
MessageLabs to scan all Incoming and Outgoing mail for viruses.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20120717/25738e3a/attachment-0001.htm 

More information about the smokeping-users mailing list