Skip to content
Permalink
Browse files

Activate check_temper

  • Loading branch information...
NEMS Linux
NEMS Linux committed Jul 30, 2019
1 parent d4d9c66 commit 25a6a20c2c3d0d72d136bddcb198abb296d39d3f
Showing with 15 additions and 0 deletions.
  1. +5 −0 data/1.5/nagios/nconf_patches/check_temper.cfg
  2. +10 −0 data/1.5/nagios/plugins/check_temper
@@ -0,0 +1,5 @@
define command {
command_name check_temper
command_line $USER1$/check_temper $ARG1$ $ARG2$ $ARG3$ $ARG4$
}

@@ -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));

0 comments on commit 25a6a20

Please sign in to comment.
You can’t perform that action at this time.