Submitted this to NConf forums and they advised this is a Nagios question:
Is it possible to reference a variable defined in resource.cfg (ie; $USER5$ =
abc) in _SNMP_COMMUNITY?
We would like to be able to modify all hosts SNMP strings with a single entry
rather than having to do so across all hosts. And of course still be able to
use $_HOSTSNMP_COMMUNITY$ in our service checks so that $_HOSTSNMP_COMMUNITY$ =
_SNMP_COMMUNITY = $USER5$ = abc, thus having Nagios read 'abc'.
Does anyone know of an alternate approach to accomplish same?
Our current version is Nagios 3.0.6 and NConf 1.2.5
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null