[collectd] Collecd ping syslog
mdecamps at mcgrawcom.net
Wed Jul 24 14:28:55 CEST 2013
Thank you Marc that actually helps!! I'm strictly using Collectd as an agent with a cloud configuration controller to leverage the ARM micro architecture boards (cubieboards, globalscale mirabox) as remote sensors that can give IPSLA like functionality out of the gates. I am using Check_mk from OMD along with its log agent / analyzer component to generate alerts in a CMS. When the remote sensors are either unreachable or a certain log message is seen in its local syslog that is pulled into OMD I can generate notifications for those particular assets and the remote or local devices they target.
Tel: 212.849.2340 | Cell: 917.596.2636 | 24hr Support 888.543.2000
Take a loot at our e-brochure: http://www.mcgrawcom.net/ebrochure
Check out our e-brochure to see how we are redefining Hosted VoIP with InPacket, McGraw’s Unified Communications Platform! http://www.mcgrawcom.net/inpacket/demo/
This email and the attached documents are provided by McGraw Communications solely for your review. This email and the attached documents are confidential and are the property of McGraw Communications. This email is not to be forwarded, copied or otherwise disseminated without the express written consent of McGraw Communications.
Any Proposal contained in this e-mail is provided by McGraw Communications solely for your review. This proposal is confidential and is the property of McGraw Communications and shall not be copied or otherwise disseminated without the express written consent of McGraw Communications
From: Marc Fournier [mailto:marc.fournier at camptocamp.com]
Sent: Wednesday, July 24, 2013 4:01 AM
To: DeCamps, Miguel
Cc: collectd at verplant.org
Subject: Re: [collectd] Collecd ping syslog
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