[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a
Naparuba
naparuba at gmail.com
Tue Feb 28 22:13:02 UTC 2012
The following commit has been merged in the debian/master branch:
commit 0251f0c4215f2731682529eb482a64e85fbaa061
Author: Naparuba <naparuba at gmail.com>
Date: Tue Jan 10 15:22:03 2012 +0100
Add : akcp template. (temperature and humidity probe)
diff --git a/etc/packs/environmental/akcp/commands.cfg b/etc/packs/environmental/akcp/commands.cfg
new file mode 100644
index 0000000..8e8874f
--- /dev/null
+++ b/etc/packs/environmental/akcp/commands.cfg
@@ -0,0 +1,8 @@
+# It can be take there : https://www.monitoringexchange.org/inventory/Check-Plugins/Hardware/Environmental/check_akcp
+
+
+# Look the port N1, warn at 26, crit at 30 degrees
+define command {
+ command_name check_akcp
+ command_line $PLUGINSDIR$/check_akcp.pl -H $HOSTADDRESS$ -C $_HOSTSNMPCOMMUNITY$ -P 1 -w 26 -c 30
+}
diff --git a/etc/packs/environmental/akcp/discovery.cfg b/etc/packs/environmental/akcp/discovery.cfg
new file mode 100644
index 0000000..d1376a9
--- /dev/null
+++ b/etc/packs/environmental/akcp/discovery.cfg
@@ -0,0 +1,8 @@
+# Thanks NMap!
+define discoveryrule {
+ discoveryrule_name AKCP
+ creation_type host
+ osvendor akcp
+ macvendor akcp
+ +use akcp
+}
diff --git a/etc/packs/storage/netapp/temperature.cfg b/etc/packs/environmental/akcp/temperature.cfg
similarity index 62%
copy from etc/packs/storage/netapp/temperature.cfg
copy to etc/packs/environmental/akcp/temperature.cfg
index 0022cb7..4124bd0 100644
--- a/etc/packs/storage/netapp/temperature.cfg
+++ b/etc/packs/environmental/akcp/temperature.cfg
@@ -2,6 +2,6 @@ define service{
service_description Temperature
use generic-service
register 0
- host_name netapp
- check_command check_netapp_temperature
+ host_name linux
+ check_command check_akcp
}
diff --git a/etc/packs/os/linux/templates.cfg b/etc/packs/environmental/akcp/templates.cfg
similarity index 61%
copy from etc/packs/os/linux/templates.cfg
copy to etc/packs/environmental/akcp/templates.cfg
index dee6388..5a6a3e7 100644
--- a/etc/packs/os/linux/templates.cfg
+++ b/etc/packs/environmental/akcp/templates.cfg
@@ -1,6 +1,6 @@
-# The LINUX template. It's a standard host with a simple check_ssh
+# AKCP is a temperature and humidity check box. Great and easy box!
define host{
- name linux
+ name akcp
use generic-host
check_command check_ping
register 0
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list