projects
/
sysconfig
/
nagios3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3083b16
)
Fix MySQL check
author
Alex Dehnert
<adehnert@mit.edu>
Sat, 23 Apr 2011 07:27:56 +0000
(
03:27
-0400)
committer
Alex Dehnert
<adehnert@mit.edu>
Sat, 23 Apr 2011 07:27:56 +0000
(
03:27
-0400)
local.d/olinda.cfg
patch
|
blob
|
history
diff --git
a/local.d/olinda.cfg
b/local.d/olinda.cfg
index 0ea1302fc7ec59212ad9c715962ef44797e0d7c5..057f977c4c07ece1e5445b1e699b9826ccc581f8 100644
(file)
--- a/
local.d/olinda.cfg
+++ b/
local.d/olinda.cfg
@@
-36,10
+36,15
@@
define service {
host_name olinda
}
+define command{
+ command_name check_mysql_home
+ command_line env HOME=/var/lib/nagios/ /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$'
+}
+
define service {
name olinda-mysql
use adehnert-service
service_description MYSQL
- check_command check_mysql
+ check_command check_mysql
_home
host_name localhost
}