PDA

View Full Version : Cacti


ppe1700
03-03-09, 09:56 AM
FINALLY got cacti running on a test server.
took me forever to get php / mysql / apache setup.

now im a little stuck on the mib / oid poll process. i was expecting to cut and paste a load of oid's into "php web forms", setup a few ip addresses and community strings and away it goes..:confused:

it doesnt seem that simple.
can someone help? i will keep searching through the cacti pages. but its taken me hours so far

=ACID RAIN=
03-03-09, 10:25 AM
Assuming windows, if you use appserv, apache/mysql/php are already communicating properly and ready for you to install anything. Just for future reference.

ppe1700
03-03-09, 10:27 AM
Assuming windows, if you use appserv, apache/mysql/php are already communicating properly and ready for you to install anything. Just for future reference.

yes, sorry its on windows server 2003. what does appserv do? do i need to install this as well then?

gangaskan
03-03-09, 10:49 AM
FINALLY got cacti running on a test server.
took me forever to get php / mysql / apache setup.

now im a little stuck on the mib / oid poll process. i was expecting to cut and paste a load of oid's into "php web forms", setup a few ip addresses and community strings and away it goes..:confused:

it doesnt seem that simple.
can someone help? i will keep searching through the cacti pages. but its taken me hours so far

i got mine running under a fedora VM talk about fun! it was a nightmare trying to get what i needed working, and the cron job confused me a little.


do some searching under caci's forums for templates, they will help you out alot.

you do have to setup the community strings on your servers / network equipment


then create the device under cacti, and associate any templates on the device its really easy when you get the hang of it.

ppe1700
03-03-09, 04:26 PM
i got mine running under a fedora VM talk about fun! it was a nightmare trying to get what i needed working, and the cron job confused me a little.


do some searching under caci's forums for templates, they will help you out alot.

you do have to setup the community strings on your servers / network equipment


then create the device under cacti, and associate any templates on the device its really easy when you get the hang of it.

the community strings etc are already there in our default configs.. just cacti was confusing me. i restarted the server and i seem to have more options so i have set up monitoring and see what it says tomorrow.

fyi, i tried to be the big man and install apache, php, mysql all seperately (this would be my 2nd try) and i failed. im pretty sure i had php working because i could see some pages, but getting the cacti to talk to the database was a complete nightmare. even just importing the database into mysql was a mission. kept getting invalid syntax like it didnt like long filenames.

so after lunch break i uninstalled php, apache and mysql and installed wamp server. and within 10 mins and about 3 clicks i was a step further and had imported the database using phpmyadmin

cheers though :)

ppe1700
03-04-09, 05:40 AM
ok, i realised after doing some more reading that my net-snmp wasnt setup correctly.

i had to use cygwin to use the bash command prompt and ./configure the net-snmp source..
ill see how this turns out.. lol linux on windows

gangaskan
03-04-09, 06:05 AM
cgwin is definitely uh ... strange that's for sure :P

i tried to get it working under cent os (which i perfer) , however, i never got it working right on 5 and the guide was for 4 i belive (or 4 /3 not sure what the latest release is)


fedora's bloated compared to cent :) anywho, Here (http://forums.cacti.net/post-144298.html) is a good guide if you want to do it under fedora 9 and this guide (http://www.howtoforge.com/cacti_centos4.4_plugin_architecture) is for cent os 4.4