Existing collectd/send_nsca integration

158 views
Skip to first unread message

Mason Turner

unread,
Mar 23, 2012, 10:30:27 AM3/23/12
to devops-t...@googlegroups.com
I am looking for an existing tool to forward collectd metrics to Nagios via an NSCA server. I'm thinking of a collectd output plugin, preferably in Ruby. Is anyone using such a thing? My searches are coming up empty so far.

Thanks for the help.

-- Mason Turner

Marc Fournier

unread,
Mar 24, 2012, 7:05:43 AM3/24/12
to Mason Turner, devops-toolchain
Excerpts from Mason Turner's message of Fri Mar 23 15:30:27 +0100 2012:

> I am looking for an existing tool to forward collectd metrics to Nagios
> via an NSCA server. I'm thinking of a collectd output plugin, preferably
> in Ruby. Is anyone using such a thing? My searches are coming up empty so
> far.

This doesn't exactly answer you question, but one thing it reminds me of:

Collectd has a socket from which you can read values made available by
other registered read-plugins. You could write your own ruby tool to make
use of this facility. See collectd-unixsock(5).

There is also a nagios plugin[¹] shipped with collectd, called
collectd-nagios, which allows you to trigger nagios alerts (or send them
further using NSCA) in case such and such metric reaches such and such
threshold. It uses the socket mentioned above. Combined with collectd's
network plugin, you can imagine all sort of different setups.

Cheers,
Marc

[¹] http://collectd.org/wiki/index.php/Collectd-nagios

Reply all
Reply to author
Forward
0 new messages