I have an odd issue that seems to appear only on my win32 installation of cacti 0.8.5. I have never encountered this issue before on other linux installs that i have made.
I have these scripts that i run with the hostname as the first argument and that will return me some values. These values are stored in a rrd that contains multiple ds entry. The output of the scripts is, for instance, the following:
Code: Select all
RequestBytesInTotal:0 RequestBytesOutTotal:0
RequestBytesInTotal 0 (Not In Use) RequestBytesInTotal Selected
RequestBytesOutTotal 0 (Not In Use) RequestBytesOutTotal Selected
The data template that i associated with this data input method is quite simple. I created two ds in it that are linked to each output fields.
However, when i run the cmd.php, here's what i get:
Code: Select all
C:\Documents and Settings\Administrator>C:\PHP\php.exe e:\cacti\cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.4
MULTI command: e:\cacti\scripts\ASP\Bandwidth.pl websec1, output: RequestBytesInTotal:0 RequestBytesOutTotal:0
MULTI expansion: found fieldid: 115, found rrdname: , value: 0
MULTI expansion: found fieldid: 116, found rrdname: ASPReqBytesOutTotal, value:0
MULTI command: e:\cacti\scripts\ASP\Requests.pl websec1, output: RequestsTimedOut:0 RequestsTotal:0
MULTI expansion: found fieldid: 113, found rrdname: , value: 0
MULTI expansion: found fieldid: 112, found rrdname: asp_req_total, value: 0
update e:\cacti/rra/websec1_aspreqbytesouttotal_109.rrd --template :ASPReqBytesOutTotal N:0:0
ERROR: unknown DS name ''
update e:\cacti/rra/websec1_asp_req_total_108.rrd --template :asp_req_total N:0:0
ERROR: unknown DS name ''
time: 2
The graphs that result from this are pretty interesting, as you can see below (value is always -1.#J).
Has anyone ever encountered this? Anyone has any idea about the potential reason of this issue?
Any help or pointer in the right direction would be immensely appreciated.
Thanks a lot!
Denis