Skip to end of metadata
Go to start of metadata
Table of Contents

New CAS documentation site

Icon

CAS documentation has moved over to apereo.github.io/cas, starting with CAS version 4.x. The wiki will no longer be maintained. For the most recent version of the documentation, please refer to the aforementioned link.

Overview

Here is a plugins for those who are interested to check cas service by nagios and if available, it displays performance data.

The plugin makes a cas authentication to display service status, so you need a valid CAS account for make it working. For retrieving performance data it does a login into the CAS service managment application and look for the "<nagiosPerformanceData></nagiosPerformanceData>" tags. The user account needs rights to acces the service managment application to get performance data.

Here an example to call the plugin :

perl check_cas.pl -H cas.example.fr -u "/cas/login" -p 443 -l username -a password -r "Log In Successful"

Download

https://github.com/petegallagher/nagios-cas-plugin

Performance data

To activate performance data, you have to add these lines in "WEB-INF/view/jsp/services/viewStatistics.jsp" just before tag "<%@include file="includes/bottom.jsp" %>" : 

 

The plugins just get the data betweens  "nagiosPerformanceData" and add it after the plugins state. If data are not well formated, performance data will not work.

  • No labels