autom8 - no logging?

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
ejcacti
Posts: 25
Joined: Mon Nov 06, 2006 3:51 am

autom8 - no logging?

Post by ejcacti »

Hi,

Where are autom8-logs expected to go to?

The reason I'm asking: Under Console -> Cacti Settings -> Misc I've set "Enable Autom8 Graph Creation" and set the "Poller Logging Level for AUTOM8" to DEBUG.

However when I click select a device under Console -> Devices and select "Apply Autom8 rules" I see no entry in the log file available under Console -> Utilities -> View Cacti Log File.

My environment: Cacti 0.8.7g with Autom8 0.35 under FreeBSD 8.1

Thanks much in advance for any clue,
ejcacti
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: autom8 - no logging?

Post by gandalf »

Please chmod so the webserver user may update cacti.log
R.
ejcacti
Posts: 25
Joined: Mon Nov 06, 2006 3:51 am

Re: autom8 - no logging?

Post by ejcacti »

gandalf wrote:Please chmod so the webserver user may update cacti.log
R.
Hi gandalf,

Here's what I've got:

Code: Select all

# pwd
/usr/local/share/cacti/log
# ls -l
total 3346
-rw-r--r--  1 cacti  cacti       33 Nov 18 14:16 .htaccess
-rw-r--r--  1 cacti  cacti  3394091 Feb  9 11:35 cacti.log
#
with "cacti" being the cacti-user and "www" being the one apache runs on.

So - chmod to which value?

ejcacti
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: autom8 - no logging?

Post by gandalf »

chmod a+w would do.
But applying write access for anyone might not match your security policies.
Or apply the group of "www" to cacti.log ownership, (assuming group of www is "www-group") e.g.
chown cacti:www-group cacti.log
and
chmod ug+w cacti.log

R.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests