Advertisement
Guest User

Untitled

a guest
May 30th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. root:conf.d# /usr/lib/nagios/plugins/check_nrpe -H 192.168.1.3 -c check_disk
  2. DISK OK - free space: / 65619 MB (62% inode=95%);| /=39261MB;88395;99444;0;110494
  3.  
  4.  
  5. # CONFIGURATION -- FILE: remotehost_nagios2.cfg
  6. # Configuration file for remote host. Check disk usage.
  7.  
  8. define host{
  9. use generic-host ; Name of host template to use
  10. host_name tereza
  11. alias tereza
  12. address 192.168.1.3
  13. }
  14.  
  15. # Define a service to check the disk space of the root partition (/dev/sda1)
  16.  
  17. define service{
  18. use generic-service ; Name of service template to use
  19. host_name tereza
  20. service_description Disk Space
  21. contact_groups admins
  22. check_command check_nrpe!-H 192.168.1.3!-c check_disk
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement