You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to know how exactly to add the check_saml_sso plugin to nagios to monitor IdPs.
Does the plugin have dependencies that are prerequisite? Please let me know so that I can use it appropriately in my Nagios server instance. Or help us with documentation to apply it correctly and as expected.
The text was updated successfully, but these errors were encountered:
The plugin is written in Perl, and its dependencies are at the top of the file. For reference, they're:
Monitoring::Plugin
LWP::UserAgent
HTTP::Request
URI
URI::Escape
Time::HiRes
Date::Parse
POSIX
all should be available from your OS's package repository or CPAN, but the one that's most likely missing is Monitoring::Plugin. That comes from https://www.monitoring-plugins.org/. It is included by default in e.g. OMD.
Beyond that, is arguments are documented in the typical way nagios-compatible plugins work, with --help and -?.
To perform a simple test of whether you can reach a SAML-IdP's login page, you need to initiate the test at a service that can log into that service. For instance, we do:
where sp.example.ac.za is a service provider with the Shibboleth Native SP that already has metadata for the identity provider at idp.example.ac.za. This avoids needing metadata exchange specifically for monitoring.
That works by scraping the resulting login page for the typical fields used to indicate password-based login, and those are configurable with --userfield and --passfield.
Complete end-to-end tests are supported if-and-only-if the IdP uses a web-form based username & password login. In that case, you can supply test credentials with --user and --pass and specify a string to look for in the final response with --ok. This was designed to work with SimpleSAMLphp's autotest module, in which case you can try:
Hello,
I would like to know how exactly to add the check_saml_sso plugin to nagios to monitor IdPs.
Does the plugin have dependencies that are prerequisite? Please let me know so that I can use it appropriately in my Nagios server instance. Or help us with documentation to apply it correctly and as expected.
The text was updated successfully, but these errors were encountered: