Net-SNMP agent / RedHat RHEL 5 x86_64 64 bits
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 137
- Joined: Mon Feb 11, 2008 3:46 am
Net-SNMP agent / RedHat RHEL 5 x86_64 64 bits
I have installed Net-SNMP in RedHat RHEL 5 x86_64 64 bits
1) $ rpm -i net-snmp-5.4.x.svn200803270330-1.1.x86_64.rpm
warning: net-snmp-5.4.x.svn200803270330-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 7641048b
2) $ rpm -i net-snmp-devel-5.4.x.svn200803270330-1.1.x86_64.rpm
warning: net-snmp-devel-5.4.x.svn200803270330-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 7641048b
3) $ rpm -i net-snmp-perlmods-5.4.x.svn200803270330-1.1.x86_64.rpm
warning: net-snmp-perlmods-5.4.x.svn200803270330-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 7641048b
I am unable to find the snmpd.conf file. How to restart the net-snmp , i can able to seen snmpwalk,snmpstatus..etc from folder '/usr/bin '
I dont know how to restart and where i can create the snmpd.conf file ?
1) $ rpm -i net-snmp-5.4.x.svn200803270330-1.1.x86_64.rpm
warning: net-snmp-5.4.x.svn200803270330-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 7641048b
2) $ rpm -i net-snmp-devel-5.4.x.svn200803270330-1.1.x86_64.rpm
warning: net-snmp-devel-5.4.x.svn200803270330-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 7641048b
3) $ rpm -i net-snmp-perlmods-5.4.x.svn200803270330-1.1.x86_64.rpm
warning: net-snmp-perlmods-5.4.x.svn200803270330-1.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 7641048b
I am unable to find the snmpd.conf file. How to restart the net-snmp , i can able to seen snmpwalk,snmpstatus..etc from folder '/usr/bin '
I dont know how to restart and where i can create the snmpd.conf file ?
-
- Cacti User
- Posts: 137
- Joined: Mon Feb 11, 2008 3:46 am
/etc/php.d/snmp.ini
I planned to Activate the SNMP by following the link http://www.cacti.net/downloads/docs/htm ... e_php.html
But I am unable to find the file /etc/php.d/snmp.ini ?
But I am unable to find the file /etc/php.d/snmp.ini ?
-
- Cacti User
- Posts: 137
- Joined: Mon Feb 11, 2008 3:46 am
snmp installation ?
Your right. Even i too followed the same link. According to the link http://docs.cacti.net/node/412 , it says that i need to install these 3 (net-snmp, net-snmp-libs and net-snmp-utils ) in my redh hat e5. but i have installed which is available from the net
1) $ rpm -i net-snmp-5.4.x.svn200803270330-1.1.x86_64.rpm (net-snmp)
2) $ rpm -i net-snmp-devel-5.4.x.svn200803270330-1.1.x86_64.rpm
3) $ rpm -i net-snmp-perlmods-5.4.x.svn200803270330-1.1.x86_64.rpm
Note: i hope from my installation i have not installed net-snmp-libs and net-snmp-utils. Since i am not able to find these util and libs for my "RedHat RHEL 5 x86_64 64 bits"
Please check the above rpm installation is sufficient. ?
1) $ rpm -i net-snmp-5.4.x.svn200803270330-1.1.x86_64.rpm (net-snmp)
2) $ rpm -i net-snmp-devel-5.4.x.svn200803270330-1.1.x86_64.rpm
3) $ rpm -i net-snmp-perlmods-5.4.x.svn200803270330-1.1.x86_64.rpm
Note: i hope from my installation i have not installed net-snmp-libs and net-snmp-utils. Since i am not able to find these util and libs for my "RedHat RHEL 5 x86_64 64 bits"
Please check the above rpm installation is sufficient. ?
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Please stick with the RedHat packages :
Code: Select all
$ rpm -qa net-snmp*
net-snmp-devel-5.3.1-19.el5_1.4
net-snmp-libs-5.3.1-19.el5_1.4
net-snmp-5.3.1-19.el5_1.4
net-snmp-utils-5.3.1-19.el5_1.4
$ rpm -qa php*
php-mysql-5.1.6-15.el5
php-devel-5.1.6-15.el5
php-mcrypt-5.1.6-15.el5.centos.1
php-pdo-5.1.6-15.el5
php-ldap-5.1.6-15.el5
php-cli-5.1.6-15.el5
php-mbstring-5.1.6-15.el5
php-5.1.6-15.el5
php-gd-5.1.6-15.el5
php-common-5.1.6-15.el5
php-snmp-5.1.6-15.el5
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
-
- Cacti User
- Posts: 137
- Joined: Mon Feb 11, 2008 3:46 am
Error
Thanks for your reply.
Actually i get adivced to use net-snmp-5.4.x for my OS "RedHat RHEL 5 x86_64 64 bits" . Since you confirmed that you get succeede in your installation, so I planned to install your version of "net-snmp" .
net-snmp-5.3.1-19.el5_1.4.x86_64.rpm
net-snmp-devel-5.3.1-19.el5_1.4.x86_64.rpm
net-snmp-libs-5.3.1-19.el5_1.4.x86_64.rpm
net-snmp-utils-5.3.1-19.el5_1.4.x86_64.rpm
When i tried to install i am getting the following error,
$ rpm -i net-snmp-5.3.1-19.el5_1.4.x86_64.rpm
warning: net-snmp-5.3.1-19.el5_1.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
libsensors.so.3()(64bit) is needed by net-snmp-5.3.1-19.el5_1.4.x86_64
$ rpm -i net-snmp-devel-5.3.1-19.el5_1.4.x86_64.rpm
warning: net-snmp-devel-5.3.1-19.el5_1.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
beecrypt-devel is needed by net-snmp-devel-5.3.1-19.el5_1.4.x86_64
elfutils-devel is needed by net-snmp-devel-5.3.1-19.el5_1.4.x86_64
net-snmp = 1:5.3.1 is needed by net-snmp-devel-5.3.1-19.el5_1.4.x86_64
$ rpm -i net-snmp-libs-5.3.1-19.el5_1.4.x86_64.rpm
warning: net-snmp-libs-5.3.1-19.el5_1.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
file /usr/lib64/libnetsnmp.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libnetsnmpagent.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libnetsnmphelpers.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libnetsnmpmibs.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libnetsnmptrapd.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libsnmp.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
rpm -i net-snmp-utils-5.3.1-19.el5_1.4.x86_64.rpm
warning: net-snmp-utils-5.3.1-19.el5_1.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
net-snmp = 1:5.3.1 is needed by net-snmp-utils-5.3.1-19.el5_1.4.x86_64
Actually i get adivced to use net-snmp-5.4.x for my OS "RedHat RHEL 5 x86_64 64 bits" . Since you confirmed that you get succeede in your installation, so I planned to install your version of "net-snmp" .
net-snmp-5.3.1-19.el5_1.4.x86_64.rpm
net-snmp-devel-5.3.1-19.el5_1.4.x86_64.rpm
net-snmp-libs-5.3.1-19.el5_1.4.x86_64.rpm
net-snmp-utils-5.3.1-19.el5_1.4.x86_64.rpm
When i tried to install i am getting the following error,
$ rpm -i net-snmp-5.3.1-19.el5_1.4.x86_64.rpm
warning: net-snmp-5.3.1-19.el5_1.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
libsensors.so.3()(64bit) is needed by net-snmp-5.3.1-19.el5_1.4.x86_64
$ rpm -i net-snmp-devel-5.3.1-19.el5_1.4.x86_64.rpm
warning: net-snmp-devel-5.3.1-19.el5_1.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
beecrypt-devel is needed by net-snmp-devel-5.3.1-19.el5_1.4.x86_64
elfutils-devel is needed by net-snmp-devel-5.3.1-19.el5_1.4.x86_64
net-snmp = 1:5.3.1 is needed by net-snmp-devel-5.3.1-19.el5_1.4.x86_64
$ rpm -i net-snmp-libs-5.3.1-19.el5_1.4.x86_64.rpm
warning: net-snmp-libs-5.3.1-19.el5_1.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
file /usr/lib64/libnetsnmp.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libnetsnmpagent.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libnetsnmphelpers.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libnetsnmpmibs.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libnetsnmptrapd.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
file /usr/lib64/libsnmp.so.10.0.1 from install of net-snmp-libs-5.3.1-19.el5_1.4 conflicts with file from package net-snmp-libs-5.3.1-14.el5
rpm -i net-snmp-utils-5.3.1-19.el5_1.4.x86_64.rpm
warning: net-snmp-utils-5.3.1-19.el5_1.4.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a7048f8d
error: Failed dependencies:
net-snmp = 1:5.3.1 is needed by net-snmp-utils-5.3.1-19.el5_1.4.x86_64
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
You'd better install the packages using RHN or "yum".
Here's a list of packages :
lm_sensors-2.10.0-3.1
beecrypt-4.1.2-10.1.1
beecrypt-devel-4.1.2-10.1.1
elfutils-0.125-3.el5
elfutils-devel-0.125-3.el5
And use "rpm -Uvh" instead of "rpm -ivh" when you want to update packages.
Here's a list of packages :
lm_sensors-2.10.0-3.1
beecrypt-4.1.2-10.1.1
beecrypt-devel-4.1.2-10.1.1
elfutils-0.125-3.el5
elfutils-devel-0.125-3.el5
And use "rpm -Uvh" instead of "rpm -ivh" when you want to update packages.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
And please, don't open 10 threads for the same problem
I've deleted the redundant threads, and left one for each of your issues (SNMP, MySQL, PHP, RRDtool).
I've deleted the redundant threads, and left one for each of your issues (SNMP, MySQL, PHP, RRDtool).
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
-
- Cacti User
- Posts: 137
- Joined: Mon Feb 11, 2008 3:46 am
Thanks
Thanks for your advice. Will do the same.
Just to second that, I use RHES5 on a 64-bit system. Works perfectly but I used 'yum install net-snmp'. This way you get the official Red Hat package (assuming default repositories).fmangeant wrote:You'd better install the packages using RHN or "yum".
But I seem to remember I had to create snmpd.conf manually, no big deal as you are just overriding default values.
-
- Cacti User
- Posts: 137
- Joined: Mon Feb 11, 2008 3:46 am
Timeout: No Response from localhost: /etc/hosts.allow
cat /etc/hosts.allow
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL:PARANOID:deny
sshd:ALL
#snmpd:ALL
#ALL:ALL:DENY
----------------
$ /etc/init.d/snmpd restart
snmpwalk -v 1 -c public localhost versiontag
Timeout: No Response from localhost
Could any one help us for the same.
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the '/usr/sbin/tcpd' server.
#
ALL:PARANOID:deny
sshd:ALL
#snmpd:ALL
#ALL:ALL:DENY
----------------
$ /etc/init.d/snmpd restart
snmpwalk -v 1 -c public localhost versiontag
Timeout: No Response from localhost
Could any one help us for the same.
-
- Cacti User
- Posts: 137
- Joined: Mon Feb 11, 2008 3:46 am
Net-SNMP / RedHat RHEL 5 x86_64 64 bits
I had spend more time on this.
Better i planned to uninstall net-SNMP from my operating system RedHat RHEL 5 x86_64 64 bits and I will install freshly such as
net-snmp-5.3.1-14.el5.x86_64.rpm
net-snmp-libs-5.3.1-14.el5.x86_64.rpm
net-snmp-utils-5.3.1-14.el5.x86_64.rpm
i had seen there is no mib files available from the above rpm package. Could you please tell us which file will contain the required mib files.
Better i planned to uninstall net-SNMP from my operating system RedHat RHEL 5 x86_64 64 bits and I will install freshly such as
net-snmp-5.3.1-14.el5.x86_64.rpm
net-snmp-libs-5.3.1-14.el5.x86_64.rpm
net-snmp-utils-5.3.1-14.el5.x86_64.rpm
i had seen there is no mib files available from the above rpm package. Could you please tell us which file will contain the required mib files.
I have Redhat 5 NET-SNMP version 5.3.1 but i am not able to start services i got failed is there any issue related this version of any extra configuration option this required
i have add only one line in /etc/snmp/snmpd.conf
rocommunity cacti
and restart services i got
[root@test snmp]# /etc/init.d/snmpd start
Starting snmpd: [ OK ]
[root@test snmp]# /etc/init.d/snmpd stop
Stopping snmpd: [FAILED]
[root@test snmp]#
any help for this ?
i have add only one line in /etc/snmp/snmpd.conf
rocommunity cacti
and restart services i got
[root@test snmp]# /etc/init.d/snmpd start
Starting snmpd: [ OK ]
[root@test snmp]# /etc/init.d/snmpd stop
Stopping snmpd: [FAILED]
[root@test snmp]#
any help for this ?
Who is online
Users browsing this forum: No registered users and 0 guests