8 years ago
more frequent ping check
Hello,
Would it be possible to allow the option to ping an ip address every 5 seconds? We only need a retention of one month or so.
This would greatly assist us across multiple clients...
We worked out a method for this in Nagios via a plugin uses fping to calculate number of successful pings within successive 5 minute intervals (ping once per second). It relies on the idea that you can have (in Nagios) a plugin launch itself as a daemon and then spit data back into the system via passive results. In the LM world AFAIK, seems like that would be either very hard or impossible, but perhaps it could be arranged to run outside LM and feed results back in via an eventsource. It would be nice to integrate the plugin launcher into LM itself, but it should still be possible to do. I would have to get the host list from LM via the API rather than via a hostgroup, as we do in Nagios. The part that would be missing here I think would be that we were also able to graph packet loss and average RTT for each target within the continuous ping interval. There would be no way to do that with an eventsource, but it could be done with a datasource that reads the data out of a file or REST API. Would work, just a bit clunky.
Regards,
Mark