I have setup Nagios and Nconf to check our network but I have a problem that I have not yet been able to solve. How do I add custom object variables (_var-name) to a host? I have a number of custom checks that requires custom variables.
eg: output would be
define host{
use generic-host
host_name my-host-name
alias my-host-name-alias
address my-host-name.com
_SSHUSER ausername <- How do I add this i NConf
_CONNECTIONSTRING "jdbc:mysql://my-host-name.com/db_name" <- And this?
hostgroups Linux
}