hi,
i use cacti for graphing the number of messagesent of an application
i extract the number of messages from the log file of the application with a shell script that i write with one output of the script i have a good graph in cacti but whene i use 2 output of my script i have NaN in the graph the output of the script is like this :
echo "nbre1:$var nbre2:$varim"
and i define in the data input méthod 2 output fields nbre1 and nbre2
and 2 data source
and in the graph i define my graph item inputs and 2 items
anyway i have NAN in the graph whene i modify my script and i come back to 1 output
it's work and i have the graph like in the attachement
i don't now what's wrong whene i have two outpout in the script and how can i debug this ????,,,,,
thanks for any help
sorry for my english
i have 2 output values of my script and NAN in the graph
Moderators: Developers, Moderators
i have 2 output values of my script and NAN in the graph
- Attachments
-
- snapshot4.png (147.12 KiB) Viewed 1111 times
-
- snapshot5.png (148.45 KiB) Viewed 1111 times
-
- snapshot6.png (126.61 KiB) Viewed 1111 times
-
- my graph with one output of the script
- graph_image.png (18.64 KiB) Viewed 1125 times
Who is online
Users browsing this forum: No registered users and 0 guests