Nagios Core NCPA Host Status
Posted: Sun Dec 06, 2015 5:07 am
Hello
Ive installed NCPA Plugin in my MAC OS, all plugins are working fine but for some reason the Host Status is red and not green.
here is the ncpa.cfg file content in the OS.
[listener]
uid = nagios
certificate = adhoc
loglevel = info
ip = 0.0.0.0
gid = nagcmd
logfile = var/ncpa_listener.log
port = 5693
pidfile = var/ncpa_listener.pid
# Available versions: PROTOCOL SSLv2, SSLv3, TLSv1
ssl_version = TLSv1
[passive]
uid = nagios
handlers = nrds,nrdp
loglevel = info
gid = nagcmd
sleep = 60
logfile = var/ncpa_passive.log
pidfile = var/ncpa_passive.pid
[nrdp]
token = n@waf
hostname = Nawaf
parent = https://shamayel.com/nrdp/
[nrds]
URL = None
CONFIG_VERSION = None
TOKEN = None
CONFIG_NAME = None
CONFIG_OS = None
[api]
community_string = n@waf
[plugin directives]
plugin_path = plugins/
.sh = /bin/sh $plugin_name $plugin_args
.ps1 = powershell -ExecutionPolicy Bypass -File $plugin_name $plugin_args
.vbs = cscript $plugin_name $plugin_args //NoLogo
[passive checks]
%HOSTNAME%|CPU Load = /cpu/percent --warning 20 --critical 30
%HOSTNAME%|Memory Swap Usage = /memory/swap/percent --warning 40 --critical 80
%HOSTNAME%|Memory Usage = /memory/virtual/percent --warning 60 --critical 80
Ive installed NCPA Plugin in my MAC OS, all plugins are working fine but for some reason the Host Status is red and not green.
here is the ncpa.cfg file content in the OS.
[listener]
uid = nagios
certificate = adhoc
loglevel = info
ip = 0.0.0.0
gid = nagcmd
logfile = var/ncpa_listener.log
port = 5693
pidfile = var/ncpa_listener.pid
# Available versions: PROTOCOL SSLv2, SSLv3, TLSv1
ssl_version = TLSv1
[passive]
uid = nagios
handlers = nrds,nrdp
loglevel = info
gid = nagcmd
sleep = 60
logfile = var/ncpa_passive.log
pidfile = var/ncpa_passive.pid
[nrdp]
token = n@waf
hostname = Nawaf
parent = https://shamayel.com/nrdp/
[nrds]
URL = None
CONFIG_VERSION = None
TOKEN = None
CONFIG_NAME = None
CONFIG_OS = None
[api]
community_string = n@waf
[plugin directives]
plugin_path = plugins/
.sh = /bin/sh $plugin_name $plugin_args
.ps1 = powershell -ExecutionPolicy Bypass -File $plugin_name $plugin_args
.vbs = cscript $plugin_name $plugin_args //NoLogo
[passive checks]
%HOSTNAME%|CPU Load = /cpu/percent --warning 20 --critical 30
%HOSTNAME%|Memory Swap Usage = /memory/swap/percent --warning 40 --critical 80
%HOSTNAME%|Memory Usage = /memory/virtual/percent --warning 60 --critical 80