Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Define a host for the local machine
- define host{
- use linux-server
- host_name popmie-server
- alias Ubuntu Server
- address 127.0.0.1
- }
- define hostgroup{
- hostgroup_name linux-servers
- alias Linux Servers
- members popmie-server
- }
- define service{
- use local-service
- host_name popmie-server
- service_description PING
- check_command check_ping!100.0,20%!500.0,60%
- }
- define service{
- use local-service
- host_name popmie-server
- service_description Root Partition
- check_command check_local_disk!20%!10%!/
- }
- define service{
- use local-service
- host_name popmie-server
- service_description Current Users
- check_command check_local_users!20!50
- }
- define service{
- use local-service
- host_name popmie-server
- service_description Total Processes
- check_command check_local_procs!250!400!RSZDT
- }
- define service{
- use local-service
- host_name popmie-server
- service_description Current Load
- check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
- }
- define service{
- use local-service
- host_name popmie-server
- service_description Swap Usage
- check_command check_local_swap!20!10
- }
- define service{
- use local-service
- host_name popmie-server
- service_description SSH
- check_command check_ssh
- notifications_enabled 1
- }
- define service{
- use local-service
- host_name popmie-server
- service_description Web Server
- check_command check_http
- notifications_enabled 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement