Search found 17 matches

by esproul
Thu Aug 31, 2006 9:10 am
Forum: Help: General
Topic: script query not working
Replies: 7
Views: 2320

by esproul
Wed Aug 30, 2006 11:21 am
Forum: Help: General
Topic: script query not working
Replies: 7
Views: 2320

Would you believe? The problem with the missing names comes down to a misspelling of "delimiter" both in the Cacti docs and in lib/data_query.php. In both places, they spell it "delimeter" which is incorrect. When I read the docs and wrote my XML, my brain must have auto-correcte...
by esproul
Wed Aug 30, 2006 9:50 am
Forum: Help: General
Topic: script query not working
Replies: 7
Views: 2320

You are on course. Heh, but the smallest breeze can blow you to a different continent. :) As it turns out, my XML file was invalid, which I discovered by looking at a verbose debug query. If you look carefully at my XML above, you'll see that my index_order tag was not properly closed. DOH! Now I'v...
by esproul
Tue Aug 29, 2006 4:38 pm
Forum: Help: General
Topic: script query not working
Replies: 7
Views: 2320

script query not working

I'm trying to build a script query to get statistics of ZFS pools on Solaris 10 hosts. I have followed the howto's and the manual on creating a new data query, and as far as I can tell, it works properly from the command line, but I am having trouble getting it to work in Cacti. Here is my XML docum...
by esproul
Fri Oct 28, 2005 9:26 am
Forum: Help: Linux/Unix Specific
Topic: pollers hanging
Replies: 9
Views: 1760

It's more likely a problematic script or one with a large timeout. I am using no scripts, only SNMP queries with the default SNMP settings (500ms timeout). I don't detect any upward trends in the cacti log, either. The poller either takes 40-60 seconds and finishes normally, or hangs out for more t...
by esproul
Thu Oct 27, 2005 3:08 pm
Forum: Help: Linux/Unix Specific
Topic: pollers hanging
Replies: 9
Views: 1760

Well, I went ahead and set it to SNMP+Ping, using UDP ping, and even though there are still some maximum runtime errors, it seems to be cleaning itself up OK now. The hardware is pretty modest, so perhaps that is contributing to the issue. It's a single-CPU P3-450, but it has 1GB of RAM and SCSI dis...
by esproul
Thu Oct 27, 2005 12:36 pm
Forum: Help: Linux/Unix Specific
Topic: pollers hanging
Replies: 9
Views: 1760

rony wrote:What is your host down detection method?
SNMP only. Should I change it to SNMP+Ping?

Eric
by esproul
Thu Oct 27, 2005 11:16 am
Forum: Help: Linux/Unix Specific
Topic: pollers hanging
Replies: 9
Views: 1760

Hmmm... still happening. The poller_output table is empty, but I have three stalled pollers in the last 30 minutes. Same device, same OID. cacti 28290 1 0 11:50 ? 00:00:00 /usr/bin/php -q /opt/cacti-0.8.6g/cmd.php 0 5 cacti 28293 28290 0 11:50 ? 00:00:00 /usr/bin/php /opt/cacti-0.8.6g/script_server....
by esproul
Thu Oct 27, 2005 10:13 am
Forum: Help: Linux/Unix Specific
Topic: pollers hanging
Replies: 9
Views: 1760

rony wrote:Run a check/repair on the cacti database.
Thanks for the tip. Looks like it didn't need to do anything:

Code: Select all

mysql> truncate poller_output;
Query OK, 0 rows affected (0.01 sec)
Eric
by esproul
Thu Oct 27, 2005 9:59 am
Forum: Help: Linux/Unix Specific
Topic: pollers hanging
Replies: 9
Views: 1760

pollers hanging

Recently I had a problem on my Cacti box where it ran out of memory. That appeared to have been mysql's fault, but ever since resetting the box, I am noticing problems with the poller. I am not sure whether the mysql crash caused this or whether this is what caused mysql to consume so much memory. I...
by esproul
Tue Oct 18, 2005 4:12 pm
Forum: Help: Linux/Unix Specific
Topic: missing status, type and h/w address from interface stats
Replies: 13
Views: 3136

Thanks for the help pirx. I'm busy getting this new install going for a client, so I wasn't able to test. On a related topic, if I wanted to display the ifOperStatus somewhere on the graph (now that I am seeing meaningful results), where would make the most sense? I've already got a pretty long titl...
by esproul
Mon Oct 17, 2005 4:56 pm
Forum: Help: Linux/Unix Specific
Topic: missing status, type and h/w address from interface stats
Replies: 13
Views: 3136

Followup: I ran into the same problem with a brand-new install of 0.8.6g on CentOS 4.1 with net-snmp 5.1.2-11.EL4.6 and php (w/snmp) 4.3.9-3.8. The only difference is that with this setup, I am seeing the hardware address. However, both link status and ifType are still just numbers. Based on the dis...
by esproul
Tue Sep 20, 2005 9:23 am
Forum: Help: Linux/Unix Specific
Topic: missing status, type and h/w address from interface stats
Replies: 13
Views: 3136

Are you using php_snmp or the net-snmp binaries? I suppose I am using PHP's builtin SNMP, because it shows up in a 'php -m'. If I want to switch to the net-snmp tools, what config change has to happen? I'm new to Cacti, please forgive me. In your experience, what happens in a PHP upgrade to break S...
by esproul
Mon Sep 19, 2005 4:56 pm
Forum: Help: Linux/Unix Specific
Topic: missing status, type and h/w address from interface stats
Replies: 13
Views: 3136

Well, a little more digging revealed it's happening on everything I'm monitoring, not just Linux and FreeBSD hosts. I'm also hitting a Cisco Catalyst switch and a Foundry ServerIron. The interface list on both of these also shows no text for the status, type or hardware address. In the case of statu...
by esproul
Fri Sep 16, 2005 10:36 am
Forum: Help: Linux/Unix Specific
Topic: missing status, type and h/w address from interface stats
Replies: 13
Views: 3136

Hmmm... I did read somewhere that snmpwalk is supposed to stop walking a branch if it reaches a blank return (signifying end-of-branch), and I wonder of the Cacti does the same thing, and stops because the first element in the list doesn't seem to return a result... Interesting theory. The indexes ...