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
Nagios Core NCPA Host Status
Re: Nagios Core NCPA Host Status
To better understand, can you post a screen shot of what you're seeing?
Former Nagios Employee
Re: Nagios Core NCPA Host Status
The one in red.
- Attachments
-
- Screen Shot 2015-12-20 at 12.57.40 PM.png (15.81 KiB) Viewed 1949 times
Re: Nagios Core NCPA Host Status
Please Ignore the previous snapshot.
For Memory swap usage, CPU load and memory usage, It shows green (as of now the host is offline hence it is red)
but the Host Name is always red.
For Memory swap usage, CPU load and memory usage, It shows green (as of now the host is offline hence it is red)
but the Host Name is always red.
Re: Nagios Core NCPA Host Status
What is the error received for each service check? Can you include that with your screenshot?
Former Nagios Employee
Re: Nagios Core NCPA Host Status
There is no error for the service checks, only the the host name appears "RED"
Re: Nagios Core NCPA Host Status
From the Nagios machine, can you ping the host?
Former Nagios Employee