Plugin exists?

RichTea mail at catsnest.co.uk
Fri Dec 21 15:50:19 CET 2012


On Thu, Dec 20, 2012 at 11:20 PM, David Rosenstrauch <darose at darose.net>wrote:

> Hi just wondering if anyone might know of a plugin that does what I'm
> looking for.
>
> The idea is that it would work similar to check_mysql_query, in that it
> checks the numeric value return by a query against warning and critical
> threshold values.  But instead of querying mysql, it would just cat the
> contents of a text file.  I.e., read the first line and first column of
> a text file, parse it as a number, and then compare it against the
> threshold values.
>
> It obviously wouldn't be too hard to write a plugin like this, but I
> figured I'd try to see if one existed in order to not re-invent the wheel.
>
> A search through Nagios Exchange didn't turn anything up.  But I thought
> someone on the list might know of one, or have already written one
> themselves.
>
> Thanks,
>
> DR
>
>
Hi,

I wrote something similar to this a while back, it looks at data pairs in a
text file eg <DataName>:<DataValue>.

It should not be to hard to make it work with csv, you will have to ignore
the shoddy coding though!

http://23.me.uk/scripts/check_jmxview.pl.text
http://23.me.uk/scripts/check_jmxview.server.cfg.text

I might even be able to find the Nagios related config for this if needs be.

Ritchie
--
<-- http://23.me.uk/2 -->
<--Time flies like an arrow; fruit flies like a banana.  -->


>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121221/adf827b2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list