OMSA
From VVCWiki
Jump to navigationJump to search
Dell OpenManage Server administrator
Changing user roles
- modify file /opt/dell/srvadmin/etc/omarolemap
vchepkov * Administrator
For some reason, when ldap is used, group membership syntax does not work in OMSA 6.4
- restart web connector
service dsm_om_connsvc restart
Alert Management
This enable e-mails for hardware alerts in OMSA
- Create a script to emit e-mails:
/root/bin/sendalert
#!/bin/sh
LIST=root@localhost
HOST=`hostname`
ALERT=$1
/bin/mail -s "Hardware Alert" $LIST <<M_S_G
OMSA has detected alert $ALERT at $HOST
M_S_G
- Create a file with events to monitor:
events
batterywarn batteryfail fanwarn fanfail hardwarelogwarn hardwarelogfull intrusion memprefail memfail systempowerwarn systempowerfail systempeakpower powersupply powersupplywarn processorwarn processorfail redundegrad redunlost tempwarn tempfail voltwarn voltfail watchdogasr storagesyswarn storagesysfail storagectrlwarn storagectrlfail pdiskwarn pdiskfail vdiskwarn vdiskfail enclosurewarn enclosurefail storagectrlbatterywarn storagectrlbatteryfail
- Enable events monitoring:
for alert in `cat events` ; do
echo $alert
omconfig system alertaction event=$alert execappath="/root/bin/sendalert $alert"
omconfig system alertaction event=$alert broadcast=true
done