Re: Cacti on CentOS 7
Mark Haney <[email protected]> Wed, 27 Aug 2014 09:43:47 -0400
| Newsgroups | gmane.network.cacti.user |
|---|---|
| Message-ID | <CANps6caDAbC9jF=OSxqsO=q8Gpg6ghRs24yB5igehYJYeo6cvQ@mail.gmail.com> |
I think I figured out the problem. It looks like it's because I'm trying to graph a VLAN interface, not a standard interface. On Mon, Aug 25, 2014 at 10:34 AM, Lojze Blatnik <[email protected]> wrote: > Again, set cacti log level on medium or higher and you'll see what is going > wrong. > You can filter them with Host[id] and you'll get just data of cisco switch. > On cacti website are a lot of debugging approaches which can help you. > > BR > > > On 25 August 2014 15:41, Mark Haney <[email protected]> wrote: > > > 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/ > > _______________________________________________ > > 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/