Need Command to put Event to incvisu

All those commands that we don't really use very often, but that we should ! Documented or not, they worth it !
Post Reply
spynet

Need Command to put Event to incvisu

Post by spynet »

Hi, know enyone a command to set up an event that i can get through with incvisu?

for example:
(102)cs> put event 1101 ..Parameters.."info message"

Then I want to see the event like this:
(102)cs> incvisu
12/10/09 11:11:11 001002M|---/--/-/---|=1:1101=info message

I need the event to supervise the cpu status using the twin command for the Alarm Set to ring.

Thanks
Eliott_DUP

Re: Need Command to put Event to incvisu

Post by Eliott_DUP »

Just one way for example

Code: Select all

/DHS3bin/oneshot/mtcl/pingevt -g m -t 0 -n 1 -s "Your message" 1>/dev/null 2>/dev/null  
13/10/09 20:31:11 001001M|---/--/-/---|=2:1150=external alarm : Your major msg
13/10/09 20:31:11 001001M|---/--/-/---|=3:1125=external alarm : Your minor msg
13/10/09 20:31:11 001001M|---/--/-/---|=4:1101=external alarm : Your warning msg
13/10/09 20:31:11 001001M|---/--/-/---|=1:1175=external alarm : Your critical msg

Code: Select all

(101)OXE> /DHS3bin/oneshot/mtcl/pingevt  -h
pingevt [-g [wmMC]] [-t tempo] [-n -1..n] [-s "string"]
        -g(ravite) w(arning) m(inor) M(ajor) C(ritical)
        -t delay in millisec between emission
        -n -1 : infinite emission, 0..n nb of emission
        -s "string" : default text is 'pingevt seq #seq'
                      string max length is 19
   warning  is incident id 1101
   minor    is incident id 1125
   Major    is incident id 1150
   Critical is incident id 1175
Post Reply

Return to “Usefull commands”