Search found 19 matches

by rr
Mon Jan 29, 2007 5:13 am
Forum: Announcements
Topic: RELEASED: < 1 Minute to 5 Minute Polling Interval Patch
Replies: 169
Views: 264770

Revert 1minutepolling patch from 0.8.6i

I want to revert 1minutepolling patch from 0.8.6i in order to be able to upgrade to 0.8.6j or at least apply security patches for 0.8.6i What do I need to do to insure database integrity? Some data templates by default have an associated RRA with "Hourly (1 minute average)" now.. Do I have...
by rr
Thu Dec 14, 2006 4:36 am
Forum: Help: General
Topic: How do I add datasource custom data parameters to a graph?
Replies: 1
Views: 1040

How do I add datasource custom data parameters to a graph?

I have a datasource where the data input method is a script which
I run with per-datasource parameters. How do I add this parameter
value to the graph title? Just like |host_description| but for custom data?
by rr
Thu Nov 30, 2006 8:37 am
Forum: Help: General
Topic: Division by zero in cacti-0.8.6i/lib/api_poller
Replies: 0
Views: 905

Division by zero in cacti-0.8.6i/lib/api_poller

Hi. Frequently in the cacti webinterface I get the error message: Warning: Division by zero in /usr/local/cacti-0.8.6i/lib/api_poller.php on line 109 For example, when saving device settings, when rebuilding the poller cache etc.. This started occurring out of the blue when adding a new device not d...
by rr
Wed Nov 22, 2006 9:14 am
Forum: Help: General
Topic: Combining statistics
Replies: 1
Views: 951

Create a new graph template Add all 20 datasources as graph items with graph item type COMMENT Add a last graph item, data source none, wanted type, and CDEF function "Total All Data Sources" Beware, that with this method the total is a bit skewed since each of the 20 data sources is poll...
by rr
Wed Nov 22, 2006 8:32 am
Forum: Feature Requests
Topic: Dynamically comparing arbitrary graphs
Replies: 2
Views: 2499

Dynamically comparing arbitrary graphs

It would be interesting to be able to compare two arbitrary graphs for correlation of trends in different data sources. For instance you would select any two graphs, cacti would calculate a scale factor with which the two data series would be visible on the same axis, and display them in a new graph...
by rr
Wed Nov 22, 2006 8:30 am
Forum: Feature Requests
Topic: Distinguishing poller downtime vs. device downtime
Replies: 0
Views: 1321

Distinguishing poller downtime vs. device downtime

It should be distinguishable directly in the graph if the local poller did not run or if the poller ran but the device was unavailable. For instance,
the background color could be grey when the poller did not run
and white if no information could be polled.
by rr
Thu Nov 09, 2006 6:14 am
Forum: Help: General
Topic: Using PHP Script Server making cacti poller fail?
Replies: 1
Views: 1130

Using PHP Script Server making cacti poller fail?

Hello. This morning I had an unexplained polling failure for one 5 min interval. 08:10 the polling worked, 08:15 it did not, but 08:20 it did. I have no log messages in cacti log from 08:15 or other anomalies in syslog. This is the first time this happened. What has been changed is that i collect lo...
by rr
Tue Nov 07, 2006 8:16 am
Forum: Feature Requests
Topic: Cacti availability graph
Replies: 1
Views: 3585

Cacti availability graph

It would be nice to have a graph of cacti availability.
This could be accomplished by cacti writing to a rrd file every time
it polls. If there are gaps compared to the polling interval this could be regarded as cacti being down. Maybe also with polling statistics.
by rr
Fri Oct 27, 2006 8:11 am
Forum: Help: Linux/Unix Specific
Topic: CPU statistics accuracy, part XVII
Replies: 5
Views: 3877

Comparing SNMP counters to sar -u 5 1

I have compared hp-ux snmp agent (default agent from hp-ux)
with sar -u 5 1.

sar -u 5 1 is a 5sec average every poll,
snmp values are a 5min average every poll.

See attachment images for differences.
by rr
Wed Oct 25, 2006 12:07 pm
Forum: Scripts and Templates
Topic: EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g
Replies: 527
Views: 802124

I do not want to run the poller as root

I do not want to run the poller as root just for ss_fping. Should I put a setuid C wrapper which calls execve() for php? This is suggested for perl scripts. Also, I have a fping binary installed. How can I get it to work with this template instead of the php version? Does ss_fping.php ping hosts in ...
by rr
Tue Oct 24, 2006 6:41 am
Forum: Announcements
Topic: RELEASED: < 1 Minute to 5 Minute Polling Interval Patch
Replies: 169
Views: 264770

Convert datasources

How do I merge many datasources? Preferably as some kind of script... I have set the poller to 5min again, and adjusted cron. Do I need to revert the patch to be sure this could not happen again? One suggestion would be to spread out datasources over different runs in such a way that all datasources...
by rr
Tue Oct 24, 2006 2:48 am
Forum: Announcements
Topic: RELEASED: < 1 Minute to 5 Minute Polling Interval Patch
Replies: 169
Views: 264770

Data source polling distribution has problems?

With the 1minutepolling patch in 0.8.6i and using cactid 0.8.6i, I am using HP-UX host template to poll CPU Usage via SNMP. The user,sys,idle and nice cpu times are different data sources for the same host.. so I get the problem that with 1min polling, the user cpu time could be measured at a differ...
by rr
Thu Oct 19, 2006 10:18 am
Forum: Help: General
Topic: Switching to cactid does not work
Replies: 1
Views: 1082

Switching to cactid does not work

I tried to switch from cmd.php to cactid but it did not work well. Using cacti-0.8.6h I got some datasources polled correctly, but datasources which measure lan traffic and CPU utilization got no values. Excerpts from the poller log 10/19/2006 05:05:01 PM - CACTID: Poller[0] ASSERT: '114676279 .lt. ...
by rr
Thu Oct 19, 2006 3:20 am
Forum: Help: General
Topic: Graphing Oracle session count
Replies: 1
Views: 4332

Graphing Oracle session count

Hello. I have started to graph oracle session count from some databases with the following script #!/bin/sh SID=`grep $1 /usr/local/cacti/scripts/host2sid.lst | awk '{print $2}'` PATH=/usr/local/firstworks/bin:$PATH QUERY="query -config /usr/local/firstworks/etc/sqlrelay.conf -id $SID" TOT...
by rr
Tue Oct 17, 2006 10:41 am
Forum: Help: General
Topic: Downed host detection per host needed
Replies: 1
Views: 1096

Downed host detection per host needed

I have one device which I do not poll via SNMP. The downed host detection should be ping for this device but for the other devices it can be SNMP. I had to set detection to ping for now