I wrote some PHP script ranning into a trouble: if the script has a multiple output cacti cannot draw the graph; but if i split the multi-output script in n sigle-output script i can built different data input, data template, data source into a unique graph template where i collect all the data source.
Actually is not a solution, 'cause i cannot use cicle and it's a real pity.
I'm in wrong?
Za
PHP script + multiple result = trouble
Moderators: Developers, Moderators
-
- Posts: 9
- Joined: Fri Feb 09, 2007 8:20 am
I used it like a data input method; the output was in the correct format
filed1:value1 field2:value2
I tried with the ss_fping script.. but also in that case i cannot watch the graph, but the oddest thing is that I can display, in the log file, the correct result.
U can use correctly a multiple output php script?
Thanks for the quick reply!
Za
filed1:value1 field2:value2
I tried with the ss_fping script.. but also in that case i cannot watch the graph, but the oddest thing is that I can display, in the log file, the correct result.
U can use correctly a multiple output php script?
Thanks for the quick reply!
Za
I too, am having this problem, most notably with the Accuweather php script.
is what I get from a command-line invocation..
is what I get in the log using the wanings filter..
Anybody know what the problem seems to be, or how to fix it?
Cacti 0.8.6j, ubuntu 6.10(edgy), PHP Version 5.1.6
Code: Select all
temperature:36 humidity:85 windgusts:4 windspeed:11 visibility:10 realfeel:41 uvindex:0 pressure:30.00 precip: 0.00
Code: Select all
02/28/2007 10:30:07 PM - CMDPHP: Poller[0] Host[4] DS[32] WARNING: Result from CMD not valid. Partial Result: temperature:36 humid
02/28/2007 10:30:06 PM - CMDPHP: Poller[0] Host[4] DS[27] WARNING: Result from CMD not valid. Partial Result: temperature:36 humid
02/28/2007 10:30:05 PM - CMDPHP: Poller[0] Host[4] DS[26] WARNING: Result from CMD not valid. Partial Result: temperature:36 humid
Anybody know what the problem seems to be, or how to fix it?
Cacti 0.8.6j, ubuntu 6.10(edgy), PHP Version 5.1.6
Who is online
Users browsing this forum: No registered users and 0 guests