Menus and Keyword Monitoring Filters
3-21
The sample link.xml file provided with the PortServer CM contains two links, designated by the <link></
link> tags. The first link, identified in the comment field as “for my Sun boxes,” monitors port 15 for four
different keywords: reboot, panic, surootfail and linkdown. If any of these words is detected in the data
stream an email notification is sent to nobody@abc.com. The second link, identified as “for my Cisco
routers,” monitors ports 1-7 for the word, reboot, and sends the notification to nobody@abc.com. Note that
each link can have different email addresses, and that more than one email address may be specified within a
single link.
<filter>
The <filter> tag has two meanings, depending on context:
When it appears inside a <link></link> tag pair, it specifies name of
the filter definition to apply to the specified ports. Multiple <filter>
tags may be used to monitor for several different keywords.
The <filter> tag also appears just inside the <root></root> tag pair. In
this context, it identifies its contents as monitoring and notification
system information, as opposed to menu system information.
Parameter
Description
<link>
defines the parameters for a link - multiple links may be defined by
including multiple <link></link> tag pairs
<snmpTrapIpAddress>
if defined, an SNMP trap will be sent to this address (you can have
more than one)
<sendEmail>
boolean, yes to send an email if trigger happens