"Stuffle, David" wrote on 10/05/2005 02:15:48:
"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
If you post the script and message content either here or directly to me,
I'd be happy to take a look :-)
Andy.
#####################################################################################
This email is intended for the person to whom it is addressed
only. If you are not the intended recipient, do not read, copy
or use the contents in any way. The opinions expressed may not
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').
While every effort has been made to verify the information
contained herein, ZESPRI does not make any representations
as to the accuracy of the information or to the performance
of any data, information or the products mentioned herein.
ZESPRI will not accept liability for any losses, damage or
consequence, however, resulting directly or indirectly from
the use of this e-mail/attachments.
#####################################################################################