-
Notifications
You must be signed in to change notification settings - Fork 1
Home
stleary edited this page Mar 11, 2015
·
4 revisions
Events v1.3 8 July, 2005
Usage:
Events sensorURL -u user/passwd [-o open params] [-g get params] [-v]
-u sensor username and password, separated by the / char
-o The URI parameters included in the Open Subscription request.
Open params: force (5.0 only), startTime, events, alertSeverities,
errorSeverities, ustHaveAlarmTraits, mustNotHaveAlarmTraits.
Force: yes, no
Events: evStatus, evShunRqst, evError, evLogTransaction (4.x only),
evAlert (4.x only), evIdsAlert (5.0 only).
Concatenate multiple event types with the + char.
AlertSeverities: informational, low, medium, high.
ErrorSeverities: debug, warning, error, fatal.
-g The URI parameters included in the Get Subscription request.
Get params: timeout, maxNbrOfEvents, confirm.
-v Verbose for additional messages.
Events.java establishes an event subscription to 4.x and 5.0 sensors,
using sessionCookies.
Press control-C to exit.
Example: get error events starting at the current time from a 5.0 sensor
java Events https://192.168.1.1/cgi-bin/sdee-server -u cisco/password
-o "force=yes&events=evError" -g timeout=10
Example: get all events from a 4.x sensor
java Events https://192.168.1.2/cgi-bin/event-server -u cisco/password
-o startTime=0 -g timeout=10