Cacti on a Redhat 8 system. What did I do wrong?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
evert
Posts: 27
Joined: Sun Sep 21, 2003 6:39 am
Location: Sarpsborg, Norway
Contact:

Cacti on a Redhat 8 system. What did I do wrong?

Post by evert »

Hi!

I've installed Cacti, followed the install instructions, and created the graphs for the localhost. It's nicely creating graphs, but they're all empty!

Since I'm kinda new to Cacti: What more info do you need to help me with this problem? ;)
Regards,
Evert Meulie
User avatar
bulek
Cacti Pro User
Posts: 854
Joined: Mon May 20, 2002 2:07 am
Location: Poland
Contact:

Post by bulek »

Since I don't know which cacti version do you use and what exactly the problem is I can only guess that it's because of SNMP problem. RH 8.0 had broken (fixed in RH 9) SNMP and PHP integration module (php-snmp rpm package). If this is the case you can do several things: stop using internal php snmp support (in "include/config.php" file find "$config["php_snmp_support"]" variable and set it to false), compile php and net-snmp by yourself or upgrade to RH 9.

- Piotr
User avatar
evert
Posts: 27
Joined: Sun Sep 21, 2003 6:39 am
Location: Sarpsborg, Norway
Contact:

Post by evert »

I'm using the most recent version: 0.8.4

and it's not (just) snmp: ALL graphs are empty, also the diskfree & loadavg ones...

check out http://www2.telio.no/cacti/ (guest/guest) for what I get so far...
Regards,
Evert Meulie
benc
Posts: 2
Joined: Tue Dec 09, 2003 9:57 am

Post by benc »

I had a similar problem.

Are you sure that the cronjob for cmd.php is being executed correctly? That piece of code is responsible for filling the databases with data.
User avatar
evert
Posts: 27
Joined: Sun Sep 21, 2003 6:39 am
Location: Sarpsborg, Norway
Contact:

Post by evert »

I just checked (with a 'touch' in the cron), and the cron runs when it should.

If I run the cmd.php manually, it does generate output, with correct numbers.
Regards,
Evert Meulie
Deano
Cacti User
Posts: 101
Joined: Wed Oct 29, 2003 7:08 am
Contact:

Post by Deano »

What's the line in cron (exactly) and did you try it as root or the user its supposed to run under in cron ?

I have 2 instance's running on RH8 and I seem to remember dropping the "cactiuser" bit of the cron line. (so cmd.php) runs as root effectvely. It maybe of course that I screwed my permissions up somwhere though.

Deano
User avatar
evert
Posts: 27
Joined: Sun Sep 21, 2003 6:39 am
Location: Sarpsborg, Norway
Contact:

Post by evert »

I found it!

Somehow the perms. on rra/ & log/ had not been set to chown cactiuser or reverted back to root.

Now it's working! :)


Thanks for the help, everyone! :)
Regards,
Evert Meulie
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests