Nagios Core NCPA Host Status

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nayo86
Posts: 4
Joined: Sun Nov 29, 2015 6:10 am

Nagios Core NCPA Host Status

Post by nayo86 »

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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Core NCPA Host Status

Post by rkennedy »

To better understand, can you post a screen shot of what you're seeing?
Former Nagios Employee
nayo86
Posts: 4
Joined: Sun Nov 29, 2015 6:10 am

Re: Nagios Core NCPA Host Status

Post by nayo86 »

The one in red.
Attachments
Screen Shot 2015-12-20 at 12.57.40 PM.png
Screen Shot 2015-12-20 at 12.57.40 PM.png (15.81 KiB) Viewed 1948 times
nayo86
Posts: 4
Joined: Sun Nov 29, 2015 6:10 am

Re: Nagios Core NCPA Host Status

Post by nayo86 »

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.
Attachments
nawaf.png
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Core NCPA Host Status

Post by rkennedy »

What is the error received for each service check? Can you include that with your screenshot?
Former Nagios Employee
nayo86
Posts: 4
Joined: Sun Nov 29, 2015 6:10 am

Re: Nagios Core NCPA Host Status

Post by nayo86 »

There is no error for the service checks, only the the host name appears "RED"
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Nagios Core NCPA Host Status

Post by rkennedy »

From the Nagios machine, can you ping the host?
Former Nagios Employee
Locked