mirror of https://github.com/Icinga/icinga2.git
e05128fa3c
* pass nwc_health check SNMPv3 args only if needed
check_nwc_health fails if any of the SNMPv3 arguments were passed but
the SNMP version 3 protocol was not requested.
For instance the following works:
check_nwc_health --hostname 192.0.2.3 --mode cpu-load \
--protocol 1 --community public
While the following plugin invocation results in an error:
check_nwc_health --hostname 192.0.2.3 --mode cpu-load \
--protocol 1 --community public \
--username joe --authpassword xxx
The superfluous SNMPv3 arguments may easily get inherited e.g. from host
templates.
* string()ify the result of macro() calls
Always convert results of macro("$nwc_health_protocol$") to strings
so both numbers and strings are correctly recognized.
* Revert "string()ify the result of macro() calls"
This reverts commit
|
||
---|---|---|
.. | ||
CMakeLists.txt | ||
big-data.conf | ||
databases.conf | ||
hardware.conf | ||
icingacli.conf | ||
ipmi.conf | ||
logmanagement.conf | ||
metrics.conf | ||
network-components.conf | ||
network-services.conf | ||
operating-system.conf | ||
raid-controller.conf | ||
smart-attributes.conf | ||
storage.conf | ||
systemd.conf | ||
virtualization.conf | ||
vmware.conf | ||
web.conf | ||
windows.conf |