i have 2 output values of my script and NAN in the graph

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
psynomad
Posts: 4
Joined: Mon Apr 14, 2008 7:30 am

i have 2 output values of my script and NAN in the graph

Post by psynomad »

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 :-?
Attachments
snapshot4.png
snapshot4.png (147.12 KiB) Viewed 1111 times
snapshot5.png
snapshot5.png (148.45 KiB) Viewed 1111 times
snapshot6.png
snapshot6.png (126.61 KiB) Viewed 1111 times
my graph with one output of the script
my graph with one output of the script
graph_image.png (18.64 KiB) Viewed 1125 times
psynomad
Posts: 4
Joined: Mon Apr 14, 2008 7:30 am

Post by psynomad »

No idea please any help i'm really bloked :cry:
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please follow standard debugging procedure given at the 2nd link of my sig (login to find the sig!)
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests