[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     Re: [snips-users] hostmon not rrd'ing

On Fri, Jun 17, 2005 at 10:25:02PM -0300, Daniel MacKay wrote:
> 
> >Do you have any other perl monitors that are working with RRD? (apcmon,
> >armon, bgpmon, bpmon, ciscomon, snmpmon, sqlmon, syslogon, upsmon...
> >just to name a few).
> 
> I have RRD from:
>  - ippingmon
>  - portmon
>  - radiusmon
>  - ntpmon
>
> but nothing from hostmon (which is of course the most useful thing.)

Yeah, those are all normal monitors rather than Perl -- I was just
looking for something that should be calling the RRD sections of
SNIPS.pm and hoping that it was either consistent or non-consistent
behaviour... just another datapoint, is all.

> There's no mention of RRD in any of the run/*error files.
> 
> Does it matter which version of RRDtool I'm using?  I couldn't get 
> RRDTool 1.2 whatever to compile on Linux so I installed 1.0.45.

Hmmm.. ok, I don't think there are any version-specific hooks anywhere
(and were there, you'd most likely see *something* spewing errors some
place, I think).

> >You can try toggling debug to 2 or more in hostmon
> 
> Did that - $SNIPS::dorrd is indeed getting set.
> 
> I can't figure out where it gets used, though.  Where is it that the 
> data actually moves the data from hostmon into rrd?
> 
> Any suggestions would be helpful.  thanks. -dan

Yeah, looking at the code, about the only thing I see in SNIPS.pm just
sets dorrd, ties it in to SNIPS::globals but then doesn't seem to do
anything else with it that I can spot.

On Fri, Jun 17, 2005 at 10:43:06PM -0300, Daniel MacKay wrote:
> Another fact - the hostmon variables all show up properly in the 
> "Info" view of SnipsView, and they alarm correctly. So I know that 
> hostmon is /getting/ them - it's just not stuffing them into RRD.

I'm guess that this is just a piece of unfinished code that, for some
reason, no one else has mentioned.  Perhaps Vikas will speak up on
this... *smile*

Russell


-- 
Russell M. Van Tassell
russell at loosenut com

"A real person has two reasons for doing anything ... a good reason and
the real reason."

Zyrion Traverse Network Monitoring & Network Management Software