...
Code Block | ||||
---|---|---|---|---|
| ||||
define service{ use generic-service # host_name test190 hostgroup_name sc-hosts contact_groups admins service_description Sky Control Service for element with ID=1004 check_command check_snmp_vutlan! -C read -i 1004 normal_check_interval 1 retry_check_interval 1 process_perf_data 1 } |
Download:
Nagios plugin for checking table of elements (sensors)
...
Code Block | ||||
---|---|---|---|---|
| ||||
# SNMP Table of Elements for Sky Control devices define service{ use generic-service # host_name test190 hostgroup_name sc-hosts service_description Sky Control Table of Elements Service check_command check_snmp_vutlan_table! -C read normal_check_interval 1 retry_check_interval 1 process_perf_data 1 } |
Download:
...
Sky Control script for Nagios passive checking
...
Code Block | ||||
---|---|---|---|---|
| ||||
## # Trap ## define service{ name trap-service use generic-service register 0 is_volatile 1 check_command check-host-alive ;Used to reset the status to OK when 'Schedule an immediate check of this service' is selected flap_detection_enabled 0 ; Flap detection is disabled process_perf_data 0 ; Do not Process performance data max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 passive_checks_enabled 1 active_checks_enabled 0 ; Prevent active checks from occuring as we are only using passive checks check_period none notification_interval 31536000 notification_options w,u,c ; Notify on warning, unknown and critical contact_groups admins } define service{ use trap-service service_description Trap1 hostgroup_name sc-hosts } |
Download:
...
Sky Control script for Nagios notify by GSM modem of Sky Control master module
This script provides sending notifications from Nagios by by GSM modem of Sky Control master module
Usage:
./sendsms_vutlan -H <host> -p <password> -P <phone number> -m <message>
...
Code Block | ||||
---|---|---|---|---|
| ||||
define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-service-by-email,notify-service-by-sms host_notification_commands notify-host-by-email,notify-host-by-sms email nagios@localhost ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** pager +329999999999 ; <<***** CHANGE THIS TO YOUR PHONE NUMBER ****** } |
Download:
...
To allow us better support please leave your comments below or on our forum.