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

 

     Re: [snips-users] RRDtool not supported problem

On Mon, Jun 07, 2004 at 03:29:55PM +0530, Vikrant Agarwal wrote:
> Hi All,
> 
> I've installed rrdtool-1.0.48 under /usr/local/rrdtool-1.0.48/ directory after that I've installed snips . After installation and configuration when I'm trying to run ippingmon monitor it gives me following error .

The install/compilation tends to depend on it in /usr/local/rrdtool
(which can just be a symlink to /usr/local/rrdtool-1.0.48).  From the
errors you appear to be getting, it would appear as though you did not
successfully compile the monitors against RRD.


-- begin pingmon/main.c line 187 - 200
    if (!strcasecmp(words[0], "RRDTOOL"))
    {
      if (words[1] && !strcasecmp(words[1], "on"))
      {
#ifdef RRDTOOL
        ++dorrd;
        if (debug > 1)
          fprintf(stderr, "readconfig(): RRD enabled\n");
#else
        fprintf(stderr, "%s: RRDtool not supported\n", prognm);
#endif
      }
      continue;
    }
-- end


You need to go back and recompile, properly specifying your root
directory for RRDTool during the Configure.

Hope that helps...
Russell



> ------------
> [root at ns2 init.d]# ./ippingmon.init start
> Starting /usr/local/snips/bin/ippingmon ...done
>  8613 pts/0    S      0:00 /usr/local/snips/bin/ippingmon
> 
> [root at ns2 init.d]# ./ippingmon.init status
> ippingmon is running, pid 8613
>  8613 pts/0    S      0:00 /usr/local/snips/bin/ippingmon
> Process run file (/usr/local/snips/run/ippingmon.error) is:
> 
> Date Mon Jun  7 15:41:23 IST 2004
> ippingmon- Reading global config file /usr/local/snips/etc/snips.conf
> (ippingmon).. locked pid-file, started new process (pid=8613)
> ippingmon: RRDtool not supported
> ------------
> 
> In ippingmon-confg under /usr/local/snips/etc directory I've configured RRDTOOL  ON , but still it gives the same error. What could be reason , do I require to start RRD from somewhere . I'm having very limited understating of RRD .
> 
> Kindly guide.
> 
> Thx & Reg
> Vikrant  

-- 
Russell M. Van Tassell
russell at loosenut com

Don't ever slam the door; you might want to go back.        - Don Herold

Zyrion Traverse Network Monitoring & Network Management Software