net-snmp

Issues related to configuring your network
User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: net-snmp

Post by TrevorH » 2019/03/06 19:44:59

Is the net-snmp-perl package installed?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mickey0
Posts: 61
Joined: 2015/06/16 22:44:38

Re: net-snmp

Post by mickey0 » 2019/03/06 23:32:13

Code: Select all

[user ~] # sudo yum install net-snmp-perl
Package 1:net-snmp-perl-5.7.2-37.el7.x86_64 already installed and latest version
Nothing to do
but typing 'net' and pressing <tab> I got this list:

Code: Select all

net                      netscsid                 net-snmp-config-x86_64   nettle-hash
netaddr                  net-snmp-cert            net-snmp-create-v3-user  nettle-lfib-stream
netreport                net-snmp-config          netstat   
Should I also get 'net-snmp-perl' ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: net-snmp

Post by TrevorH » 2019/03/07 00:06:22

What is the output from rpm -Va net-snmp\*
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

mickey0
Posts: 61
Joined: 2015/06/16 22:44:38

Re: net-snmp

Post by mickey0 » 2019/03/07 10:09:20

It gives only this:

Code: Select all

SM5....T.  c /etc/snmp/snmpd.conf
.M.......  c /etc/snmp/snmptrapd.conf
S.5....T.  c /etc/sysconfig/snmpd

mickey0
Posts: 61
Joined: 2015/06/16 22:44:38

Re: net-snmp

Post by mickey0 » 2019/03/10 12:41:24

Hello,
I've installed every perl module with 'sudo yum install perl*'. More than 500MB but nothing's changed. Also I got this new error:

Code: Select all

rpm -Va net-snmp\*
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
SM5....T.  c /etc/snmp/snmpd.conf
.M.......  c /etc/snmp/snmptrapd.conf
S.5....T.  c /etc/sysconfig/snmpd
What do you suggest? Should I remove every perl* module and reinstall everything?

Post Reply