Quantcast
Channel: Systems Management - Wiki
Viewing all articles
Browse latest Browse all 335

SNMP Parameters Configuration tool for Dell iDRACs

$
0
0
Revision 1 posted to Systems Management - Wiki by Dell - Ashish Gupta on 6/17/2015 10:58:18 AM

This Perl based command line utility can be used to configure the SNMP parameters for multiple iDRACs (Dell 12th and later generation of PowerEdge Servers) so that the Dell Servers can be discovered and monitored using variety of console through SNMP protocol.

The SNMP parameters that can be configured using this utility are:

  • SNMP Agent Version
  • SNMP Agent Port
  • SNMP Agent Community String
  • SNMP Trap Destination IP
  • SNMP Trap Port
  • SNMP Trap Format

This utility automatically enables the “SNMP Agent” and “SNMP Trap Destination” based on the parameters used. Following Prerequisites should be met for executing this utility.

  • Perl version 5.8.8 or later is installed.
  • The Net::IP Perl module is installed.
  • Remote RACADM utility for Linux Management Station

 

To use this utility:

  • Download and extract the tool to a directory on the local disk.
  • Go through the “README” that is packaged with this utility.
  • Execute the command with required command line parameters.

Command Format:

perl dell_set_snmp_configuration.pl -U <User Name> -P <Password> -H <host IP Address> | -F <IP Address list file> [-V <SNMP protocol version>] [-C <SNMP Community String>] [-ap <SNMP agent port number>] [-tp <SNMP trap port>] [-td <IP Address of trap destination>] [-i <Index value for trap destination>] [-tf <SNMP trap format>] [-f]

 

Available options:

Options

Particulars

-h,          --help

Display help text

-U,         --username

idrac login user name

 -P,         --password

idrac login password

-H,          --host

Host IP address or FQDN name

-F,          --filewithiplist

File with absolute path containing list of newline separated IP address or FQDN names

-V,          --version

SNMP protocol version. Allowed options: 0(All SNMP v1/v2/v3) and 1(SNMP v3)

-C,          --community

SNMP Community String

-ap,        --agentport

SNMP Agent port

-td,         --destaddress

IP Address of the SNMP trap destination

-i,           --trapdestindex

Index value for trap destination table, Use “-I” along with option “-td” and “-f”

-tp,         --alertport

SNMP Trap port

-tf,         --trapformat

Specifies the SNMP Trap format. Allowed options: 0(SNMP v1) and 1(SNMP v2)

-f,           --force

Force set SNMP configuration without prompting administrator choice

               Note: SNMP Trap Port and SNMP Agent Port should have different values.

 

Known Issues & Resolutions:

  • "No free trap destination found" error is displayed for "-F" & "-H" option even if there are free index available in iDRAC for setting trap destination.

 

Resolution: Ensure that you have installed RACADM properly.  The RPM “srvadmin-idracadm7” should be installed at the end.

 

Tags: racadm, iDRAC, snmp

Viewing all articles
Browse latest Browse all 335

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>