Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Sep 23, 2017 11:34 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Wed Feb 13, 2013 4:29 pm 
Offline

Joined: Tue Jan 29, 2013 11:52 am
Posts: 20
So forgetting all that, i went back to a copy i made of the machine just before i put any plugins in or messed with the time, and the localhost graphs are graphing, but my IP ping graphs do now. Im just trying to monitor the ping in this case of google.ca but the graph just doesnt show up, the image is missing.


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 4:10 am 
Offline
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 118
How are you trying to graph the ping?


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 4:15 am 
Offline
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 118
I would suggest that you need to setup "Advanced Ping".

See this thread for instructions. It sounds like your cacti installation is working perfectly, you just need to add the required components to allow you to graph what you want the way you want.

If you are looking to graph your ping times to a websiite, Advanced ping is what you need.

Simply go get cacti_graph_template_ping_advanced_ping_v2_2.xml from the link below,

in Cacti click
Console --> Import/Export --> Import Templates --> Choose File

Import the template you downloaded above.

Once that is done, add a new device (google.ca) and choose the Advanced Ping template when creating a graph.

Hope that helps.

LINK --> jug @ EDIT: Advanced Ping Template Version 1.3 for Cacti 0.8.6g


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 9:19 am 
Offline

Joined: Tue Jan 29, 2013 11:52 am
Posts: 20
Ok i've imported the template and created a graph with it, then put the graph under the root tree directory, and still the same thing, no image at all. The ping connection says refused but it shows me the MS anyway:

Ping Results
TCP Ping connection refused (0.9 ms)


Also the device shows down, the downed detection i use is Ping. I'm sorry im starting to think this is just me not knowing what im doing. Heres a picture:


Image


Last edited by killrog on Thu Feb 14, 2013 9:33 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 9:30 am 
Offline
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 118
alternatively.

PM me the details for your server and ill log in and see if i can get it going for you.


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 9:34 am 
Offline

Joined: Tue Jan 29, 2013 11:52 am
Posts: 20
its on a VMWorkstation, behind many University firewalls which i dont have access to, but i can get you in with team viewer =)


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 9:38 am 
Offline
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 118
OK.

PM me a teamview id and pw and ill take a quick look.


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 12:35 pm 
Offline

Joined: Tue Jan 29, 2013 11:52 am
Posts: 20
I can tell you right now this is going to be a slow process, Virtualbox is very slow comapred to VM Workstation, even just downloading and installing. I'll try hard to get this done ASAP, im just installing php atm =/

Now it crashed and realzied that even thought i tried installing it to HDD twice it still failed to install to HDD still running off Centos LiveCD

Thanks for your help, I wont be able to get this up and running. But i have been promised a server that I can work on, and if you believe this is just a VMWorkstation issue then installing a fresh Centos on a server box and running cacti from there might work. I will definetly post my results from that install here.


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 1:02 pm 
Offline
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 118
Live CD?

Woah woah woah!!!

Hold up.

CentOS Minimal is what you want. None of this live CD rubbish :).


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 1:04 pm 
Offline
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 118
Grab that,

http://ftp.linux.ncsu.edu/pub/CentOS/6. ... inimal.iso

Can we do another TeamViewer real quick?


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 1:53 pm 
Offline

Joined: Tue Jan 29, 2013 11:52 am
Posts: 20
Sure I will go ahead and download this, and yeah my Teamviewer info is the same.

I work from 9-5 so at work right now trying to get this thing running for my company =(


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 4:14 pm 
Offline

Joined: Tue Jan 29, 2013 11:52 am
Posts: 20
With centos Minimal had to install wget nothing big here though.


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Thu Feb 14, 2013 4:19 pm 
Offline
Cacti User

Joined: Wed Oct 03, 2012 5:51 pm
Posts: 118
Well spotted.

Ill add that to the guide :)


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Fri Feb 15, 2013 9:56 am 
Offline

Joined: Tue Jan 29, 2013 11:52 am
Posts: 20
So i'm stuck on this part, but not because its not clear but i'm trying to be sure here


Setup MySQL Server for Cacti
# mysqladmin -u root password Desired-Password-Here

We created User for mysql? Root and password

Create MySQL Cacti Database
# mysql -u root -p
mysql> create database cacti;
mysql> GRANT ALL ON cacti.* TO [email protected] IDENTIFIED BY ‘Password-you-set-above’;
Should it not be to [email protected] and then your password here?

mysql> FLUSH privileges;
mysql> quit;

Because last time i did it, this next part didnt work,
mysql -u cacti -p cacti < /usr/share/cacti-0.8.7d/cacti.sql
should it be?
mysql -u root -p passwordichose < /usr/share/cacti-0.8.7d/cacti.sql
Im probably misunderstanding what the command lines do, though.


Top
 Profile  
 
 Post subject: Re: [HOWTO] Cacti Install Guide CentOS 6 - 64
PostPosted: Fri Mar 08, 2013 9:17 am 
Offline

Joined: Tue Jan 29, 2013 11:52 am
Posts: 20
So in the end it was just cacti settings and not the installation =)

“Host Template”=>None, “Ping Method”=>ICMP Ping, “Graph Template Name”=>Unix - Ping Latency

If you want to ping say google.ca


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 58 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group