Modified: trunk/opsview-core/filelist
===================================================================
--- trunk/opsview-core/filelist 2013-08-05 23:36:14 UTC (rev 13150)
+++ trunk/opsview-core/filelist 2013-08-06 10:38:49 UTC (rev 13151)
@@ -190,8 +190,7 @@
f nagios:nagios 0444 /usr/local/nagios/import/opspacks/network-vpn.tar.gz import/opspacks/network-vpn.tar.gz
f nagios:nagios 0444 /usr/local/nagios/import/opspacks/network-wan.tar.gz import/opspacks/network-wan.tar.gz
f nagios:nagios 0444 /usr/local/nagios/import/opspacks/os-opsview-agent.tar.gz import/opspacks/os-opsview-agent.tar.gz
-f nagios:nagios 0444 /usr/local/nagios/import/opspacks/os-snmp.tar.gz import/opspacks/os-snmp.tar.gz
-f nagios:nagios 0444 /usr/local/nagios/import/opspacks/os-snmp-agentless.tar.gz import/opspacks/os-snmp-agentless.tar.gz
+f nagios:nagios 0444 /usr/local/nagios/import/opspacks/os-linux-snmp.tar.gz import/opspacks/os-linux-snmp.tar.gz
f nagios:nagios 0444 /usr/local/nagios/import/opspacks/os-unix-advanced.tar.gz import/opspacks/os-unix-advanced.tar.gz
f nagios:nagios 0444 /usr/local/nagios/import/opspacks/os-unix-agentless.tar.gz import/opspacks/os-unix-agentless.tar.gz
f nagios:nagios 0444 /usr/local/nagios/import/opspacks/os-unix-base.tar.gz import/opspacks/os-unix-base.tar.gz
Added: trunk/opsview-core/import/opspacks_source/os-linux-snmp/config.json
===================================================================
--- trunk/opsview-core/import/opspacks_source/os-linux-snmp/config.json (rev 0)
+++ trunk/opsview-core/import/opspacks_source/os-linux-snmp/config.json 2013-08-06 10:38:49 UTC (rev 13151)
@@ -0,0 +1,411 @@
+{
+ "attribute" : [],
+ "hosttemplate" : [
+ {
+ "description" : "Unix/Linux SNMP monitoring using check_snmp_* plugins",
+ "managementurls" : [],
+ "name" : "OS - Linux SNMP",
+ "servicechecks" : [
+ {
+ "exception" : null,
+ "name" : "SNMP CPU Usage",
+ "timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "name" : "SNMP Current users",
+ "timed_exception" : null
+ },
+ {
+ "exception" : null,
+ "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
+ }
+ ]
+ }
+ ],
+ "servicecheck" : [
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -C $SNMP_COMMUNITY$ -w 5 -c 8",
+ "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" : "CPU usage via SNMP (Unix/Linux compatible) - 1 minute load average by default",
+ "event_handler" : "",
+ "flap_detection_enabled" : "1",
+ "freshness_type" : "renotify",
+ "invertresults" : "0",
+ "label" : null,
+ "level" : 0,
+ "markdown_filter" : "0",
+ "name" : "SNMP CPU Usage",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r,u,f",
+ "oid" : null,
+ "plugin" : {
+ "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",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -C $SNMP_COMMUNITY$ -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" : "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 Current users",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r,u,f",
+ "oid" : null,
+ "plugin" : {
+ "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",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -C $SNMP_COMMUNITY$ -w 85 -c 90 -m",
+ "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" : "Filesystem 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 FS Usage",
+ "notification_interval" : null,
+ "notification_options" : "w,c,r,u,f",
+ "oid" : null,
+ "plugin" : {
+ "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",
+ "stalking" : null,
+ "volatile" : "0",
+ "warning_comparison" : null,
+ "warning_value" : null
+ },
+ {
+ "alert_from_failure" : "1",
+ "args" : "-H $HOSTADDRESS$ -C $SNMP_COMMUNITY$ -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$ -C $SNMP_COMMUNITY$ -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$ -C $SNMP_COMMUNITY$",
+ "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$ -C $SNMP_COMMUNITY$ -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$ -C $SNMP_COMMUNITY$",
+ "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" : [
+ {
+ "name" : "OS - Unix Agentless"
+ }
+ ]
+}
Added: trunk/opsview-core/import/opspacks_source/os-linux-snmp/info
===================================================================
--- trunk/opsview-core/import/opspacks_source/os-linux-snmp/info (rev 0)
+++ trunk/opsview-core/import/opspacks_source/os-linux-snmp/info 2013-08-06 10:38:49 UTC (rev 13151)
@@ -0,0 +1,5 @@
+NAME=com.opsview.opspack.os_linux_snmp
+VERSION=1.0
+ALIAS=OS - Linux SNMP
+DEPENDENCIES=
+OPSVIEW_MIN_VERSION=