[packages/nagios-plugin-check_postgres] check_postgres.cfg does not seem to be finished;
glen
glen at pld-linux.org
Sat Nov 7 13:40:30 CET 2015
commit b78ee4b8db5faf028b820fbe1f3a8287e1e9cd28
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Nov 7 14:40:25 2015 +0200
check_postgres.cfg does not seem to be finished;
check_postgres.cfg | 4 ++--
nagios-plugin-check_postgres.spec | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/nagios-plugin-check_postgres.spec b/nagios-plugin-check_postgres.spec
index fffee25..b1be3cd 100644
--- a/nagios-plugin-check_postgres.spec
+++ b/nagios-plugin-check_postgres.spec
@@ -1,6 +1,7 @@
# TODO:
# Add docs
# Fix service file
+# - check_postgres.cfg - add working sample!
%define plugin check_postgres
%include /usr/lib/rpm/macros.perl
Summary: Nagios plugin to check postgresql
diff --git a/check_postgres.cfg b/check_postgres.cfg
index eff334c..0014b13 100644
--- a/check_postgres.cfg
+++ b/check_postgres.cfg
@@ -7,8 +7,8 @@ define command {
define service {
use generic-service
- name template
- service_description template
+ name postgres
+ service_description postgres
register 0
normal_check_interval 5
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_postgres.git/commitdiff/b78ee4b8db5faf028b820fbe1f3a8287e1e9cd28
More information about the pld-cvs-commit
mailing list