NSM How To
Here I have the most important NSM Commands for r3.1 and r11.1

See the Console Events
# caugui conlog
The Console Events, Actions
# caugui msgaction
The Console Events, Records (Handle Alarms)
# caugui msgrecord
What objects is NSM monitoring?
# dsm_report
Output All WINDOWS Alarms configured for a
# mkconfig caiW2kOs@
# ldconfig caiW2kOs@
Output All EXCHANGE Alarms configured for a
# mkconfig MSExchAgnt > MSExchAgnt_configset.txt
modify the parameters value you would like to turn off the monitoring and then import back
# ldconfig MSExchAgnt_configset.txt
# MSExchAgnt stop
# MSExchAgnt start
Note: THe exchange agent has to run from local (agent) the Windows can be managed directly from the NSM Server

What hosts do I manage?
# wvgethosts -o hosts
What objects of each server is being monitored and what threshold?
# ebrowser -@ SRVNSM01 -o "SWAJ022@SRVNSM01"
Node View
# nodeview -target SERVERX
::Add alarmS::
1-Define Rules
# caugui msgrecord
Here you should enter what words will show up in the Event Console, and use * as wild charchter, ex:
msgId: * * * * * * COLD-START
2-Alarm Actions
#caugui msgaction
What actions will the alarm generate, eX:
Text: INFO – Detecta arranque agente &5 ACtion: SENDOPER Color: Blue (WILL DISPLAY MESSAGE IN BLUE)
Text: call blat ctexto.txt -t email@o.com -s “Agente NSM Arrancado en &NODEID at &DATEGEN &TIMEGEN” -q Action: Command (WILL SEND EMAIL)
3-Reload (after making changes, or new alarms):
# oprcmd opreload
Or
# opreload
Or
# unicntrl stop opr
# unicntrl start opr

::End add alarmS::
Discovery alternate command:
# dscvrone -n -h CLASE
Example for a Cisco ROuter
# dscvrbe -V 9 -N -6 No -F No -7 IP
More Settings
# caugui settings
2D Map
# catng2d
::BACKUP / RESTORE::
Backup all config (txt):
# oprdb script db > msg.cfg
To Restore/IMPORT:
# cautil -f msg.cfg
Backup to Binary:
# oprdb save msg.cfg
Restore from Binary:
# orpdb load msg.cfg
::BACKUP / RESTORE::
“C:Program FilesCASharedComponentsCCSDiscoveryBIN”
Discover/Classify and add to MDB a single node:
# dscvrbe -7 SERVERX -v 9
What traps being recieved?
# awm_catch POOL_EVENT TRAP
ViewAgent:
# abrowser -@ 10.119.136.155 -c browser.caiWinA3 -h server.domain.com -s admin -p 6665 -z 2 "
Command to execute Response file :
-Could make a batch file to remote map to z: and execute the line
# setup.exe -nt="c:nsmagent.rsp" -cdpath="z:NSMCDWindows"
When Migrating from 3 to r11 (in Agents Version 3 SNMP_TRAP have to go to DSM server, r11 is ok localhost)
Define all SNMP Access config, Community, Permissions, Ports.
& Define Trap Destination
C:Program FilesCASharedComponentsCCSATSERVICESCONFIGAWS_SADMIN
aws_sadmin.cfg
Could also define type of traps to be sent to a different Server.
Can also go to
MCC > AWsadmin > Trap Destination > IP
Via Web
http://

Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *