6.10.2016

How to add SNMP to Suse Linux SLES

How to Configure SNMP in Novell SuSE Linux Enterprise Server (SLES) 11

Re-posting from: http://www.dell.com/support/article/us/en/04/SLN266085?c=us&l=en&s=bsd&cs=04
MY METHOD: 
Start the GUI by typing "startx" or init 3. 
Right-click on desktop and open up a terminal session
gedit /etc/snmp/snmp.conf
gedit /etc/snmp/snmpd.conf

Type the following command "rocommunity <community name> <ip of SNMP server>
Example
rocommunity public 10.5.0.231

or for Read and Write
rwcommunity public 10.5.0.231

Entire Subnet Examples
rocommunity public 10.5.0.0/24
rocommunity public 10.10.0.0/16

Restart the service
rcsnmpd restart



Article Summary:This article provides information on how to configure SNMP in Novell SuSE Linux Enterprise Server (SLES) 11.
  • Ensure you are logged in as 'root'
  • Install 'net-snmp' package
    • # yast2 -i net-snmp
  • Configure SNMP :
    • # snmpconf -i
    • Input 'all' (Read in and merge the SNMP configuration files)
    • Select option #1 (Create snmpd.conf)
    • Select option #1 (Access Control Setup)
    • Select option #3 (Setup a read-only access community)
      • Input community name
      • Press 'Enter' (Allow all hosts and network addresses to access the community)
      • Press 'Enter' (Not restrict the community to any specific OID)
    • Input 'finished'
    • Input 'finished'
    • Input 'quit'
  • Restart SNMP daemon
    • # rcsnmpd restart

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.