Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Activate check_temper
  • Loading branch information
NEMS Linux committed Jul 30, 2019
1 parent d4d9c66 commit 25a6a20
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/1.5/nagios/nconf_patches/check_temper.cfg
@@ -0,0 +1,5 @@
define command {
command_name check_temper
command_line $USER1$/check_temper $ARG1$ $ARG2$ $ARG3$ $ARG4$
}

10 changes: 10 additions & 0 deletions data/1.5/nagios/plugins/check_temper
@@ -1,5 +1,15 @@
#!/usr/bin/env php
<?php

/*
check_temper - Version 1.0
Written by Robbie Ferguson for NEMS Linux
-----
1.0 - July 29, 2019 - Initial release
*/

if (count($argv) >=5) {
array_shift($argv);
$data['crit_low'] = intval(array_shift($argv));
Expand Down

0 comments on commit 25a6a20

Please sign in to comment.