custom variable definition

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

custom variable definition

Postby pennylane » Mon Sep 26, 2011 3:09 am

Hello all,

I want to define a custom variable in contactgroups.cfg file like below:

define contactgroup{
contactgroup_name admins
_CG_ID 1
alias administrators
members linuxad, windowsad

When I verify the config file it gives me an error:
"Error: Invalid contactgroup object directive '_CG_ID'."

I am using the Nagwin version of Nagios which is for Windows. I tried the same in Nagios on Ubuntu and it is not complaining. Do you have any suggestions?
Posts: 6
Joined: Thu Jul 21, 2011 3:31 am

Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot] and 43 guests