Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Passive Montitoring #36

Open
wcs-bjogus opened this issue Aug 14, 2023 · 2 comments
Open

Support for Passive Montitoring #36

wcs-bjogus opened this issue Aug 14, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@wcs-bjogus
Copy link

With NSClient++ you could create internal schedulers.

This seems to currently be missing from snclient.

When running a passive setup where the agent has an internal schedule and pushes the results to a naemon/nagios that uses freshness on the configured checks/services support for some internal scheduler would be amazing!

Extra points if it works with the current nsclient++ config 👍

@sni sni added enhancement New feature or request help wanted Extra attention is needed labels Aug 14, 2023
@sni
Copy link
Contributor

sni commented Aug 14, 2023

Right now this is not on the roadmap. But i'll happily review any PR if somebody wants to look into this.

@SNapier
Copy link

SNapier commented May 26, 2024

I was able to script around this and create an active/passive environment that used a single active command to execute an external script and receive the passive data via NRDP more akin to an echo than a scheduled broadcast of a passive signal.

I have an example available using the windows ssh enabled proxy plugin released by Nagios.
https://github.com/SNapier/check_sshr_nrdpr

Pulling the Powershell from the wrapper you can see it's creating a payload and then forwarding the data to NRDP. With this scenario you can still enable and configure freshness checks on your deployed passive services as they function no different in NagiosXI than before.

One added benefit is that you gain the ability to set the requesting service as the parent of all the passive services deployed so when you have an issue or situational outage your monitoring engine can help absorb some of the alert storm without putting added pressure on your upstream notification systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants