<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.rainsbrook.co.uk/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.rainsbrook.co.uk/wiki/feed.php">
        <title>Rainsbrook - nagios</title>
        <description></description>
        <link>https://www.rainsbrook.co.uk/wiki/</link>
        <image rdf:resource="https://www.rainsbrook.co.uk/wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-01T01:14:35+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_active_server&amp;rev=1472136932&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_apcpowerstrip&amp;rev=1410789518&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_mandrill&amp;rev=1445947688&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_ntp-simple&amp;rev=1734956926&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_openvpnas&amp;rev=1659349421&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_opsgenie_whoisoncall&amp;rev=1613645066&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_visa&amp;rev=1477175300&amp;do=diff"/>
                <rdf:li rdf:resource="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:start&amp;rev=1461073149&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.rainsbrook.co.uk/wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>Rainsbrook</title>
        <link>https://www.rainsbrook.co.uk/wiki/</link>
        <url>https://www.rainsbrook.co.uk/wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_active_server&amp;rev=1472136932&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-08-25T14:55:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>check_active_server</title>
        <link>https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_active_server&amp;rev=1472136932&amp;do=diff</link>
        <description>Check active server in DNS failover pair


root@com6-prod-nagios01:/etc/nagios3/conf.d# cat /root/nagios/check_primary_server/check_primary_server.sh 
#!/bin/bash
#Written Andrew Stringer 18/08/2016.
#Purpose is to show which is the master server from a xxxx


#Retcode 0 = OK
#Retcode 1 = Warning
#Retcode 2 = Critical
#Retcode 3 = Unknown


#Nagios Config
#Check which service is Live!

#define command {
#                command_name    check_primary_server
#                command_line    /usr/l…</description>
    </item>
    <item rdf:about="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_apcpowerstrip&amp;rev=1410789518&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-09-15T13:58:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>check_apcpowerstrip</title>
        <link>https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_apcpowerstrip&amp;rev=1410789518&amp;do=diff</link>
        <description>check_apcpowerstrip.sh

Intro

This plugin checks the load on APC powerstrips and alerts on over current conditions. It can test both single and A/B bank strips.



Command definition


define command{
        command_name    check_apcpowerstrip
        command_line    /usr/lib/nagios/plugins/check_apcpowerstrip.sh '$HOSTADDRESS$' '$ARG1$' '$ARG2$'
        }</description>
    </item>
    <item rdf:about="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_mandrill&amp;rev=1445947688&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-10-27T12:08:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>check_mandrill</title>
        <link>https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_mandrill&amp;rev=1445947688&amp;do=diff</link>
        <description>check_mandrill.pl

Background

This plugin checks the status of mail volumes sent through the Mandrill mail server. It checks for a minimum number of messages sent and alerts if the number is less than the warning/critical thresholds. If it is expected that mail is sent on a regular basis, if less than the expected amount is sent it may indicate a problem on Mandrill, most likely billing or reputation related. You should be checking the mail host which sends to the Mandrill</description>
    </item>
    <item rdf:about="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_ntp-simple&amp;rev=1734956926&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-12-23T12:28:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>check_ntp-simple</title>
        <link>https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_ntp-simple&amp;rev=1734956926&amp;do=diff</link>
        <description>check_ntp-simple

Intro

I told an NTP joke once. The timing was perfect.

This plugin checks the status of ntp on a server. For remote hosts, this should be run over ssh with check_by_ssh plugin. It uses ntpq to look for valid candidates (+) or a locked server (*) and will alert if the status is anything other than locked.</description>
    </item>
    <item rdf:about="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_openvpnas&amp;rev=1659349421&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-08-01T10:23:41+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>check_openvpnas</title>
        <link>https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_openvpnas&amp;rev=1659349421&amp;do=diff</link>
        <description>check_openvpnas.sh

&lt;https://exchange.nagios.org/directory/Plugins/Security/VPN-Software/check_openvpnas-2Esh/details&gt;

Intro

Uses sacli to get licensed connections, licence usage and checks for licence expiry. (LicUsage, VPNSummary or LICexpire)
This check needs to be run locally via the check_by_ssh plugin. As a result, you will need to have ssh keys setup. This runs as user nagios on the OpenVPN AS server, but as sacli requires root to run, two lines are required in sudo to allow this:-</description>
    </item>
    <item rdf:about="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_opsgenie_whoisoncall&amp;rev=1613645066&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-02-18T10:44:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>check_opsgenie_whoisoncall</title>
        <link>https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_opsgenie_whoisoncall&amp;rev=1613645066&amp;do=diff</link>
        <description>check_opsgenie_whoIsOnCall

This is a bash script to check who is listed as the on call person in Ops Genie ( &lt;https://www.opsgenie.com&gt; ). If you don't know what OpsGenie is, this check is probably useless to you.

The OpsGenie API returns a json formatted output, this check uses</description>
    </item>
    <item rdf:about="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_visa&amp;rev=1477175300&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-10-22T22:28:20+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>check_visa</title>
        <link>https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:check_visa&amp;rev=1477175300&amp;do=diff</link>
        <description>Nagios check_visa.sh

Background Info

This check was written as a spoof for a colleague who was working remotely in a slightly dodgy country. It bases the validity of the visa solely on the load of the system running the Nagios check, it does not of course, actually check a visa status.</description>
    </item>
    <item rdf:about="https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:start&amp;rev=1461073149&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-04-19T13:39:09+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://www.rainsbrook.co.uk/wiki/doku.php?id=nagios:start&amp;rev=1461073149&amp;do=diff</link>
        <description>Nagios Plugins

check_openvpnas.sh - check licences and connections

check_apcpowerstrip.sh - Check APC powerstrip over snmp 

check_ntp-simple - Checks if ntp is locked. 

check_mandrill.pl - Checks mail volumes sent via Mandrill API 

check_visa.sh - Spoof check for visa expiration</description>
    </item>
</rdf:RDF>
