Error returned by cmd.php

Addons for Cacti and discussion about those addons

Moderators: Moderators, Developers

Post Reply
Author
Message
Guest

Error returned by cmd.php

#1 Post by Guest » Fri Mar 19, 2004 6:30 pm

Hi,

I wrote a script (an enhanced version of the ping.pl gived with cacti)
Everything was allright and worked fine
I decided to add one field (the number of loss packet)
So I Add this new field in the script

Then I change the data input methods, and then the data templates

Then I created a new graph template and finally, a new graph

Except the graph and its template, I changed directly the data input methods and the data template
Ouf!!

But, it's not working anymore!!!
I have this error:

Code: Select all

update /var/www/localhost/htdocs/admin/cacti/rra/www_google_com_enhanced_ping_avg_17.rrd --template enhanced_ping_min:enhanced_ping_avg:enhanced_ping_max:enhanced_ping_mdev:percent_loss N:70.922:95.136:137.974:26.108:0
ERROR: Template contains more DS definitions than RRD
I don't understand What I did wrong.

If you could explain me...

(I'm using version 0.8.4)

User avatar
dieter
Cacti User
Posts: 164
Joined: Fri Feb 20, 2004 3:08 pm

#2 Post by dieter » Fri Mar 19, 2004 7:44 pm

you first have to delete the old RRD from your harddrive because it misses 1 field that you just created

Post Reply