In order to make iDNA Applications discoverable by applications like Service Now, this optional package can be installed on an Alma 9 appliance to set up an SNMP server to publish a set of configurable properties. Per default, a pre-defined set of properties will be published, but additional properties may be added by modifying snmpd.conf as described below.
The following properties are available per default:
Short Name | OID | Content | Description |
---|---|---|---|
sysObjectId | .1.3.6.1.2.1.1.2.0 | Manufacturer Model OID | Default value: ".1.3.6.1.4.1.33766.30.7.3" (modification not recommended) |
sysDescr | .1.3.6.1.2.1.1.1.0 | Description | Default value: "iDNA Applications - HCL Domino Analytics by panagenda" |
sysName | .1.3.6.1.2.1.1.5.0 | System Name | Machine network name |
sysContact | .1.3.6.1.2.1.1.4.0 | System Contact | Typically an administrator email address |
sysLocation | .1.3.6.1.2.1.1.6.0 | System Location | Location of the machine (e.g. data center, VMWare farm, ...) |
entPhysicalSerialNum | .1.3.6.1.2.1.47.1.1.1.1.11.0 | Unique Machine ID | Unique identifier string (e.g. GUID generated by Linux command "uuidgen") |
entPhysicalMfgName | .1.3.6.1.2.1.47.1.1.1.1.12.0 | Manufacturer | Default value: "panagenda" |
entPhysicalModelName | .1.3.6.1.2.1.47.1.1.1.1.13.0 | Model or software title | Default value: "iDNA Applications 3" |
Preparation
- Download the package :
https://public.panagenda.com/download/idna/alma9-snmp.zip - Copy zip file to folder /root/ on the appliance (using WinScp)
- Extract contents of zip file:
unzip alma9-snmp.zip
- Check if SNMP is already installed:
systemctl status snmpd.service
- If the service answers, you can SKIP the next paragraph "Install SNMP Server"
Install SNMP Server
- Enter directory "snmp":
cd /root/snmp
- Install packages in folder:
rpm -ivh --force *.rpm
Configure SNMP Server
- Enter directory "snmp":
cd /root/snmp
- Stop SNMP server:
systemctl stop snmpd
- Back up old snmp config file:
mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.orig
- Generate new UUID for next step (copy to notepad for further use):
uuidgen
- Edit snmpd.conf to enter newly generated GUID
nano ./snmpd.conf
- Replace string "GUID" in line .1.3.6.1.2.1.47.1.1.1.1.11.0 with new GUID
Example: override .1.3.6.1.2.1.47.1.1.1.1.11.0 octet_str "6c422afb-b420-4f3b-84ff-cfb9e1431bde" - Check if hostname needs to be overridden (e.g. to show FQDN instead of CN)
Uncomment and edit line .1.3.6.1.2.1.1.5.0 if necessary - Modify "syslocation" and "syscontact" as needed
- Copy new config file to /etc:
cp ./snmpd.conf /etc/snmp/
- Restart SNMP server:
systemctl restart snmpd
- Make sure SNMP service starts at boot time:
systemctl enable snmpd
- Test configuration:
snmpwalk -v2c -c public localhost
and/orsnmpget -v1 -c public localhost .1.3.6.1.2.1.47.1.1.1.1.11.0
- In case of errors, check logs:
systemctl status snmpd
and/orjournalctl