52
9. Ifyouwanttherulelimitedtomessagesfromspecifichosts,domains,
orhostnamepatterns,clickDNSHostname,andthenenteraDNS
HostnamePattern.
Notes:
l
TheDNSHostnamePatternruleiscase-sensitive.
l
WhenUseRegularExpressionsinthisRuleischecked,regular
expressionscanbeusedinplaceof“like”statements.Formore
informationaboutusingregularexpressionsinNPM,seeRegular
Expression
Pattern
Matching
.
WhenUseRegularExpressionsinthisRuleischecked,regular
expressionscanbeusedinplaceof“like”statements.Formoreinformation
aboutusingregularexpressionsinNPM,seeRegular
Expression
Pattern
Matching
.
10. IfyouwanttherulelimitedonthebasisofcontentwithintheTrap
Detailsfield,clickTrapDetails,andthenenteraTrapDetailsPattern.
Note:WhenUseRegularExpressionsinthisRuleischecked,regular
expressionscanbeusedinplaceof“like”statements.Formoreinformation
aboutusingregularexpressionsinNPM,seeRegular
Expression
Pattern
Matching
.
11. Ifyouwanttherulelimitedtospecificcommunitystrings,click
CommunityString,andthenenterappropriatepatternsintheCommunity
StringPatternfield.
Note:WhenUseRegularExpressionsinthisRuleischecked,regular
expressionscanbeusedinplaceof“like”statements.Formoreinformation
aboutusingregularexpressionsinNPM,seeRegular
Expression
Pattern
Matching
.
12. ClickConditions,andthengeneratetriggerconditionsasfollows:
l
Selectappropriateobjectidentifiersandcomparisonfunctionsfrom
thelinkedcontextmenus.
l
ClickBrowse(…)toInsertan“OR”condition,toInsertan“AND”
condition,ortoDeleteaconditionasnecessary.
13. Ifyouwanttolimitruleapplicationtowithinaspecificperiodoftime,
clickTimeofDay,checkEnableTimeofDaychecking,enterthetime
period,andthenselectdaysoftheweekonwhichtoapplytherule.
631
ConfiguringTrapViewerFiltersandAlerts
27
Chapter21:MonitoringSNMPTraps
Notes:
l
EnablingTimeofDaycheckingcreatesmoreoverheadfortheCPU.
l
Messagesreceivedoutsidethespecifiedtimeframewillnottrigger
alerts.
14. Ifyouwanttosuppressalertactionsuntilaspecifiednumberoftraps
arrivethatmatchtherule,clickTriggerThreshold,checkDefineaTrigger
ThresholdforthisRule,andthenenteroptionvaluesasappropriate.
Note:WhenSuspendfurtherAlertActionsforischecked,alertactions
arenotsentuntilthespecifiedamountoftimehasexpired.Oncethetime
periodhasexpired,onlynewalertsaresent.Allalertsthataresuppressed
duringthetimeperiodwillneverbesent.
15. ClickAlertActions.
16. Ifyouareassociatinganewactiontotherule,clickAddNewAction,
andthenselectanactionfromthelisttoconfigure.
17. Ifyouareeditinganexistingactionfortherule,selectanactionfromthe
list,clickEditAction,andthenconfiguretheaction.
18. Usethearrowbuttonstosettheorderinwhichactionsareperformed.
Note:Actionsareprocessedintheordertheyappear,fromtoptobottom.
19. Ifyouneedtodeleteanaction,selecttheaction,andthenclickDelete
Action.
20. ClickOKtosaveallchangesandreturntoTrapViewerSettings.
21. Usethearrowbuttonstoarrangetheorderinwhichtherulesareapplied.
Note:Rulesareprocessedintheordertheyappear,fromtoptobottom.
632
31
AvailableTrap Alert Actions
Thefollowingactionsareavailablefortrapalerts.
DiscardtheTrap
AllowsyoutodeleteunwantedtrapssenttotheSNMPTrapserver.
TagtheTrap
Allowsyoutoaddacustomtagtoreceivedtraps.Ensureyouincludethe
Tagcolumnintheviewerwhenassigningatag.
FlagtheTrapwithaspecificcolor
AllowsyoutoassignaspecificcolorfordisplayintheOrionWebConsole
andtheTrapViewertoflagtrapsmatchingtherule.
LogtheTraptoafile
Allowsyoutospecifyafileandaseriesofvariableswithwhichtotagtraps
senttothefile.Ensureyouhavealreadycreatedthelogfileyouwanttouse.
Thealertcannotcreateafile.
WindowsEventLog
AllowsyoutowriteamessagetoalocaloraremoteWindowsEventLog.
ForwardtheTrap
AllowsyoutospecifytheIPaddressorhostnameandtheportonwhichto
forwardthetrap.SpecifytheIPaddressorhostnameofthetrapdestination
andtheportonwhichthetrapshouldbesent.CheckIncludeSource
AddresstoincludetheIPaddressofthetrapsource.
Playasound
AllowsyoutoplayasoundwhenamatchingSNMPtrapisreceived.
TexttoSpeechoutput
Allowsyoutodefineaspecificspeechengine,thespeed,pitch,volume,
andmessagetoread.
Executeanexternalprogram
Allowsyoutospecifyanexternalprogramtolaunchusingabatchfile.This
actionisusedwhencreatingrealtimechangenotificationsinNPM.
633
AvailableTrapAlertActions
VB.NET PDF - Convert PDF with VB.NET WPF PDF Viewer Create PDF from Word. Create PDF from Excel. Create PDF Create PDF from Text. PDF Export. Convert PDF to Word (.docx to PDF. Image: Remove Image from PDF Page. Image
extracting data from pdf to excel; extract data from pdf form to excel
20
Chapter21:MonitoringSNMPTraps
ExecuteanexternalVBScript
AllowsyoutolaunchaVBScriptusingtheselectedscriptinterpreterengine
andasavedscriptfile.
SendaWindowsNetMessage
AllowsyoutosendaWindowsNetmessageeithertoaspecificcomputeror
toanentiredomainorworkgroup.
Note:TheonlyoperatingsystemssupportingWindowsNetMessagingon
whichSolarWindssupportsOrioninstallationsareWindowsServer2003
andWindowsXP.SolarWindsonlysupportsOrionevaluationsonWindows
XP.
SendanE-mail/Page
Allowsyoutosendanemailfromaspecifiedaccounttoanaddress,usinga
specificSMTPserver,andcontainingacustomizablesubjectandmessage.
StopProcessingTrapRules
StopstheprocessingofSNMPtraprulesforthematchingtrap.
Changethestatusofaninterface
SolarWindsNPMcanchangethestatusofaninterfacefromwhichatrapis
received.Designatethestatustowhich.theinterfaceshouldchange.
634
46
Trap Alert Variables
ThefollowingvariablescanbeusedintrapalertmessageswiththeOrionTrap
Server.Eachvariablemustbeginwithadollarsignandbeenclosedincurly
bracesas,forexample,${VariableName}.
Note:Trapalertsmayalsouseanyvalidnodevariables.Formoreinformation
aboutnodealertvariables,seeOrion
Variables
and
Examples
.
TrapDate/TimeVariables
TrapDate/Time
Variable
Description
${AbbreviatedDOW}
Currentdayoftheweek.Threecharacter
abbreviation.
${AbbreviatedMonth}
Currentmonthoftheyear.Threecharacter
abbreviation.
${AMPM}
AMorPMcorrespondingtocurrenttime(beforeor
afternoon)
${D}
Currentdayofthemonth
${DD}
Currentdayofthemonth(twodigitnumber,zero
padded)
${Date}
Currentdate.(MM/DD/YYYYformat)
${DateTime}
Currentdateandtime.(MM/DD/YYYYHH:MMformat)
${Day}
Currentdayofthemonth
${DayOfWeek}
Currentdayoftheweek.
${DayOfYear}
Numericdayoftheyear
${H}
Currenthour
${HH}
Currenthour.Twodigitformat,zeropadded.
${Hour}
Currenthour.24-hourformat
635
TrapAlertVariables
45
Chapter21:MonitoringSNMPTraps
TrapDate/Time
Variable
Description
${LocalDOW}
Currentdayoftheweek.Localizedlanguageformat.
${LongDate}
Currentdate.(DAYNAME,MONTHDAY,YEAR
format)
${LongTime}
CurrentTime.(HH:MM:SSAM/PMformat)
${M}
Currentnumericmonth
${MM}
Currentmonth.Twodigitnumber,zeropadded.
${MMM}
Currentmonth.Threecharacterabbreviation.
${MMMM}
Fullnameofthecurrentmonth
${MediumDate}
Currentdate.(DD-MMM-YYformat)
${MediumTime}
Currenttime.(HH:MMAM/PMformat)
${Minute}
Currentminute.Twodigitformat,zeropadded.
${MonthName}
Fullnameofthecurrentmonth
${S}
Currentsecond.
${Second}
Currentsecond.Twodigitformat,zeropadded.
${Time}
CurrentTime.(HH:MMformat)
${Year}
Fourdigityear
${Year2}
Twodigityear
OtherTrapVariables
TrapVariable
Description
${Application}
SolarWindsapplicationinformation
${Community}
Nodecommunitystring
636
26
TrapVariable
Description
${Copyright}
Copyrightinformation
${DNS}
Fullyqualifiednodename
${Hostname}
Hostnameofthedevicetriggeringthetrap
${IP_Address}
IPaddressofdevicetriggeringalert
${Message}
MessagesentwithtriggeredtrapanddisplayedinTrap
DetailsfieldofTrapViewer
${MessageType} Nameortypeoftraptriggered
${Raw}
Rawnumericalvaluesforpropertiessentinthe
correspondingincomingtrap.
${RawValue}
Rawnumericalvaluesforpropertiessentinthe
correspondingincomingtrap.Thesameas${Raw}.
${vbData1}
Trapvariablebindingvalue
${vbName1}
Trapvariablebindingname
637
OtherTrapVariables
41
Chapter 22: Creating Custom
Properties
Custompropertiesareuser-definedfieldssuchascountry,building,assettag,or
serialnumber,thatyoucandefine,associatewithmonitorednetworkobjects,and
storeinyourSolarWindsdatabase.Afterpropertiesareadded,theyareavailable
forusethroughouttheOrionWebConsole.
Note:CustompropertiesmustusetheLatin1characterset.
Afewexamplesofhowcustompropertiesmaybeusedareasfollows:
l
Addinformationtonodes,suchascontact,owner,orsupportcontract
l
Addacustompropertythatisusedasanaccountlimitationonnodes
l
Addacustompropertytonodesforgroupingthemontheweborinareport
l
Addacustompropertyanddisplayitasanannotationonachart
Acollectionofthemostcommonlyusedpropertiesisprovidedwithyour
SolarWindsOrioninstallation,butitiseasytocreateadditionalcustomproperties
tomeetyourpreciserequirements.Formoreinformation,seeCreating
a
Custom
Property
.
Onceacustompropertyisdefined,theImportWizardallowsyoutopopulateit
fromeitheratext-orcomma-delimitedfile.Formoreinformation,seeImporting
Custom
Property
Data
.
Alternatively,ifyouwanttoapplyapropertytoonlyafewobjects,youmay
choosetodothisusingtheEditview.Formoreinformation,seeEditing
Custom
Properties
.
Youmayalsocreateexternalrecordsbyexportingcustompropertiesfrom
selectedobjectsasaspreadsheet.Formoreinformation,seeExporting
Custom
Property
Data
.
638
32
Chapter22:CreatingCustomProperties
Creating aCustomProperty
ThefollowingprocedureshowshowtocreateacustompropertyinSolarWinds
OrionproductsusingOrionPlatform2012.2andhigher.
Note:OlderversionsofSolarWindsOrionPlatformServicesusedtheCustom
PropertyEditorapplicationtocreateandmanagecustomproperties.TheCustom
PropertyEditorisnotaccessiblethroughtheOrionWebConsole..
Tocreateacustomproperty:
1. LogontotheOrionWebConsoleasanadministrator.
2. ClickSettingsinthetoprightcornerofthewebconsole.
3. ClickManageCustomPropertiesintheNode&GroupManagement
grouping.
4. ClickAddCustomProperty.
5. Selecttheobjecttypeforthepropertyyouarecreating,andclickNext.
Note:TheobjecttypesavailabledependontheSolarWindsOrionproducts
installed,butallinstallationswillallowyoutocreateNodeandVolume
customproperties.
6. Tocreateapropertybasedonapredefinedtemplate,clickthe
appropriatePropertyTemplate.
Note:PropertytemplatesprovidegenericsuggestionsintheProperty
NameandDescriptionfieldsandanappropriatecustompropertyFormat.
7. EditthePropertyNameandDescriptionfields,asappropriate.
Note1:Propertynamesmustbeuniqueforanobjecttype.Forexample,
youcanhaveseparateCommentpropertiesforNodes,Volumes,andother
objecttypes.
Note2:Propertynamesarenotcase-sensitive.Youcannot,forexample,
havepropertiescalledCommentandcommentforthesameobjecttype.
8. SelecttheFormatfortheproperty.IfTextisselected,youcanclickEditto
specifyamaximumlength.
9. ChecktheRequiredpropertyboxifthispropertymustbeprovidedforall
objects.
639
30
10. Torestrictthevaluesthatother,non-administrativeuserscanselect
fortheproperty,checkRestrictvalues,andentervalues,asfollows:
a. EnteranappropriateValue.
b. ClickAddValue.
c. Repeatuntilyouhaveenteredallvalidpropertyvalues.
d. Todeleteaprovidedpropertyvalue,clickXnexttothepropertyto
delete.
11. IfcreatingacustompropertyforNodes,selecttheUsagefortheproperty.
12. ClickNext.
13. ClickSelect<Objects>,then,usingoneofthefollowingmethods,sortthe
objectstowhichthepropertycanbeapplied:
l
SelectanappropriateGroupby:criterion,andclickthegroupthat
includestheobjectstowhichyouwanttoapplythisproperty
l
Usethesearchtooltosearchfortheobjectstowhichyouwantto
applytheselectedproperty
14. Checktheobjectstowhichyouwanttheselectedcustompropertytoapply.
Note:Click>toexpandlistedobjectstoviewavailablechildobjects.
15. ClickAddtoaddthecheckedobjectstotheSelected<Objects>list.
16. IntheSelected<Objects>list,checktheobjectstowhichyouwantthe
selectedpropertytoapply,andclickSelect<Objects>.
17. Fortheselectedobjects,enterorselecttherequiredvalue.
18. Ifyouareeditingapropertywithrestrictedvalues,andwanttoadda
newpropertyvalue,selectAddnewvaluefromthedrop-downmenu,and
entertheNewvalue.
19. Toapplytheselectedpropertytoadifferentgroupofobjects,clickAdd
more,selectobjectsasindicatedabove,andclickSubmit.
640
CreatingaCustomProperty
Documents you may be interested
Documents you may be interested