Re: what to pass when not data?

Steve Shipway <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <7294716191A1E142B80615ED2C633BCA012A0A35@uxcn10-2.UoA.auckland.ac.nz>
Try 'U' for 'Unknown'.  However MRTG is quite clever, and anything that doesnt look like a number will be treated as an 'unknown'.

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]<mailto:[email protected]>
Ph: +64 9 373 7599 ext 86487

________________________________
From: [email protected] [[email protected]] on behalf of Engrie, Marc [[email protected]]
Sent: Tuesday, 10 April 2012 1:57 a.m.
To: [email protected]
Subject: [mrtg] what to pass when not data?

Hello,

What values can be passed to MRTG when ther was no data available?

Eg:
Target[test]: `test.pl host`

In normal circumstances test.pl would pass 2 values   separated by \n.
But wat should the script pass along if it could not get data (from the host)?

NA
NA

Or

UNK
UNK

Or … ?

Marc Engrie
ICT Infrastructure Manager
Tel: +32 2 776 21 63
GSM: +32 476 52 35 45

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.