Skip to content

Instantly share code, notes, and snippets.

@yuuturn
yuuturn / nagios_check.sh
Created November 29, 2014 15:14
nagios procs check
#!/bin/bash
## base info
DIR=~/
HOSTALIAS=remothost.example.com
HOSTADDRESS=192.0.2.10
SERVICEDESC=nagios
LONGDATETIME=`LANG=en_US.UTF-8 date`
## nagios stat check