Hello,
First of all, I'm not familiar with SNMP and RRDtool and Cacti. Today I installed the program and the required programs such as RRDtool and SNMP; besides, I did all the official patches and changed the ss_host_cpu, ss_host_disk files and those xml files.
My problems are:
1-I'm not getting any graphs, the graphs appear as pictures with broken links.
2- It says SNMP error or not in use!
3- When I excute the command in the crontab as the "cacti user" not root it freezes! (you will not get the command line again, I mean bash$).
4- I have no idea how to configure the SNMP! when I execute snmpconf I really don't know what to do; besides, it says snmp.conf is created (i really don't know if I have to do that and where to move it!).. and I don't know what information I need to put in the SNMP feilds in Cacti!
Guys, I've been working the whole night til the morning trying to solve my problems but I couldn't! So your help is HIGHLY appreciated!
Thanks in advance!
Khalid
Why it doesn't work with me! I'm jealous!
Moderators: Developers, Moderators
for snmp, it can give you your public profile right out of the box. make sure the daemon is running.
/etc/init.d/snmpd status
if its running, good. if not:
/etc/init.d/snmpd start
once you have it running, make sure it always starts with:
chkconfig snmpd on
take a look at the file /etc/snmp/snmpd.conf
at a minimum you should scroll down and edit the systemcontact and systemlocation fields.
in your cacti device config page, make sure you pick local linux host, and specify snmp v2. if you did not (and i bet you like wont to begin with) the community, it will be public (which i believe is already there by default).
after that, it should be as simple as saving te host, and clicking to create graphs.
as far as your crontab not running the command, does the whole system freeze? what exactly is happening here?
/etc/init.d/snmpd status
if its running, good. if not:
/etc/init.d/snmpd start
once you have it running, make sure it always starts with:
chkconfig snmpd on
take a look at the file /etc/snmp/snmpd.conf
at a minimum you should scroll down and edit the systemcontact and systemlocation fields.
in your cacti device config page, make sure you pick local linux host, and specify snmp v2. if you did not (and i bet you like wont to begin with) the community, it will be public (which i believe is already there by default).
after that, it should be as simple as saving te host, and clicking to create graphs.
as far as your crontab not running the command, does the whole system freeze? what exactly is happening here?
Thanks for your reply.
Then I did the apache build with SNMP; with phpinfo() I find:
snmp
NET-SNMP Support enabled
NET-SNMP Version 5.1.2
After that I tried again:
Actully I remember when I installed the SNMP manually, it was in: /usr/local/share/snmp
So what is going on?
The command php /home/USERNAME/public_html/cacti/poller.php > /dev/null 2>&1
Doesn't freeze the session now , I think this is something good!
Thanks
Khalid
Code: Select all
# /etc/init.d/snmpd status
-bash: /etc/init.d/snmpd: No such file or directory
snmp
NET-SNMP Support enabled
NET-SNMP Version 5.1.2
After that I tried again:
Code: Select all
# /etc/init.d/snmpd status
-bash: /etc/init.d/snmpd: No such file or directory
Code: Select all
# locate snmpd
/usr/local/share/snmp/snmpconf-data/snmpd-data
/usr/local/share/snmp/snmpconf-data/snmpd-data/system
/usr/local/share/snmp/snmpconf-data/snmpd-data/basic_setup
/usr/local/share/snmp/snmpconf-data/snmpd-data/snmpconf-config
/usr/local/share/snmp/snmpconf-data/snmpd-data/monitor
/usr/local/share/snmp/snmpconf-data/snmpd-data/extending
/usr/local/share/snmp/snmpconf-data/snmpd-data/operation
/usr/local/share/snmp/snmpconf-data/snmpd-data/acl
/usr/local/share/snmp/snmpconf-data/snmpd-data/trapsinks
/usr/local/sbin/snmpd
/usr/local/bin/snmpdelta
/usr/local/bin/snmpdf
/usr/local/man/man8/snmpd.8
/usr/local/man/man1/snmpdf.1
/usr/local/man/man1/snmpdelta.1
/usr/local/man/man5/snmpd.conf.5
The command php /home/USERNAME/public_html/cacti/poller.php > /dev/null 2>&1
Doesn't freeze the session now , I think this is something good!
Thanks
Khalid
Who is online
Users browsing this forum: No registered users and 1 guest