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

 

     Re: New Nocol install weird messages

These 'unknown' variables are being monitored by hostmon-client. The error
about 'unknown variables' is only listed once to avoid creating a large
file.

I dont want to put it between 'if $debug' because you need a warning
message (better safe than sorry). You could uncomment the rest of the
variables in the config file and set high variables, or ignore the warning
message.  The portion of the hostmon code that does this is:

    if ( !$isknownvar{$dvname} ) {
       # print out error message only ONCE
      if (!$isunknownvar{$dvname}) {
        print STDERR "do_line: ERROR unknown variable in data ..." ;
        ++$isunknownvar{$dvname} ;
      }


   -vikas


> > Looks like hostmon got started with a null config file or something.
> >
>         Null?  No.  Severely stripped down, yes.
> 
> Pollinterval    5
> Load5           *       30 50 70
> DFspace_%used   a.ttsg.com      30 50 70 /$
> DFspace_%used   a.ttsg.com      80 90 95 /usr$
> DFspace_%used   a.ttsg.com      50 70 90 /var$
> DFspace_%used   a.ttsg.com      25 50 75 /tmp$
> DFspace_%used   a.ttsg.com      85 90 95 /disk$
> DFspace_%used   a.ttsg.com      50 75 90 /usr/home/wwwcust1$
> DFspace_%used   b.ttsg.com      30 50 70 /$
> DFspace_%used   b.ttsg.com      80 90 95 /usr$
> DFspace_%used   b.ttsg.com      50 70 90 /var$
> DFspace_%used   b.ttsg.com      25 50 75 /tmp$
> DFspace_%used   b.ttsg.com      85 90 95 /disk$
> DFspace_%used   b.ttsg.com      50 75 90 /usr/home/wwwcust1$
> 
> STARTHOSTS
> a.ttsg.com
> b.ttsg.com
> 
>         So I don't have any of those variables there. Is there something
> I can do to stop it?  Uncomment the rest and set the levels so high it
> won't matter?