Java Program And Command For Events - Novell ZENWORKS NETWORK ACCESS CONTROL 5.0 - 09-22-2008 User Manual

Table of Contents

Advertisement

<testName>Service packs</testName>
<testClass>CheckServicePacks</testClass>
<testModule>checkServicePacks</testModule>
<testGroup>OperatingSystem</testGroup>
<actionsTaken>none</actionsTaken>
<severity>2</severity>
<statusCode>1</statusCode>
<resultCode>pass</resultCode>
<resultMessage>All required service packs are installed</resultMessage>
<policyId>LowSecurity</policyId>
<mostSeriousInRun>false</mostSeriousInRun>
<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>
-------------------------------------------------------------------------

12.4.2 Java Program and Command for Events

Novell ZENworks Network Access Control 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 — The URL of the JMS message bus. If not specified, it defaults to tcp://
localhost:61616
topicName — The topic on which events are published. By default, all Novell ZENworks
Network Access Control events are published on the topic nac.requests
login and password — Not set by default
The following python script is provided with Novell ZENworks Network Access Control that can be
invoked when an event occurs:
/usr/local/nac/bin/snmpScript.py — Generates an SNMP trap when an event is received.
288 Novell ZENworks Network Access Control Users Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zenworks network access control 5.0

Table of Contents