Java Program And Command For Events - Extreme Networks AG200 User Manual

Version 5.0
Table of Contents

Advertisement

API
<previousResultCode>pass</previousResultCode>
</TestResultInfo>
<TestResultInfo>
<timestamp>1157046206801</timestamp>
<gracePeriod>0</gracePeriod>
<testName>Worms, viruses, and trojans</testName>
<testClass>CheckWormsVirusesAndTrojans</testClass>
<testModule>checkWormsVirusesAndTrojans</testModule>
<testGroup>Software</testGroup>
<actionsTaken>none</actionsTaken>
<debugInfo>None</debugInfo>
<severity>1</severity>
<statusCode>1</statusCode>
<resultCode>pass</resultCode>
<resultMessage>No worms, viruses or trojans were found.</resultMessage>
<policyId>LowSecurity</policyId>
<mostSeriousInRun>false</mostSeriousInRun>
<previousResultCode>pass</previousResultCode>
</TestResultInfo>
</testResults>
<ip>10.1.70.101</ip>
<id>b198ada2-06ce-4e30-bbb9-bcc11ffa777b</id>
<originalTimeStamp>1157046206882</originalTimeStamp>
</MNMDeviceTestedEvent>
-------------------------------------------------------------------------

Java Program and Command for Events

Sentriant AG ships with a sample shell script that invokes Java code that can be used to listen for JMS
events. Invoke the program by entering the following command:
eventListener.sh [-u broker URL] [-t topicName] [-l login -p password]
Where:
broker URL
localhost:61616
topicName
published on the topic
login and password
Two python scripts are provided with Sentriant AG that can be invoked when an event occurs:
/usr/local/nac/bin/snmpScript.py
/usr/local/nac/bin/testScript.py
280
—The URL of the JMS message bus. If not specified, it defaults to
—The topic on which events are published. By default, all Sentriant AG events are
nac.events
—Not set by default
—Generates an SNMP trap when an event is received.
—A sample file to use as a starting point.
tcp://
Sentriant AG Users' Guide, Version 5.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sentriant ag

Table of Contents