pw group delete_monitor

The pw group delete_monitor command deletes monitor instances present in a group.

pw group delete_monitor -f <filter> 

Where the value of <filter> is either device=<device>

or

mtype=<monitortypeName>

or

mname=<monitorInstanceName>

or

mtype=<monitortypeName>,mname=<monitorInstanceName>

For example,

  • To delete all the monitor instances of Solaris Process from a group called "solproc," run the following command:
    pw group delete_monitor solproc -f mtype=SolarisProcess 
  • To delete all the monitor instances having the instance name "dbsrv" from a group called "solproc," run the following command:
    pw group delete_monitor solproc -f mname=dbsrv" 
  • To delete all the monitor instances of type WebURL and having the instance names as "yahoo" from a group called "weburls," run the following command:
    pw group delete_monitor weburls -f mtype=WebURL,mname=yahoo
Was this page helpful? Yes No Submitting... Thank you

Comments