[collectd] Collecd ping syslog
marc.fournier at camptocamp.com
Wed Jul 24 10:01:01 CEST 2013
Excerpts from DeCamps, Miguel's message of 2013-07-23 22:12:12 +0200:
> Hello everyone
> I am trying to figure out how I can get success pings from the ping
> plugin in the collectd agent to the local syslog. I can clearly see when
> a ping does not succeed a log entry in /var/log/syslog; but upon recovery
> of the pings I do not see a log entry into my syslog file.
> I need this so I can integrate it into my OMD instance for remote agents
> I have distributed. Any help would be greatful!
There isn't any notion of failed/recovered "state". If a ping fails, a log
message is emitted. If it succeeds, nothing is logged. That's all.
I don't know about how OMD works, but would I typically check the values
emitted by the ping plugin (from one of the available write plugins, or
using collectd's threshold system) and raise an alarm if the value is
above/below a certain level.
More information about the collectd