On 29 Jul 2009, at 08:35, Henry wrote:

Hello!

For service check arguments there are macros available. Nagios 3
supports a load of them, opsview shows only a few ("macro help").
Though it's not mentioned I tried to use $HOSTNAME$ and failed.

So my humble question: Is $HOSTNAME$ supported in opsview? Is there a
list of supported macros (aside of "macro help")?

All nagios macros are supported in the relevant context's with a few additional ones we put in too (such as $SNMP_COMMUNITY$)

$HOSTNAME$ is supported anywhere $HOSTADDRESS$ is used - as I test i just amended $HOSTADDRESS$ to $HOSTNAME$ in the args on 'Opsview Agent' and it worked without issue for all servers that had the correct 'Host Title' assigned

  Duncs

--
Duncan Ferguson
Senior Developer

<<inline: image001.gif>>




Opsera Limited | Unit 69 Suttons Business Park
Reading | Berkshire | RG6 1AZ | UK

Phone:   +44 (0) 845 057 7887
Mobile:   +44 (0) 7968 148 748
Skype:   duncan_j_ferguson     Email:   [email protected]
www.opsera.com

Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB.

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

Reply via email to