- install Cacti : yum install cacti.
- install the dependencies : net-snmp-utils. Where is cactid ??
- create the database, create the mysql user : cactiuser for example (do not confuse with the cacti Linux user !), and initialise the database
- Configure the
- Enable the polling in cron :
- Eventually authorize more IP in
http://localhost/cacti/in a browser and add devices, graphs …
Compared to some other sources, as of Fedora core 6 (FC6), I didn’t have to change user right on directories. I don’t know about SELinux, I should test.
On the PowerBook Mac OS X : set up net-snmp (General SNMP Cacti’s howto) :
sudo vi /usr/share/snmp/snmpd.conf. Here is the simplest configuration I could do, still providing SNMPv3 security.
createUser cacti MD5 password DES
syslocation On my desk
- Configure the SNMPv3 user/password in Cacti too (Menu : “Settings”) !
- Stop snmpd :
sudo killall snmpd
- Restart snmpd :
sudo snmpd -I -icmp. See : Net-SNMP README OSX.
- You can have a look at the log file :
/var/log/snmpd.log. I still have some errors, but it works :
nlist err: neither boottime nor _boottime found.
nlist err: neither cnt nor _cnt found.
kvm_read(*, 0, 0x249eec, 4) = 0: kvm_read: Bad address
auto_nlist failed on boottime at location 0