
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
hi all,
i need to call opcmon with multiple options like the following:
/opt/OV/bin/OpC/opcmon mypolicy=$value -object $object -option opt1=$val1 -option opt2=val2
When i tried that syntax i got the message:
"No opcmon value received and reached max waiting intervals for policy mypolicy".
I also tried the following syntax:
/opt/OV/bin/OpC/opcmon mypolicy=$value -object $object-option "opt1=$val1,opt2=val2"
but i got the same message.
I tried to find a relative example in the manual with no luck.
Which is the correct syntax for opcmon?
Thank you in advance,
Costas
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Costas,
The following syntax works for me:
opcmon mypolicy=1234 -object "myobject" -option "option1=value1" -option "option2=value2"
Note that I am using an "-option" parameter for each option that I want to send.
I hope this helps.
Best regards,
Martina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello Costas,
The following syntax works for me:
opcmon mypolicy=1234 -object "myobject" -option "option1=value1" -option "option2=value2"
Note that I am using an "-option" parameter for each option that I want to send.
I hope this helps.
Best regards,
Martina

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
hi Martina,
Thank you for your answer.
Best Regards,
Costas