Re: Cacti on CentOS 7
Mark Haney <[email protected]> Mon, 25 Aug 2014 09:41:09 -0400
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <CANps6cbhx5-Ut04t0d_OBtDeiLNEECDap2Uc3+=bAinFJSJiUg@mail.gmail.com> |
I found part of my problem. The cacti user account had an incorrect home directory. I had originally installed the RPM,but removed it once I realized the RPM dumps files all over the place. I didn't catch the cacti user had been created by the RPM and set the home directory to /usr/share/cacti. Now that works, and I'm getting localhost data graphed. However, I can't get the one switch I've added to cacti to graph. I've added SNMP to firewalld do to pass the data, Cacti can see the Switch (it's a Cisco Catalyst) and the interfaces on it, but I'm not getting any graphs. It's been a while since I've messed with snmp, so where do I start? On Mon, Aug 25, 2014 at 8:50 AM, Lojze Blatnik <[email protected]> wrote: > turn cacti log level to medium and you'll see if there are any events in > cacti log file. > You can alternatively do following hack if cron is really the issue. > yum install screen > > screen -dm -S cacti_poller bash -c "for ((;;)); do php poller.php;sleep > 5m; done" > > ... to see the terminal > screen -r > > .. to put it in background again > ctrl + a <release for half of second> d > > Good luck > > > On 25 August 2014 13:28, Mark Haney <[email protected]> wrote: > > > The timezone settings are correct. It looks as if the cron job isn't > > running, however. I have tried it as root and as the user 'cacti' which > I > > setup when installing it. It's very strange. > > > > > > > > On Fri, Aug 22, 2014 at 3:08 PM, Paul Gevers <[email protected]> wrote: > > > > > Check your timezone settings. It is in three places, system, mysql and > > > php. They need to be set to the same thing. > > > > > > Paul > > > > > > On 22-08-14 20:07, Mark Haney wrote: > > > > I've got Cacti setup on CentOS 7, but I'm encountering a problem > > getting > > > > any graph data. I get graphs, just nothing in them, including the > > > > localhost graphs. I've setup the file permissions on the rra/ and > log/ > > > > directories to the 'cacti' user and the poller creates and appears to > > > > update the RRD files, but still no data in the graphs. > > > > > > > > I've disabled SELinux, but that hasn't done anything to fix it. > Anyone > > > > got any ideas on where I look next? > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Slashdot TV. > > > Video for Nerds. Stuff that matters. > > > http://tv.slashdot.org/ > > > _______________________________________________ > > > cacti-user mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/cacti-user > > > > > > > > > > > > -- > > Mark Haney > > Sr. Systems Engineer, VIF International Education > > [email protected] > > 919-265-5006 > > > > > ------------------------------------------------------------------------------ > > Slashdot TV. > > Video for Nerds. Stuff that matters. > > http://tv.slashdot.org/ > > _______________________________________________ > > cacti-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/cacti-user > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > cacti-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cacti-user > -- Mark Haney Sr. Systems Engineer, VIF International Education [email protected] 919-265-5006 ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/