Where are the variables defined in resources.cfg stored in Nagios XI?
Thanks!
Where are the resource variables in Nagios XI
-
kendallchenoweth
- Posts: 195
- Joined: Fri Sep 13, 2013 10:43 am
Re: Where are the resource variables in Nagios XI
Same file as core.
Access them as you would in core with $USERn$.
Code: Select all
/usr/local/nagios/etc/resource.cfgFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
kendallchenoweth
- Posts: 195
- Joined: Fri Sep 13, 2013 10:43 am
Re: Where are the resource variables in Nagios XI
I want to use the database as the primary storage of templates, etc. Once edited, does this file need to be imported into Nagios? Is this file read dynamically or does something need to be restarted in order to activate the changes?
Re: Where are the resource variables in Nagios XI
Nope. Nagios (and XI ) use this file in place.kendallchenoweth wrote:Once edited, does this file need to be imported into Nagios?
The file is only read on nagios startup, so any changes to resource.cfg will need to be accompanied by a nagios service restart.kendallchenoweth wrote: Is this file read dynamically or does something need to be restarted in order to activate the changes?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
kendallchenoweth
- Posts: 195
- Joined: Fri Sep 13, 2013 10:43 am
Re: Where are the resource variables in Nagios XI
Thanks for your help!!!