Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Mon Jun 17, 2019 11:53 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Graphs shows no values
PostPosted: Fri Nov 03, 2006 11:35 am 
Offline

Joined: Mon Jul 25, 2005 1:56 am
Posts: 10
Location: Germany
Hello

i want to graph the time how longs scheduled Task are running on Windows Servers.
For this i get the Status of running Status via nrpe.
If the Value=1 the Task is running and if the value=0 task is not running.
When i execute the script the value comes correct

./check_scheduled.pl hostname check_hotcopy
scheduled:1

I have created a data template, data input script and the Graph template.

But the graph shows only zero.

The log file looks good i mean!!

11/03/2006 05:15:03 PM - CACTID: Poller[0] Host[6] DS[1429] SCRIPT: /usr/bin/perl /www/htdocs/cacti/scripts/check_scheduled.pl hostname check_hotcopy, output: scheduled:1

11/03/2006 05:15:04 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool-1.2.10/bin/rrdtool update /www
/htdocs/cacti/rra/hostname_scheduled_1429.rrd --template scheduled 1162570502:1


Whats wrong?


Attachments:
graph.gif
graph.gif [ 397.3 KiB | Viewed 6659 times ]
graph_template.gif
graph_template.gif [ 24.92 KiB | Viewed 6659 times ]
data_input.gif
data_input.gif [ 12.94 KiB | Viewed 6659 times ]
data_template.gif
data_template.gif [ 20.66 KiB | Viewed 6659 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 03, 2006 11:50 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
Please change Data Template -> Data Source Type from COUNTER to GAUGE. Delet your graph (not the Graph Template) and re-create as usual. Post your findings
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 03, 2006 1:33 pm 
Offline

Joined: Mon Jul 25, 2005 1:56 am
Posts: 10
Location: Germany
Hi LVM

i has deleted the graph and changed the data source type to GAUGE and recreated the graph but the Graph shows the same result.


Data Source Debug

/usr/local/rrdtool-1.2.10/bin/rrdtool create \
/www/htdocs/cacti/rra/wgw08_wgt_de_coperion_com_scheduled_1429.rrd \
--step 300 \
DS:scheduled:GAUGE:600:0:1000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \

Log File

11/03/2006 07:10:02 PM - CACTID: Poller[0] Host[6] DS[1429] SCRIPT:
/cacti/scripts/check_scheduled.pl hostname check_hotcopy, output: scheduled:1


11/03/2006 07:10:02 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool1.2.10/bin/rrdtoolupdate /www/htdocs/cacti/rra/hostname_scheduled_1429.rrd --template scheduled 1162577402:1


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 03, 2006 3:06 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
Ok, lets do it the hard way. Please see my link on "NaN Debugging" and perform step by step. Let me hear your results
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 06, 2006 2:22 am 
Offline

Joined: Mon Jul 25, 2005 1:56 am
Posts: 10
Location: Germany
Hi LVM

after recreating the datasource the graph shows the right information.

Thanks for help


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group