Poller issue (kinda)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Dr.Dritz
Posts: 44
Joined: Wed Apr 02, 2003 2:48 pm
Location: Southern Denmark

Poller issue (kinda)

Post by Dr.Dritz »

Dear fellows,
My basic Cacti installation works like a charm but both MackTrack plugin and now Manage plugin are not polling automatically.
I have just added the manage plugin and it has the same symptoms as MacTrack:
It doesn't anything automatic, I have to invoke the polling manually by issuing 'php check-manage.php' and/or 'php -q poller_mactrack.php -f'
I feel this is somthing basic since all other plugins are OK.
Have I missed something?
Greetings
Dritz


HostInfo:
Cacti Version - 0.8.6h
Poller Type - CMD.php
Server Info - Linux 2.6.9-11.ELsmp
Web Server - Apache/2.0.52 (Red Hat)
PHP - 4.3.9
PHP Extensions - yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, ldap, mysql, pgsql, snmp
MySQL - 4.1.12
RRDTool - 1.0.49
SNMP - 5.1.2
Plugins
  • Thresholds (thold - v0.3.0)
    Device Monitoring (monitor - v0.7)
    Network Tools (tools - v0.2)
    Read-only Devices Tab (devices - v0.4)
    Update Checker (update - v0.3)
    Report Creator (reports - v0.1b)
    Simple Links page (links - v0.3)
    Poller Performance Report (pollperf - v0.1)
    PHP Network Weathermap (weathermap - v0.81)
    Device Tracking (mactrack - v0.0.1b)
    Host Info (hostinfo - v0.1)
    PHP Network Managing (manage - v0.4)
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

What does
php -q poller_mactrack.php -d
give you?

It can't be an issue with Hook in poller.php if thresholds, etc... are still working as they work off that same hook.
Dr.Dritz
Posts: 44
Joined: Wed Apr 02, 2003 2:48 pm
Location: Southern Denmark

Post by Dr.Dritz »

Hi cigamit,
-------------------
[root@netwatch mactrack]# php -q poller_mactrack.php -d
DEBUG: About to enter MacTrack poller processing
DEBUG: Into Processing. Checking to determine if it's time to run.
DEBUG: Checking if user changed the start time
DEBUG: Detected that user changed the start time

DEBUG: Checking if user changed the maintenance time
DEBUG: Detected that user changed the db maintenance time

DEBUG: The next run time has been determined to be at '2006-09-23 0:00:00'
DEBUG: The next database maintenance run time has been determined to be at '2006-09-23 11:00:00'

------------
I have attached a shot (Picture 6) of my Mactrack Status, I have changed the start time a couple of times and the last time I did it was 5 day ago. As you can see on the status the Mactrack poller has not been running since may 20. (and this was manual invoked).

-------------------

Now it is past midnight and a new shot of Mactrack Status is 'Picture 7'.
And a debug of the macktrack shows:

[root@netwatch mactrack]# php -q poller_mactrack.php -d
DEBUG: About to enter MacTrack poller processing
DEBUG: Into Processing. Checking to determine if it's time to run.
DEBUG: Checking if user changed the start time
DEBUG: Checking if user changed the maintenance time
DEBUG: The next run time has been determined to be at '2006-09-24 0:00:00'
DEBUG: The next database maintenance run time has been determined to be at '2006-09-23 11:00:00'

Is Mactrack designed to work only with Cactid?
-Dritz
Attachments
Picture 6.pdf
Mactrack Process Status
(26.75 KiB) Downloaded 194 times
Picture 7.pdf
(23.59 KiB) Downloaded 218 times
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Try moving the Mactrak plugin to the top of the plugin array, and test it again. It may be that another plugin is causing it to fail. I've seen it happen before, especially with the Reports plugin (which is why I still have it in beta)
Dr.Dritz
Posts: 44
Joined: Wed Apr 02, 2003 2:48 pm
Location: Southern Denmark

Problem solved!

Post by Dr.Dritz »

Great tip!
I have switched off the Reports Plugin, what a great impact! :D

I have noticed the errors from the Reports plugin in the cacti.log, and would have dealt with this problem after this. I think I will enjoy my system as it is now.
I know you have heard it before but anyway: Great work you are doing!

Thanks.
-Dritz
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests