nsclient counters - detect increase / decrease

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Feb 13 01:17:30 CET 2003


Dear Gentlemen,

I am writing to thank you for your letters and say,

On Wed, Feb 12, 2003 at 03:30:23PM -0600, Carroll, Jim P [Contractor] wrote:
> Sounds like you'll want to write a wrapper script.  Write a tempfile to disk
> to save state between invocations.
>

or save the data in an RRD (so you get a programmatic interface to the 
store) _perhaps_ with an RRA that stores the differences or a CF that 
returns them.

There are Perl and Ruby bindings to RRDtool so you can call the RRD 
functions relatively easily (and efficiently).

File are more trouble than they are worth

 . file modes

 . parsing content

 . may not be lockable (concurrent users)


 
> jc
>

Yours sincerely.
 

Yours sincerely.
-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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