Search found 17 matches

by MaffooClock
Thu Mar 15, 2007 9:44 pm
Forum: Scripts and Templates
Topic: Script Server Version of teMySQL stats and Host Template
Replies: 29
Views: 33878

Re: Could not import cacti_host_template_temysql_host.xml

Here is my problem: I could not import the cacti_host_template_temysql_host.xml file and I don't understand why. The only things I get is a blank screen after the cacti import script timeout. Then, I have the following error message each time I try to click again on "Import Templates" dur...
by MaffooClock
Thu Mar 15, 2007 1:47 pm
Forum: Plugin Announcements
Topic: rrdCleaner - cleans cactis rrd dir from unused rrd's
Replies: 140
Views: 153505

I hope I didn't miss this same issue earlier in this thread... After I got this plugin installed, I was able to delete dozens of old rrd files. After that initial delete run, I noticed this plugin lists files that are being used (some, not all). I know this because after each run of poller.php, the ...
by MaffooClock
Thu Mar 15, 2007 1:16 pm
Forum: Plugin Announcements
Topic: rrdCleaner - cleans cactis rrd dir from unused rrd's
Replies: 140
Views: 153505

In case this helps anyone else: I had the "Permission denied" unlink() error, but I just knew I had the permissions set right. Yet, I continued to have the error. I discovered a comment on the unlink() page at php.net: http://www.php.net/manual/en/function.unlink.php#59122 In it, one comme...
by MaffooClock
Thu Mar 15, 2007 9:17 am
Forum: Scripts and Templates
Topic: MySQL Host Template -- Updated on 2006-08-10
Replies: 120
Views: 232456

Just an observation: I was having blank graphs, and I couldn't figure out why. I got sidetracked when I found other issues with Cacti (even found a bug!), and now I finally got back to this. I was getting the following error: 03/15/2007 08:41:33 AM - CMDPHP: Poller[0] Host[19] DS[367] WARNING: Resul...
by MaffooClock
Thu Mar 15, 2007 8:15 am
Forum: Help: General
Topic: Cacti thinks device is down, but snmpwalk works fine
Replies: 13
Views: 11117

Hot dog. Running the poller as root did the trick (I left the Down Host Detection at "Ping and SNMP", but changed ping type to ICMP).

I'll try fmangeant's suggestion next...
by MaffooClock
Thu Mar 15, 2007 8:10 am
Forum: Help: General
Topic: Cacti thinks device is down, but snmpwalk works fine
Replies: 13
Views: 11117

"Ping and SNMP" is my current Downed Host Detection method.
I suppose I can have cacti run as root and change the UDP ping to ICMP...
by MaffooClock
Wed Mar 14, 2007 11:05 pm
Forum: Help: General
Topic: Cacti thinks device is down, but snmpwalk works fine
Replies: 13
Views: 11117

Cacti thinks device is down, but snmpwalk works fine

I don't think this is a windows-specific question, so I hope I'm not posting this in the wrong place. I have a Linux-based Cacti box collecting data from three Linux-based boxes and three Windows 2003 boxes. One of the Windows 2003 hosts (Melbourne) suddenly shows "Down" and no data is bei...
by MaffooClock
Wed Mar 14, 2007 8:00 pm
Forum: Help: Linux/Unix Specific
Topic: "SQL Exec Failed" for table 'host'
Replies: 2
Views: 3266

Unable to find any existing bug reports in Mantis, bug 934 has been filed.
by MaffooClock
Wed Mar 14, 2007 7:46 pm
Forum: Help: Linux/Unix Specific
Topic: "SQL Exec Failed" for table 'host'
Replies: 2
Views: 3266

Found it! Line 463 of functions.php: 458 /* determine the error message to display */ 459 if ($ping_availability == AVAIL_SNMP_AND_PING) { 460 if ($hosts[$host_id]["snmp_community"] == "") { 461 $hosts[$host_id]["status_last_error"] = $ping->ping_response; 462 }else { 4...
by MaffooClock
Wed Mar 14, 2007 5:07 pm
Forum: Scripts and Templates
Topic: Weatherbug XML API (tweaked)
Replies: 4
Views: 6050

Weatherbug XML API (tweaked)

This is a set of templates based on the project from this post: http://forums.cacti.net/viewtopic.php?p=94468 I edited the php script to gather additional data, and modified the graph templates to match. The original author had a graph called "Various", and I didn't like it, so I separated...
by MaffooClock
Wed Mar 14, 2007 1:26 pm
Forum: Scripts and Templates
Topic: Weatherbug XML API script and templates
Replies: 48
Views: 52123

Well, at this point, it seems that I have fixed my graphs. I removed all graphs, data sources, input methods, and everything else. Then, I installed everything according to the README, but then created a dummy host and assigned the data sources and graphs to that host. Now I have data in my graphs.
by MaffooClock
Wed Mar 14, 2007 10:05 am
Forum: Scripts and Templates
Topic: Weatherbug XML API script and templates
Replies: 48
Views: 52123

I spent HOURS troubleshooting the 'nan' issue and I didn't get anywhere. (By the way, I should mention that I am very proficient with Linux, PHP, MySQL, and Cacti.) I noticed that I had not followed your instructions for installing the templates, so I removed ALL associated graph templates, data tem...
by MaffooClock
Wed Mar 14, 2007 9:23 am
Forum: Help: Linux/Unix Specific
Topic: "SQL Exec Failed" for table 'host'
Replies: 2
Views: 3266

"SQL Exec Failed" for table 'host'

I have the following log entry for every poller run: 03/14/2007 09:20:05 AM - CMDPHP: Poller[0] ERROR: SQL Exec Failed "update host set status = '3', status_event_count = '2', status_fail_date = '2007-03-13 08:57:33', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'SNMP not perfor...
by MaffooClock
Tue Mar 13, 2007 10:49 pm
Forum: Scripts and Templates
Topic: MySQL Host Template -- Updated on 2006-08-10
Replies: 120
Views: 232456

I hope I didn't miss a post on this same issue...

I've found that it takes well over 10 minutes to import the cacti_host_template_temysql_host-step300-heartbeat600.xml file (I had to temporarily increase the max_execution_time to more than 600 seconds). Is this normal?
by MaffooClock
Tue Mar 13, 2007 9:28 pm
Forum: Scripts and Templates
Topic: Weatherbug XML API script and templates
Replies: 48
Views: 52123

I like this better than the other Weatherbug script, especially since this uses an XML API. Cuerrently, I have the dreaded 'nan' issue with this, however, running the wbugxml.php script at the command-line produced values. Regardless, once I figure out what my problem is, I'd like to tweak this more...