Max counter
Moderators: Developers, Moderators
Max counter
Dear All,
I am a newbie on Cacti.
I am monitoring concurrent call on my sip server and I have a problem to graph ccurrent call over 100 calls.
Under 100 calls , I don't have problem to graph it.
Please let me know what's wrong , data source , grape telmplates , data templates.
I am a newbie on Cacti.
I am monitoring concurrent call on my sip server and I have a problem to graph ccurrent call over 100 calls.
Under 100 calls , I don't have problem to graph it.
Please let me know what's wrong , data source , grape telmplates , data templates.
- Attachments
-
- graph_image.php.png (46.81 KiB) Viewed 2494 times
Re: Max counter
Hi
Have a look at your data template for those graphs. Maybe the max value is set to 100. If you change to 0 this will any you to go up to any number. You can also put a meaningful number in there in case you don't want to get massive spikes.
Cheers
Jay
Have a look at your data template for those graphs. Maybe the max value is set to 100. If you change to 0 this will any you to go up to any number. You can also put a meaningful number in there in case you don't want to get massive spikes.
Cheers
Jay
Cacti Version 0.8.7e, Spine 0.8.7e, Apache 2.2.15, Mysql 5.0.88, PHP 5.2.13, RRDTool 1.2.30, NET-SNMP 5.5
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Quad Core AMD Opteron Processor 2384, 2.70Ghz, 2GB RAM , 1 CPU used
Windows Server 2003 (X64), VMWARE ESX
Plugins: Aggregate 0.75
SYSTEM STATS: Time:12.5140 Method:spine Processes:2 Threads:15 Hosts:400 HostsPerProcess:200 DataSources:2909 RRDsProcessed:1384
Re: Max counter
Dear Jay,
Thanks for your comments , but It looks not working.
Our real data is as below.
SNMPv2-SMI::enterprises.28029.11.3.1.2.1 = INTEGER: 87
SNMPv2-SMI::enterprises.28029.11.3.1.2.2 = INTEGER: 114
On Data Source Item
Minimum Value
Use Per-Data Source Value (Ignore this Value) : No Check box and 0
Maximum Value
Use Per-Data Source Value (Ignore this Value) : No Check box and 0
Data Source Type
Use Per-Data Source Value (Ignore this Value) : No Check box and Gauge
Heartbeat
Use Per-Data Source Value (Ignore this Value) : Checked Box and 600
Thanks for your comments , but It looks not working.
Our real data is as below.
SNMPv2-SMI::enterprises.28029.11.3.1.2.1 = INTEGER: 87
SNMPv2-SMI::enterprises.28029.11.3.1.2.2 = INTEGER: 114
On Data Source Item
Minimum Value
Use Per-Data Source Value (Ignore this Value) : No Check box and 0
Maximum Value
Use Per-Data Source Value (Ignore this Value) : No Check box and 0
Data Source Type
Use Per-Data Source Value (Ignore this Value) : No Check box and Gauge
Heartbeat
Use Per-Data Source Value (Ignore this Value) : Checked Box and 600
Re: Max counter
Dear All,
Please point me out what are wrong on my templates or Data source.
When current calls are under 100 calls . graph has no issue , but when it is over 100 , it can't graph it.
Regards,
Please point me out what are wrong on my templates or Data source.
When current calls are under 100 calls . graph has no issue , but when it is over 100 , it can't graph it.
Regards,
Re: Max counter
First, please check 'Data Source Debug'.
(Devices -> [your device] -> Data Source List -> [data source with this issue])
When you click 'Turn On Data Source Debug Mode', you can see the lines like this:
'0:U' means 'minimum = 0' and 'maximum = not determined'.
But next, if you examined the actual rrd files, I guess that it differs from the above..
If so, try this:
If succeeded, you'll see 'NaN' for max value.
Or if you don't care about losing the past data, you may delete the graph and datasource from GUI, and re-create that.
(Devices -> [your device] -> Data Source List -> [data source with this issue])
When you click 'Turn On Data Source Debug Mode', you can see the lines like this:
Code: Select all
/usr/local/bin/rrdtool create \
/var/www/cacti/rra/xxxxx.rrd \
--step 300 \
DS:Data_Source_Name:GAUGE:600:0:U \
RRA:AVERAGE:0.5:6:19200 \
RRA:AVERAGE:0.5:24:4800 \
...
But next, if you examined the actual rrd files, I guess that it differs from the above..
Code: Select all
# rrdtool info /var/www/cacti/rra/xxxxx.rrd | grep max
ds[Data_Source_Name].max = 1.0000000000e+02
Code: Select all
# rrdtool tune /var/www/cacti/rra/xxxxx.rrd --maximum Data_Source_Name:U
Or if you don't care about losing the past data, you may delete the graph and datasource from GUI, and re-create that.
Re: Max counter
Thanks for your valuable comments.
As you see my graph , I have three graph , Signal_1 & Signal_2 and Total ( S_1+ S_2).
Data Source Debug
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/mera_ts1_snmp_oid_46.rrd \
--step 300 \
DS:Sig1_active_call:GAUGE:600:0:100 \
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:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Data Source Debug
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/mera_ts1_sig2_active_call_72.rrd \
--step 300 \
DS:Sig2_active_call:GAUGE:600:0:U \
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:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
I can't find where is wrong data(100) in Sig1_active_call .
As you see my graph , I have three graph , Signal_1 & Signal_2 and Total ( S_1+ S_2).
Data Source Debug
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/mera_ts1_snmp_oid_46.rrd \
--step 300 \
DS:Sig1_active_call:GAUGE:600:0:100 \
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:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Data Source Debug
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/mera_ts1_sig2_active_call_72.rrd \
--step 300 \
DS:Sig2_active_call:GAUGE:600:0:U \
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:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
I can't find where is wrong data(100) in Sig1_active_call .
- Attachments
-
- graph_image2.php.png (39.71 KiB) Viewed 2449 times
Re: Max counter
Thanks for your vlauable comments.
It is working good now after commanding rrdtool tune.
Thanks for your support.
It is working good now after commanding rrdtool tune.
Thanks for your support.
Who is online
Users browsing this forum: No registered users and 1 guest