This is the action command:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H %host% -c firemotd -a '--Theme Html'Code: Select all
Running: <b>/usr/local/nagios/libexec/check_nrpe -H nagiosqa -c firemotd -a '--Theme Html'</b><BR><hr><pre><!doctype html><html lang="en">
<head>
<title>FireMotD</title>
<meta charset="utf-8">
<meta name="description" content="Generates a HTML MotD message">
<meta name="author" content="OutsideIT">
<!-- <script src="js/scripts.js"></script> -->
<style type="text/css">
h1 {
font-family: Verdana;
font-weight: normal;
color: #024457;
font-weight: bold;
padding-left:30px;
}
table a:link {
color: #666;
font-weight: bold;
text-decoration:none;
}
table a:visited {
color: #999999;
font-weight:bold;
text-decoration:none;
}
table a:active,
table a:hover {
color: #bd5a35;
text-decoration:underline;
}
table {
font-family:Arial, Helvetica, sans-serif;
color:#666;
font-size:12px;
text-shadow: 1px 1px 0px #fff;
ba
</pre><hr><div style='float: right;'><a href='#' onClick="window.location.reload()"><img src='https://nagiosserver/nagiosxi/images/reload.png' alt='Run Command Again' title='Run Command Again'></a> <a href='javascript:window.close();'>[Close]</a></div>Grtz
Willem