mods1data SNMP Setup for Zabbix Monitoring

The modsNdata machines are old Fedora Core 3.

On 29-April-2015, we opened up the SNMP service to allow monitoring of disks from Zabbix.

already had snmp installed:
rpm -qa | grep -i snmp
net-snmp-devel-5.2.1.2-FC3.1
net-snmp-perl-5.2.1.2-FC3.1
net-snmp-libs-5.2.1.2-FC3.1
net-snmp-5.2.1.2-FC3.1
net-snmp-utils-5.2.1.2-FC3.1
php-snmp-4.3.11-2.6

Edit the snmp.conf file in /etc/snmp to set a "security name" and to open up the systemview.
# First, map the community name "public" into a "security name"

#       sec.name  source          community
###com2sec notConfigUser  default       public
com2sec notConfigUser  default       XXXXXX (see IT or Kellee or Rick for value)

.....

# Make at least  snmpwalk -v 1 localhost -c public system fast again.
#       name           incl/excl     subtree         mask(optional)
#view    systemview    included   .1.3.6.1.2.1.1
#view    systemview    included   .1.3.6.1.2.1.25.1.1
view systemview included .1

Then restart the service and test it:
service snmpd restart
chkconfig
chkconfig snmpd on
snmpwalk -c modssnmp -v 2c 127.0.0.1
gives loads of data

Initially we changed the base repository for yum to find old fedora core 3. The file is /etc/yum.repos.d/fedora.repo
But we didn't need to since it was already installed
Topic revision: r1 - 29 Apr 2015, KelleeSummers
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback