Host Perf Data - add hostgroup

15 views
Skip to first unread message

Kristian Strand

unread,
Apr 4, 2016, 8:47:59 AM4/4/16
to nagrestconf-users
Hi,

Is there any way to include Hostgroup in the HostPerfData output?
I tried adding $HOSTGROUP$ but the output was not desired :)

[HOSTPERFDATA]  1459773950      localhost       $HOSTGROUP$     1.003   PING OK - Packet loss = 0%, RTA = 0.03 ms       rta=0.031000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0

Cheers
Kristian

Mark Clarkson

unread,
Apr 4, 2016, 11:06:17 AM4/4/16
to nagrestc...@googlegroups.com
On 04/04/16 13:47, Kristian Strand wrote:
> [HOSTPERFDATA] 1459773950 localhost $HOSTGROUP$ 1.003
> PING OK - Packet loss = 0%, RTA = 0.03 ms
> rta=0.031000ms;3000.000000;5000.000000;0.000000 pl=0%;80;100;0

Where does that line appear?

Kristian Strand

unread,
Apr 6, 2016, 4:29:08 AM4/6/16
to nagrestconf-users

Hi Mark,

Sorry for that, it was a general Nagios question and not a NagRestConf specific setting.
I found all the Macros supported on the Nagios site and I have the correct syntax now and the output is correct :)

Cheers
Kristian
Reply all
Reply to author
Forward
0 new messages