Passive check configuration with ncpa and nsca

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

Passive check configuration with ncpa and nsca

Postby grayloglearn » Wed Jan 15, 2020 8:30 pm

Hi Team,

Can some one tell that how to configure the passive check via nsclient and ncpa.

i have installed the ncpa 2.2.0 in windows. I have given the following details while i am installing

[nrdp]

#
# Connection settings to the NRDP server
# parent = NRDP server location (ex: http://<address>/nrdp)
# token = NRDP server token used to send NRDP results
#
parent =https://172.31.40.170/nrdp (172.31.40.170 this is nagios server IP)
token =Test@123
hostname =172.31.40.170 (windows server IP)

The below is the nrdp.cfg
# AUTO GENERATED NRDP CONFIG FROM WINDOWS INSTALLER
#

[passive checks]

# Host check - This is to stop "pending check" status in Nagios
%HOSTNAME%|__HOST__ = system/agent_version

# Service checks
%HOSTNAME%|CPU Usage = cpu/percent --warning 80 --critical 90 --aggregate avg
%HOSTNAME%|Disk Usage = disk/logical/C:|/used_percent --warning 80 --critical 90 --units Gi
%HOSTNAME%|Swap Usage = memory/swap --warning 60 --critical 80 --units Gi
%HOSTNAME%|Memory Usage = memory/virtual --warning 80 --critical 90 --units Gi
%HOSTNAME%|Process Count = processes --warning 300 --critical 400

Now I am not able to see any service details in nagiosxi unconfigured object :-( Let me know if you need any details.

And please suggest how to do passive checks with nsclient also.
grayloglearn
 
Posts: 204
Joined: Thu Jul 06, 2017 8:55 am

Re: Passive check configuration with ncpa and nsca

Postby Box293 » Wed Jan 15, 2020 10:52 pm

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
 
Posts: 4825
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: Passive check configuration with ncpa and nsca

Postby grayloglearn » Thu Jan 16, 2020 4:18 am

thanks for the replay i am trying to enable monitor first ncpa.
The first URL helped to on this. I have given nagiosIP instead of hostname. I don't know why its not worked.

Can you tell me how to how to send the custom script output to nagios.
We have one script that output should send the data to nagios.
grayloglearn
 
Posts: 204
Joined: Thu Jul 06, 2017 8:55 am

Re: Passive check configuration with ncpa and nsca

Postby Box293 » Thu Jan 16, 2020 5:26 pm

As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
 
Posts: 4825
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia

Re: Passive check configuration with ncpa and nsca

Postby grayloglearn » Fri Jan 17, 2020 4:56 am

thanks for the document.
Can you please clear on this below quires.

Passive checks means client it self it should send the data to nagios right?
We have observed in nagios console it not updated with latest passive checks.
Ex: We have turn on the nagiosxi server and agent which configured passive checks.
the agent is being up from 20 min but still nagios did not receive any services check status from agent. What is the reason for this. the agent is working fine in this server.

If you want to change the passive checks should come every 2 min in the client side where we have change could you please help on this please.
Attachments
ncpafile.txt
(8.7 KiB) Not downloaded yet
grayloglearn
 
Posts: 204
Joined: Thu Jul 06, 2017 8:55 am


Return to Nagios XI

Who is online

Users browsing this forum: Cy8el1us, Google [Bot] and 22 guests