[Nagiosplug-devel] change default "check_by_ssh" output unit
giuseppe furlan
giuseppe.furlan at hotmail.com
Fri Dec 18 13:48:13 CET 2009
Thanks for your explanation.
I'm using this plugin to retrieve 2 values (PendingRequest;HoggingThreadsCount) but the plugin's output consists of 3 values :
time;PendingRequest;HoggingThreadsCount
1261047110;0;0
1261046810;0;0
1261047710;0;0
1261047410;0;0
1261048310;0;0
1261048010;0;0
1261048910;0;0
1261048610;0;0
1261049510;0;0
1261049210;0;0
1261050111;0;0
1261049810;0;0
1261050712;0;0
1261050412;0;0
1261051312;0;0
1261051012;0;0
1261051912;0;0
1261051612;0;0
Is the time column provided by "check_by_ssh" plugin ? If so, can I customize this timestamp value ?
Thanks in advance
Giuseppe
> From: marc at ena.com
> Date: Thu, 17 Dec 2009 09:08:29 -0600
> To: nagiosplug-devel at lists.sourceforge.net
> Subject: Re: [Nagiosplug-devel] change default "check_by_ssh" output unit
>
>
> On Dec 17, 2009, at 7:43 AM, giuseppe furlan wrote:
>
> > hello all,
> > I'm using Nagios with "check_by_ssh" plugin to monitor threads and jdbc connections on my linux machines.
> > Apparently this plug-in catches my integer values (threads count, db connections etc) and convert them to percent values.
> > The result is a Nagios' graph with % unit instead of decimal unit.
> > I've checked the plugin's options but unit option is not implemented.
> >
> > I'm wondering if there is a patch to change the default graph % unit with a decimal unit.
>
> check_by_ssh doesn't do any of this. It has no understanding of units or % or anything. It simply passes the output of the plugin it executes back to nagios as it was received. You either need to look at the output of the plugin that check_by_ssh is executing or the options for whatever you have that's doing the graphing.
>
> --
> Marc
>
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
_________________________________________________________________
View your other email accounts from your Hotmail inbox. Add them now.
http://clk.atdmt.com/UKM/go/186394592/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20091218/0c793604/attachment.html>
More information about the Devel
mailing list