How to monitor the system CentOS 6.0 using cacti?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
CherrySun
Posts: 3
Joined: Fri Jun 07, 2013 3:00 am

How to monitor the system CentOS 6.0 using cacti?

Post by CherrySun »

Can anybody tell me how to monitor a host like CentOS 6.0 using cacti?Is it the same as Unix(AIX/Solaris)?
cigamit
Developer
Posts: 3374
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: How to monitor the system CentOS 6.0 using cacti?

Post by cigamit »

Ensure net-snmp is installed and enabled on it, and then just use the default Host MIB templates. Its pretty standard, so a lot of the default templates out there will work with it.
CherrySun
Posts: 3
Joined: Fri Jun 07, 2013 3:00 am

Re: How to monitor the system CentOS 6.0 using cacti?

Post by CherrySun »

cigamit wrote:Ensure net-snmp is installed and enabled on it, and then just use the default Host MIB templates. Its pretty standard, so a lot of the default templates out there will work with it.
Thanks for your reply.I have installed net-snmp-5.4.2.1,and configured the file in /usr/local/snmp/share/snmp/snmpd.conf,but it doesn't work.I wonder if I should configure the file /etc/snmp/snmpd.conf or /usr/local/snmp/share/snmp/snmpd.conf.I have added the file below.Please help me check if there is something wrong.Thanks a lot!

# sec.name source community
com2sec local localhost COMMUNITY
com2sec mynetwork 192.168.1.6 Test@123

# sec.model sec.name
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyRWGroup usm local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
group MyROGroup usm mynetwork


# incl/excl subtree mask
view all included .1 80

# context sec.model sec.level match read write notif
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
cigamit
Developer
Posts: 3374
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: How to monitor the system CentOS 6.0 using cacti?

Post by cigamit »

It should be
/etc/snmp/snmpd.conf
CherrySun
Posts: 3
Joined: Fri Jun 07, 2013 3:00 am

Re: How to monitor the system CentOS 6.0 using cacti?

Post by CherrySun »

cigamit wrote:It should be
/etc/snmp/snmpd.conf
I tried to configure /etc/snmp/snmpd.conf,but it doesn't work.Can you give me your confiruration files abount SNMP?Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests