Search found 19 matches

by thebofh
Thu Apr 09, 2009 9:24 pm
Forum: Announcements
Topic: Spine 0.8.7d-pre3 Available for Testing
Replies: 21
Views: 49576

works for me

I can confirm that this resolves the problems I was seeing with the SNMPv3 timeouts and putting my config in /etc/cacti. Thanks for the help!
by thebofh
Thu Apr 09, 2009 12:37 pm
Forum: Announcements
Topic: Spine 0.8.7d-pre2 Available for Testing
Replies: 29
Views: 55826

Still getting SNMP timeouts

I'm an old cacti user. I've just recently tried to get cacti going again. I'm running into the "WARNING: SNMP timeout detected [500ms], ignoring host" problem with spine Version 0.8.7d-pre2. I've tried a few different versions of spine and the problem persists. I'm using SNMPv3 authPriv on...
by thebofh
Fri Aug 05, 2005 12:24 pm
Forum: Help: General
Topic: ERROR: Legend set but no color: Outbound
Replies: 6
Views: 7530

I'm also having the same problem. I think this problem may be due to changes in rrdtool from 1.0.x to 1.2.x. This error seems to happen when using 1.2.x and your graph template has a data source without an assigned color. Why would a data source not have an assigned color? When using it to compute a...
by thebofh
Thu Jul 28, 2005 6:49 pm
Forum: Help: General
Topic: Using |query_field_name| to customize a graph
Replies: 4
Views: 3453

The variable name will be "|query_<XML field name>". How can I replace a Custom Input Field for a Script/Command? If you look at the Screenshot I'd like to be able to replace |query_instance| with the value of the instance input field for graphs and data sources. Can this be done? It does...
by thebofh
Tue Jul 19, 2005 12:03 pm
Forum: Help: Linux/Unix Specific
Topic: Error compiling cactid on SuSE 9.1
Replies: 11
Views: 3343

I've also run into this problem on suse pro 9.2. It seems that since the $SNMP_LIBDIR is empty (because suse comes bundled w/ net-snmp) it is causing the crypto test to fail (because it's the first test after adding $SNMP_LIBDIR to $LDFLAGS). As a result the compilation test ends up having an extra ...
by thebofh
Fri May 27, 2005 2:31 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

I'm lame...:oops:

Code: Select all

$ strings cactid|grep 0.8.6
0.8.6a
$
I'll upgrade... I see the correct fix in the most recent cactid and cmd.php.
by thebofh
Mon May 23, 2005 8:05 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

we need to figure out why there are data source items in the same host with different timestamps in the 'poller_output' table. I'm pretty sure that the fact that my monitoring host is overloaded doesn't help. We have old Sun hardware and the polling, web server, and DB are all on this host (along w...
by thebofh
Mon May 23, 2005 7:48 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

Here is a diff for cmd.php that seems to work even better, although cmd.php is far too slow (cmd.php takes 220secs vs cactid takes 12secs) for my purposes. Basically I just replaced all the mysql NOW() calls with a static php $now initialized at the beginning of the script. $ diff cmd-orig.php cmd.p...
by thebofh
Fri May 20, 2005 1:11 am
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

It looks from your posts that you are currently using cactid. Yup, I'm using cactid... The fix for us was to stop using NOW() for each insert and instead use a set timestamp that is retrieved when the poller starts. Any idea why that fix wasn't made official? Maybe there is a reason I'm overlooking...
by thebofh
Thu May 19, 2005 7:50 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

The following is a quick hack to test my ideas... I applied it to my lib/poller.php library and it fixed my problem. All it does is test to see if there are existing unix_time in the $rrd_update_array within one second of the current unix_time. If one exists that key is used instead. $ diff tmp/cact...
by thebofh
Wed May 18, 2005 6:21 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

So the real question is how are you getting blank OID's? I somehow got a bad row in the poller_item table... I've since fixed that but the problem persists. $ php cmd.php 31 31 #!/usr/bin/php -q $ why does it work sometime? See my comments above about $unix_time and the times array... Could that be...
by thebofh
Wed May 18, 2005 2:31 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

OK I've dug a bit deeper. the values are being inserted into the 'poller_output' table correctly (by cmd.php). The problem appears to be in poller.php:process_poller_output(). Well, maybe it's not a problem... maybe I'm attempting to do something cacti was not designed to support. It seems that the ...
by thebofh
Wed May 18, 2005 12:59 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

With help from thewitness last night it seems that cacti_snmp_get() in lib/snmp.php is being called with an empty $oid argument. This is causing a snmpget usage message to print out with an error "Missing object name". Would failure of that single snmpget cause the other queries to fail to...
by thebofh
Tue May 17, 2005 1:18 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

I think we're misunderstanding each other... In my "Data Template" I have multiple "Data Source Items". I do not have any duplicate data source items (in other data templates). For example I have a single Data Template named "Tomcat - Memory". In that Data Template I ha...
by thebofh
Mon May 16, 2005 4:47 pm
Forum: Help: General
Topic: custom indexed snmp data query not updating rrd
Replies: 21
Views: 6282

Yes. There are entries in the Poller Cache. Here's a sample: Data Source: Tomcat - JVM - Memory RRD: /path/to/install/rra/hostname_tom_s1_cap_2162.rrd Action: 0, OID: .1.3.6.1.4.1.9999.0.9.0 (Host: hostname, Community: public) One thing that is different with this custom query (compared to my others...