[hobbit] Custom RRDs

Stuffle, David dstuffle at deltafaucet.com
Mon May 9 16:15:48 CEST 2005


> "Stuffle, David" wrote on 07/05/2005 03:35:47:
> 
>> I have created a custom RRD script and it been working
> fine.  Any host
> that
>> sends a "license" column status with a line containing
>> "In Use: x" will
> get
>> the license usage (x) graphed.  But, for some reason it
>> won't work on a
> host
>> I have that has a hostname of "license".  RRD file gets
>> created, but it's all "nan" values.  Could having the
>> exact same hostname, Dataset name,
> and
>> column name cause it not to work?  The only other
>> difference in this host
> is
>> it's a Windows machine instead of Unix, but the status
>> sent to Hobbit is
> the
>> same so I can't see that it would matter.  Thanks!
> 
>> ~~~~~~~~~~~~~~
>> David Stuffle
>> Delta Faucet Company
> 
Andy France wrote:
> It sounds to me like you are picking up the status line
> rather than the data line.
> 
> Check your RRD script again... if you are grepping/awking
> for 
> a line containing license you may need to narrow your
> criteria :-) 
> 
> It may be as simple as adding "tail -1" to make sure you
> only 
> get the last occurence.
> 
> HTH,
> Andy.
> 
> 
I have verified I am getting the right data from the status by redirecting
the script to a file.  Somewhere between grepping the license count and
putting it in the RRD file it gets lost.  I'm figuring it must be because
the hostname is the same as the DS name.  Any other host I plug in to it
works fine.  Thanks 


~~~~~~~~~~~~~~
David Stuffle                       dstuffle at deltafaucet.com
Delta Faucet Company                (317) 571-4301


This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of the company.
Finally, the recipient should check this email and any attachments for the
presence of viruses. The company accepts no liability for any damage caused
by any virus transmitted by this email.



More information about the Xymon mailing list