Guest User!

You are not Sophos Staff.

This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

All RRDTool Graphing Just Stopped (new)?!

Couldn't post an reply to the thread of James Bourne so I start a new thread. 

I have the same situation like James Bourne with one of our ASL's (Version is 6.305).

All graphs are affected and don't get updated.

The ASL was new installed some time ago. From this time the Reporting don't work.

# /var/log/reporting/images (created only after reboot)
# /var/log/reporting/rrd (created only after deleting all rrd-files and executed /etc/init.d/rrdcreator start)
# /var/log/reporting/accu (created only after deleting all rrd-files and executed /etc/init.d/rrdcreator start)
# /var/log/reporting/current_report.ph (created only after reboot)

The cron process is running.

# USR/SBIN/CRON[20570]: (root) CMD (/usr/local/bin/reportcontrol.sh) isn't listed in /var/log/system.log
After restarting cron this line isn't listed anyway in system.log.

After executing /usr/local/bin/reportcontrol.sh the images, rrd and accu files are updated, also the current_report.ph.
But they don't get get updated by cron job.

Any advice for me?


This thread was automatically locked due to age.
Parents

  • The cron process is running.

    # USR/SBIN/CRON[20570]: (root) CMD (/usr/local/bin/reportcontrol.sh) isn't listed in /var/log/system.log
    After restarting cron this line isn't listed anyway in system.log.

    After executing /usr/local/bin/reportcontrol.sh the images, rrd and accu files are updated, also the current_report.ph.
    But they don't get get updated by cron job.



    Hm, the cron daemon is running, running it manually works, so the question is - why doesn't it get executed by cron?

    Can you please check your crontab (/etc/crontab)? Are other cronjobs executed? (see system.log for more CRON generated lines)

    Cheers,
      andreas
  • I think also that cron is the cause for this problem. Ich tried some custom cron jobs which functions on our other ASL's but not on this special one.

    Here is an excerpt of the system.log:

    2007:06:28-11:14:00 (none) /USR/SBIN/CRON[417]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-11:23:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-11:28:00 (none) /USR/SBIN/CRON[735]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-11:30:00 (none) /USR/SBIN/CRON[814]: (root) CMD (/usr/local/bin/content_manager.pl global
    2007:06:28-11:33:54 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-11:53:50 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-11:58:00 (none) /USR/SBIN/CRON[1289]: (root) CMD (   /usr/local/bin/netselector.plx --inf
    2007:06:28-11:59:38 (none) /usr/bin/ez-ipupdate[27064]: members.dyndns.org says that your IP address
    2007:06:28-11:59:38 (none) /usr/bin/ez-ipupdate[27064]: successful update for eth0->91.112.185.134 (
    2007:06:28-12:00:00 (none) /USR/SBIN/CRON[1330]: (root) CMD (   /usr/sbin/ntpdate -u -b 83.133.111.7
    2007:06:28-12:05:00 (none) /USR/SBIN/CRON[1420]: (root) CMD (   /sbin/hwclock --systohc --utc 1>/dev
    2007:06:28-12:08:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-12:13:46 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-12:24:00 (none) /USR/SBIN/CRON[1777]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-12:25:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-12:30:00 (none) /USR/SBIN/CRON[2023]: (root) CMD (/usr/local/bin/content_manager.pl globa
    2007:06:28-12:33:42 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-12:53:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-12:53:38 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-13:00:00 (none) /USR/SBIN/CRON[2569]: (root) CMD (   /usr/sbin/ntpdate -u -b 213.186.58.2
    2007:06:28-13:05:00 (none) /USR/SBIN/CRON[2658]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-13:05:00 (none) /USR/SBIN/CRON[2660]: (root) CMD (   /sbin/hwclock --systohc --utc 1>/dev
    2007:06:28-13:06:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-13:13:35 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-13:16:00 (none) /USR/SBIN/CRON[2977]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-13:30:00 (none) /USR/SBIN/CRON[3259]: (root) CMD (/usr/local/bin/content_manager.pl globa
    2007:06:28-13:33:31 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-13:38:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
Reply
  • I think also that cron is the cause for this problem. Ich tried some custom cron jobs which functions on our other ASL's but not on this special one.

    Here is an excerpt of the system.log:

    2007:06:28-11:14:00 (none) /USR/SBIN/CRON[417]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-11:23:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-11:28:00 (none) /USR/SBIN/CRON[735]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-11:30:00 (none) /USR/SBIN/CRON[814]: (root) CMD (/usr/local/bin/content_manager.pl global
    2007:06:28-11:33:54 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-11:53:50 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-11:58:00 (none) /USR/SBIN/CRON[1289]: (root) CMD (   /usr/local/bin/netselector.plx --inf
    2007:06:28-11:59:38 (none) /usr/bin/ez-ipupdate[27064]: members.dyndns.org says that your IP address
    2007:06:28-11:59:38 (none) /usr/bin/ez-ipupdate[27064]: successful update for eth0->91.112.185.134 (
    2007:06:28-12:00:00 (none) /USR/SBIN/CRON[1330]: (root) CMD (   /usr/sbin/ntpdate -u -b 83.133.111.7
    2007:06:28-12:05:00 (none) /USR/SBIN/CRON[1420]: (root) CMD (   /sbin/hwclock --systohc --utc 1>/dev
    2007:06:28-12:08:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-12:13:46 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-12:24:00 (none) /USR/SBIN/CRON[1777]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-12:25:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-12:30:00 (none) /USR/SBIN/CRON[2023]: (root) CMD (/usr/local/bin/content_manager.pl globa
    2007:06:28-12:33:42 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-12:53:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-12:53:38 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-13:00:00 (none) /USR/SBIN/CRON[2569]: (root) CMD (   /usr/sbin/ntpdate -u -b 213.186.58.2
    2007:06:28-13:05:00 (none) /USR/SBIN/CRON[2658]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-13:05:00 (none) /USR/SBIN/CRON[2660]: (root) CMD (   /sbin/hwclock --systohc --utc 1>/dev
    2007:06:28-13:06:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
    2007:06:28-13:13:35 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-13:16:00 (none) /USR/SBIN/CRON[2977]: (root) CMD (/var/wfe/_update.pl 123 pu)
    2007:06:28-13:30:00 (none) /USR/SBIN/CRON[3259]: (root) CMD (/usr/local/bin/content_manager.pl globa
    2007:06:28-13:33:31 (none) daemon-watcher[3435]: Watching selfmonng.pl - running fine
    2007:06:28-13:38:00 (none) /usr/sbin/cron[2183]: (*system*) RELOAD (/etc/crontab)
Children
No Data