How to submit a passive check from shell?

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
Hussk
Posts: 3
Joined: Thu Nov 19, 2020 8:23 am

How to submit a passive check from shell?

Post by Hussk »

Nagios Core

How would I create passive checks for hosts within Nagios for testing purposes?

I know how to submit passive checks from the interface. However, I have not found a way/info to execute it from the terminal/script from within Nagios.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: How to submit a passive check from shell?

Post by benjaminsmith »

HI @Hussk,

Check the Nagios Core docs, the PROCESS_HOST_CHECK_RESULT and PROCESS_SERVICE_CHECK_RESULT will accomplish this.

https://assets.nagios.com/downloads/nag ... hecks.html

https://assets.nagios.com/downloads/nag ... and_id=115

Hope that helps!
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked