Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES 2013-03-21 13:25:10 UTC (rev 11900)
+++ trunk/CHANGES 2013-03-21 13:31:15 UTC (rev 11901)
@@ -11,6 +11,7 @@
Any new Opspacks will be installed upon future upgrades
New Opspack: MySQL Server, replacing existing MySQL
New Opspack: Apache HTTP Server, replacing existing Apache HTTP
+ Updated Opspack: OS Unix Agentless, using SNMP
NOTICES:
Removed OS - Linux Advanced opspack from fresh installs
FIXES:
Modified: trunk/opsview-core/import/opspacks_source/os-unix-agentless/config.json
===================================================================
--- trunk/opsview-core/import/opspacks_source/os-unix-agentless/config.json 2013-03-21 13:25:10 UTC (rev 11900)
+++ trunk/opsview-core/import/opspacks_source/os-unix-agentless/config.json 2013-03-21 13:31:15 UTC (rev 11901)
@@ -2,29 +2,49 @@
"attribute" : [],
"hosttemplate" : [
{
- "description" : "Agentless monitors for Unix / Linux. Requires that Nagios plugins are installed",
- "managementurls" : [
- {
- "name" : "ssh",
- "url" : "ssh://$HOSTADDRESS$"
- }
- ],
+ "description" : "Unix agentless monitoring using SNMP and check_snmp_* plugins",
+ "managementurls" : [],
"name" : "OS - Unix Agentless",
"servicechecks" : [
{
"exception" : null,
- "name" : "Load Average",
+ "name" : "SNMP CPU Usage",
"timed_exception" : null
},
{
"exception" : null,
- "name" : "Storage Utilisation",
+ "name" : "SNMP Current users",
"timed_exception" : null
},
{
"exception" : null,
- "name" : "System Memory",
+ "name" : "SNMP FS Usage",
"timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "SNMP Interface Status",
+ "timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "SNMP Memory Usage",
+ "timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "SNMP System info",
+ "timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "SNMP TCP Connections",
+ "timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "SNMP Uptime",
+ "timed_exception" : null
}
]
}
@@ -32,9 +52,9 @@
"servicecheck" : [
{
"alert_from_failure" : "1",
- "args" : "-H $HOSTADDRESS$ -C \"/usr/local/nagios/libexec/check_load -w 3,2,2, -c 6,4,4\"",
+ "args" : "-H $HOSTADDRESS$ -v $SNMP_VERSION -C '$SNMP_COMMUNITY$' -U '$SNMPV3_USERNAME$' -a '$SNMPV3_AUTHPROTOCOL$' -P '$SNMPV3_AUTHPASSWORD$' -e '$SNMPV3_PRIVPROTOCOL$' -x '$SNMPV3_PRIVPASSWORD$' -p $SNMP_PORT$ -w 5 -c 8",
"attribute" : null,
- "calculate_rate" : null,
+ "calculate_rate" : "no",
"cascaded_from" : null,
"check_attempts" : "3",
"check_freshness" : "0",
@@ -45,7 +65,7 @@
"critical_comparison" : null,
"critical_value" : null,
"dependencies" : [],
- "description" : "Check system load average via SSH",
+ "description" : "CPU usage via SNMP (Unix/Linux compatible) - 1 minute load average by default",
"event_handler" : "",
"flap_detection_enabled" : "1",
"freshness_type" : "renotify",
@@ -53,18 +73,19 @@
"label" : null,
"level" : 0,
"markdown_filter" : "0",
- "name" : "Load Average",
+ "name" : "SNMP CPU Usage",
"notification_interval" : null,
"notification_options" : "w,c,r,u,f",
"oid" : null,
"plugin" : {
- "name" : "check_by_ssh"
+ "name" : "check_snmp_loadavg"
},
"retry_check_interval" : "1",
"sensitive_arguments" : "1",
"servicegroup" : {
"name" : "OS - Unix Agentless"
},
+ "snmptraprules" : [],
"stale_state" : "0",
"stale_text" : "",
"stale_threshold_seconds" : "3600",
@@ -75,9 +96,9 @@
},
{
"alert_from_failure" : "1",
- "args" : "-H $HOSTADDRESS$ -C \"/usr/local/nagios/libexec/check_disk -w 5% -c 2% -p /\"",
+ "args" : "-H $HOSTADDRESS$ -v $SNMP_VERSION -C '$SNMP_COMMUNITY$' -U '$SNMPV3_USERNAME$' -a '$SNMPV3_AUTHPROTOCOL$' -P '$SNMPV3_AUTHPASSWORD$' -e '$SNMPV3_PRIVPROTOCOL$' -x '$SNMPV3_PRIVPASSWORD$' -p $SNMP_PORT$ -w 75 -c 90",
"attribute" : null,
- "calculate_rate" : null,
+ "calculate_rate" : "no",
"cascaded_from" : null,
"check_attempts" : "3",
"check_freshness" : "0",
@@ -88,7 +109,7 @@
"critical_comparison" : null,
"critical_value" : null,
"dependencies" : [],
- "description" : "Check root partition utilisation via SSH",
+ "description" : "System uptime via SNMP (Unix/Linux compatible)",
"event_handler" : "",
"flap_detection_enabled" : "1",
"freshness_type" : "renotify",
@@ -96,18 +117,19 @@
"label" : null,
"level" : 0,
"markdown_filter" : "0",
- "name" : "Storage Utilisation",
+ "name" : "SNMP Current users",
"notification_interval" : null,
"notification_options" : "w,c,r,u,f",
"oid" : null,
"plugin" : {
- "name" : "check_by_ssh"
+ "name" : "check_snmp_nousers"
},
"retry_check_interval" : "1",
"sensitive_arguments" : "1",
"servicegroup" : {
"name" : "OS - Unix Agentless"
},
+ "snmptraprules" : [],
"stale_state" : "0",
"stale_text" : "",
"stale_threshold_seconds" : "3600",
@@ -118,9 +140,9 @@
},
{
"alert_from_failure" : "1",
- "args" : "-H $HOSTADDRESS$ -C \"/usr/local/nagios/libexec/check_memory -w 90 -c 98\"",
+ "args" : "-H $HOSTADDRESS$ -v $SNMP_VERSION -C '$SNMP_COMMUNITY$' -U '$SNMPV3_USERNAME$' -a '$SNMPV3_AUTHPROTOCOL$' -P '$SNMPV3_AUTHPASSWORD$' -e '$SNMPV3_PRIVPROTOCOL$' -x '$SNMPV3_PRIVPASSWORD$' -p $SNMP_PORT$ -w 85 -c 90 -m",
"attribute" : null,
- "calculate_rate" : null,
+ "calculate_rate" : "no",
"cascaded_from" : null,
"check_attempts" : "3",
"check_freshness" : "0",
@@ -131,7 +153,7 @@
"critical_comparison" : null,
"critical_value" : null,
"dependencies" : [],
- "description" : "Check system memory utilisation via SSH",
+ "description" : "Filesystem usage via SNMP (Unix/Linux compatible)",
"event_handler" : "",
"flap_detection_enabled" : "1",
"freshness_type" : "renotify",
@@ -139,18 +161,19 @@
"label" : null,
"level" : 0,
"markdown_filter" : "0",
- "name" : "System Memory",
+ "name" : "SNMP FS Usage",
"notification_interval" : null,
"notification_options" : "w,c,r,u,f",
"oid" : null,
"plugin" : {
- "name" : "check_by_ssh"
+ "name" : "check_snmp_fsutil"
},
"retry_check_interval" : "1",
"sensitive_arguments" : "1",
"servicegroup" : {
"name" : "OS - Unix Agentless"
},
+ "snmptraprules" : [],
"stale_state" : "0",
"stale_text" : "",
"stale_threshold_seconds" : "3600",
@@ -158,6 +181,226 @@
"volatile" : "0",
"warning_comparison" : null,
"warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -v $SNMP_VERSION -C '$SNMP_COMMUNITY$' -U '$SNMPV3_USERNAME$' -a '$SNMPV3_AUTHPROTOCOL$' -P '$SNMPV3_AUTHPASSWORD$' -e '$SNMPV3_PRIVPROTOCOL$' -x '$SNMPV3_PRIVPASSWORD$' -p $SNMP_PORT$ -i eth0",
+ "attribute" : null,
+ "calculate_rate" : "no",
+ "cascaded_from" : null,
+ "check_attempts" : "3",
+ "check_freshness" : "0",
+ "check_interval" : "5",
+ "checktype" : {
+ "name" : "Active Plugin"
+ },
+ "critical_comparison" : null,
+ "critical_value" : null,
+ "dependencies" : [],
+ "description" : "README! Interface status via SNMP (Unix/Linux compatible) eth0 by default",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "SNMP Interface Status",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r,u,f",
+ "oid" : null,
+ "plugin" : {
+ "name" : "check_snmp_ifstatus"
+ },
+ "retry_check_interval" : "1",
+ "sensitive_arguments" : "1",
+ "servicegroup" : {
+ "name" : "OS - Unix Agentless"
+ },
+ "snmptraprules" : [],
+ "stale_state" : "0",
+ "stale_text" : "",
+ "stale_threshold_seconds" : "3600",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -v $SNMP_VERSION -C '$SNMP_COMMUNITY$' -U '$SNMPV3_USERNAME$' -a '$SNMPV3_AUTHPROTOCOL$' -P '$SNMPV3_AUTHPASSWORD$' -e '$SNMPV3_PRIVPROTOCOL$' -x '$SNMPV3_PRIVPASSWORD$' -p $SNMP_PORT$ -w 75 -c 85 -x 50 -d 75",
+ "attribute" : null,
+ "calculate_rate" : "no",
+ "cascaded_from" : null,
+ "check_attempts" : "3",
+ "check_freshness" : "0",
+ "check_interval" : "5",
+ "checktype" : {
+ "name" : "Active Plugin"
+ },
+ "critical_comparison" : null,
+ "critical_value" : null,
+ "dependencies" : [],
+ "description" : "Memory usage via SNMP (Unix/Linux compatible)",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "SNMP Memory Usage",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r,u,f",
+ "oid" : null,
+ "plugin" : {
+ "name" : "check_snmp_memutil"
+ },
+ "retry_check_interval" : "1",
+ "sensitive_arguments" : "1",
+ "servicegroup" : {
+ "name" : "OS - Unix Agentless"
+ },
+ "snmptraprules" : [],
+ "stale_state" : "0",
+ "stale_text" : "",
+ "stale_threshold_seconds" : "3600",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -v $SNMP_VERSION -C '$SNMP_COMMUNITY$' -U '$SNMPV3_USERNAME$' -a '$SNMPV3_AUTHPROTOCOL$' -P '$SNMPV3_AUTHPASSWORD$' -e '$SNMPV3_PRIVPROTOCOL$' -x '$SNMPV3_PRIVPASSWORD$' -p $SNMP_PORT$",
+ "attribute" : null,
+ "calculate_rate" : "no",
+ "cascaded_from" : null,
+ "check_attempts" : "3",
+ "check_freshness" : "0",
+ "check_interval" : "5",
+ "checktype" : {
+ "name" : "Active Plugin"
+ },
+ "critical_comparison" : null,
+ "critical_value" : null,
+ "dependencies" : [],
+ "description" : "System info via SNMP (Unix/Linux compatible)",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "SNMP System info",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r,u,f",
+ "oid" : null,
+ "plugin" : {
+ "name" : "check_snmp_sysinfo"
+ },
+ "retry_check_interval" : "1",
+ "sensitive_arguments" : "1",
+ "servicegroup" : {
+ "name" : "OS - Unix Agentless"
+ },
+ "snmptraprules" : [],
+ "stale_state" : "0",
+ "stale_text" : "",
+ "stale_threshold_seconds" : "3600",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -v $SNMP_VERSION -C '$SNMP_COMMUNITY$' -U '$SNMPV3_USERNAME$' -a '$SNMPV3_AUTHPROTOCOL$' -P '$SNMPV3_AUTHPASSWORD$' -e '$SNMPV3_PRIVPROTOCOL$' -x '$SNMPV3_PRIVPASSWORD$' -p $SNMP_PORT$ -w 75 -c 90",
+ "attribute" : null,
+ "calculate_rate" : "no",
+ "cascaded_from" : null,
+ "check_attempts" : "3",
+ "check_freshness" : "0",
+ "check_interval" : "5",
+ "checktype" : {
+ "name" : "Active Plugin"
+ },
+ "critical_comparison" : null,
+ "critical_value" : null,
+ "dependencies" : [],
+ "description" : "Total TCP connections via SNMP (Unix/Linux compatible)",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "SNMP TCP Connections",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r,u,f",
+ "oid" : null,
+ "plugin" : {
+ "name" : "check_snmp_tcpcurrestab"
+ },
+ "retry_check_interval" : "1",
+ "sensitive_arguments" : "1",
+ "servicegroup" : {
+ "name" : "OS - Unix Agentless"
+ },
+ "snmptraprules" : [],
+ "stale_state" : "0",
+ "stale_text" : "",
+ "stale_threshold_seconds" : "3600",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -v $SNMP_VERSION -C '$SNMP_COMMUNITY$' -U '$SNMPV3_USERNAME$' -a '$SNMPV3_AUTHPROTOCOL$' -P '$SNMPV3_AUTHPASSWORD$' -e '$SNMPV3_PRIVPROTOCOL$' -x '$SNMPV3_PRIVPASSWORD$' -p $SNMP_PORT$",
+ "attribute" : null,
+ "calculate_rate" : "no",
+ "cascaded_from" : null,
+ "check_attempts" : "3",
+ "check_freshness" : "0",
+ "check_interval" : "5",
+ "checktype" : {
+ "name" : "Active Plugin"
+ },
+ "critical_comparison" : null,
+ "critical_value" : null,
+ "dependencies" : [],
+ "description" : "System uptime via SNMP (Unix/Linux compatible)",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "SNMP Uptime",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r,u,f",
+ "oid" : null,
+ "plugin" : {
+ "name" : "check_snmp_uptime"
+ },
+ "retry_check_interval" : "1",
+ "sensitive_arguments" : "1",
+ "servicegroup" : {
+ "name" : "OS - Unix Agentless"
+ },
+ "snmptraprules" : [],
+ "stale_state" : "0",
+ "stale_text" : "",
+ "stale_threshold_seconds" : "3600",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
}
],
"servicegroup" : [
Modified: trunk/opsview-core/import/opspacks_source/os-unix-agentless/info
===================================================================
--- trunk/opsview-core/import/opspacks_source/os-unix-agentless/info 2013-03-21 13:25:10 UTC (rev 11900)
+++ trunk/opsview-core/import/opspacks_source/os-unix-agentless/info 2013-03-21 13:31:15 UTC (rev 11901)
@@ -1,5 +1,5 @@
NAME=com.opsview.opspack.os_unix_agentless
-VERSION=1.0
+VERSION=1.1
ALIAS=OS - Unix Agentless
DEPENDENCIES=
OPSVIEW_MIN_VERSION=