Permalink
Browse files

Fix missing args on SBC Temp and Inet Speed at init

  • Loading branch information...
NEMS Linux
NEMS Linux committed Jan 1, 2019
1 parent 203a681 commit 54f2ec239dce642a114c89320821331d833fab51
Showing with 1,033 additions and 345 deletions.
  1. BIN data/1.5/mysql/NEMS-Clean/aria_log.00000001
  2. BIN data/1.5/mysql/NEMS-Clean/aria_log_control
  3. BIN data/1.5/mysql/NEMS-Clean/ib_logfile0
  4. BIN data/1.5/mysql/NEMS-Clean/ibdata1
  5. BIN data/1.5/mysql/NEMS-Clean/mysql/innodb_index_stats.ibd
  6. BIN data/1.5/mysql/NEMS-Clean/mysql/innodb_table_stats.ibd
  7. BIN data/1.5/mysql/NEMS-Sample/aria_log.00000001
  8. BIN data/1.5/mysql/NEMS-Sample/aria_log_control
  9. BIN data/1.5/mysql/NEMS-Sample/ib_logfile0
  10. BIN data/1.5/mysql/NEMS-Sample/ibdata1
  11. BIN data/1.5/mysql/NEMS-Sample/mysql/innodb_index_stats.ibd
  12. BIN data/1.5/mysql/NEMS-Sample/mysql/innodb_table_stats.ibd
  13. +17 −126 data/1.5/nagios/conf/Default_collector/advanced_services.cfg
  14. +0 −35 data/1.5/nagios/conf/Default_collector/hostgroups.cfg
  15. +5 −1 data/1.5/nagios/conf/Default_collector/hosts.cfg
  16. +16 −12 data/1.5/nagios/conf/Default_collector/services.cfg
  17. +136 −136 data/1.5/nagios/conf/global/checkcommands.cfg
  18. +21 −10 data/1.5/nagios/conf/global/host_templates.cfg
  19. +19 −19 data/1.5/nagios/conf/global/misccommands.cfg
  20. +9 −0 data/1.5/nagios/conf/global/service_templates.cfg
  21. +5 −5 data/1.5/nagios/conf/global/timeperiods.cfg
  22. +145 −0 data/1.5/nconf/confdump/Default_collector/advanced_services.cfg
  23. 0 data/1.5/{nagios/conf → nconf/confdump}/Default_collector/advanced_services_sample.cfg
  24. 0 data/1.5/nconf/confdump/Default_collector/host_dependencies.cfg
  25. +41 −0 data/1.5/nconf/confdump/Default_collector/hostgroups.cfg
  26. +11 −0 data/1.5/nconf/confdump/Default_collector/hosts.cfg
  27. 0 data/1.5/nconf/confdump/Default_collector/service_dependencies.cfg
  28. +6 −0 data/1.5/nconf/confdump/Default_collector/servicegroups.cfg
  29. +42 −0 data/1.5/nconf/confdump/Default_collector/services.cfg
  30. +350 −0 data/1.5/nconf/confdump/global/checkcommands.cfg
  31. +6 −0 data/1.5/nconf/confdump/global/contactgroups.cfg
  32. +12 −0 data/1.5/nconf/confdump/global/contacts.cfg
  33. +72 −0 data/1.5/nconf/confdump/global/host_templates.cfg
  34. +55 −0 data/1.5/nconf/confdump/global/misccommands.cfg
  35. +37 −0 data/1.5/nconf/confdump/global/service_templates.cfg
  36. 0 data/1.5/{nagios/conf → nconf/confdump}/global/service_templates_sample.cfg
  37. +27 −0 data/1.5/nconf/confdump/global/timeperiods.cfg
  38. +1 −1 data/reconcile-nagios.sh
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN +0 Bytes (100%) data/1.5/mysql/NEMS-Clean/ibdata1
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,145 +1,36 @@
define service {
service_description Check the root filesystem disk space
max_check_attempts 30
check_interval 30
retry_interval 1
first_notification_delay 5
notification_interval 120
notification_options w,c,r
check_command check_nrpe
check_period 24x7
notification_period 24x7
}

define service {
service_description Check disk space of /var
notes Only need this service if /var is on a different partition or disk than /
max_check_attempts 30
check_interval 30
retry_interval 1
first_notification_delay 5
notification_interval 120
notification_options w,c,r
check_command check_nrpe
check_period 24x7
notification_period 24x7
}

define service {
service_description C:\ Drive Space
check_command check_nt
hostgroup_name windows-servers
use generic-service
}

define service {
service_description CPU Load
check_command check_nt
hostgroup_name windows-servers
use generic-service
}

define service {
service_description Current Users
check_command check_local_users
hostgroup_name linux-servers
use local-service
}

define service {
service_description Explorer
check_command check_nt
hostgroup_name windows-servers
use generic-service
}

define service {
service_description HTTP
check_command check_http
hostgroup_name linux-servers,NEMS
servicegroups web-services
service_description PING
check_command check_ping!100.0,20%!500.0,60%
hostgroup_name NEMS
use local-service
}

define service {
service_description Memory Usage
check_command check_nt
hostgroup_name windows-servers
use generic-service
contact_groups +admins
}

define service {
service_description NEMS Current Load
notes Very high load average thresholds for SBC
check_command check_local_load
hostgroup_name linux-servers,NEMS
check_command check_local_load!9.0,8.0,8.0!15.0,12.0,10.0
hostgroup_name NEMS
use local-service
}

define service {
service_description NSClient++ Version
check_command check_nt
hostgroup_name windows-servers
use generic-service
}

define service {
service_description PING
check_command check_ping
hostgroup_name linux-servers,NEMS
use local-service
}

define service {
service_description PING
check_interval 10
retry_interval 1
check_command check_ping
hostgroup_name network-printers
use generic-service
}

define service {
service_description PING
check_interval 5
retry_interval 1
check_command check_ping
hostgroup_name switches
use generic-service
contact_groups +admins
}

define service {
service_description SSH
check_command check_ssh
hostgroup_name linux-servers,NEMS
notifications_enabled 0
check_command check_ssh!
hostgroup_name NEMS
use local-service
contact_groups +admins
}

define service {
service_description Swap Usage
check_command check_local_swap
hostgroup_name linux-servers
use local-service
}

define service {
service_description Total Processes
check_command check_local_procs
hostgroup_name linux-servers
service_description HTTP
notifications_enabled 0
check_command check_http!
hostgroup_name NEMS
servicegroups web-services
use local-service
}

define service {
service_description Uptime
check_command check_snmp
hostgroup_name switches
use generic-service
}

define service {
service_description Uptime
check_command check_nt
hostgroup_name windows-servers
use generic-service
contact_groups +admins
}

@@ -1,41 +1,6 @@
define hostgroup {
hostgroup_name cisco-switches
alias Cisco Switches
}

define hostgroup {
hostgroup_name linux-servers
alias Linux Servers
}

define hostgroup {
hostgroup_name NEMS
alias NEMS Server
members NEMS
}

define hostgroup {
hostgroup_name network-printers
alias Network Printers
}

define hostgroup {
hostgroup_name primary_windows
alias Windows Primary Group
}

define hostgroup {
hostgroup_name secondary_windows
alias Windows Secondary Group
}

define hostgroup {
hostgroup_name switches
alias Network Switches
}

define hostgroup {
hostgroup_name windows-servers
alias Windows Servers
}

@@ -3,9 +3,13 @@ define host {
alias Nagios Enterprise Monitoring Server
address 127.0.0.1
notes_url https://nemslinux.com/
icon_image_alt Linux
icon_image base/linux40.gif
statusmap_image base/linux40.gd2
check_command check-host-alive
check_period 24x7
notification_period 24x7
contact_groups +admins
use linux-server
contact_groups admins
}

@@ -1,20 +1,26 @@
define service {
service_description Internet Speed Test
check_command check_internet_speed!10!7!10!7!2554
host_name NEMS
check_period 24x7
notification_period workhours
contact_groups +admins
max_check_attempts 5
check_interval 30
retry_interval 5
first_notification_delay 10
notification_interval 60
notification_options w,u,c,r,f,s
check_command check_internet_speed
host_name NEMS
check_period 24x7
notification_period workhours
contact_groups admins
event_handler_enabled 0
}

define service {
service_description NEMS SBC Temperature
check_command check_sbc_temperature!63!69
host_name NEMS
check_period 24x7
notification_period 24x7
contact_groups +admins
notes Works on any SBC with /sys/class/thermal/thermal_zone0/temp
notes_url https://docs.nemslinux.com/check_commands/check_sbc_temperature
max_check_attempts 10
@@ -23,20 +29,18 @@ define service {
first_notification_delay 1
notification_interval 5
notification_options w,c,r
check_command check_sbc_temperature
host_name NEMS
check_period 24x7
notification_period 24x7
contact_groups admins
event_handler_enabled 0
}

define service {
service_description Root Partition
notification_options w,c,r
check_command check_local_disk
check_command check_local_disk!20%!10%!/
host_name NEMS
check_period 24x7
notification_period 24x7
notification_options w,c,r
event_handler_enabled 0
use local-service
contact_groups +admins
}

Oops, something went wrong.

0 comments on commit 54f2ec2

Please sign in to comment.