Thanks jmp242,

>From zensendevent --help:
usage: zensendevent [options] summary

options:
  -h, --help            show this help message and exit
  -d DEVICE, --device=DEVICE
                        device from which this event is sent, default:
                        localhost
  -p COMPONENT, --component=COMPONENT
                        component from which this event is sent, default: ''
  -k EVENTCLASSKEY, --classkey=EVENTCLASSKEY
                        eventClassKey for this event, default: ''
  -s SEVERITY, --severity=SEVERITY
                        severity of this event: Critical, Error, Warn, Info,
                        Debug, Clear
  -c EVENTCLASS, --class=EVENTCLASS
                        event class for this event, default: ''
  --port=PORT           xmlrpc server port, default: 8081
  --server=SERVER       xmlrpc server, default: localhost
  --auth=AUTH           xmlrpc server auth, default: admin:zenoss

I think I got all the switch inside the zensendevent command I listed above, 
except for --auth and --port since I not need it to send event from external.. 
the scripts works without the --auth and the --port.

But where is the switch for eventKey? is it the same the same as EVENTCLASSKEY 
(-k)? Sorry for this stupid question. It just I haven't fully grasp on Event 
concept in regards of zensendevent sending eventKey.

How I gonna accomplish that (putting eventKey) since I need to summary with the 
date (as shown above) and I did not found the switch in zensendevent --help?

Thanks!




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=30324#30324

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to