Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root:conf.d# /usr/lib/nagios/plugins/check_nrpe -H 192.168.1.3 -c check_disk
- DISK OK - free space: / 65619 MB (62% inode=95%);| /=39261MB;88395;99444;0;110494
- # CONFIGURATION -- FILE: remotehost_nagios2.cfg
- # Configuration file for remote host. Check disk usage.
- define host{
- use generic-host ; Name of host template to use
- host_name tereza
- alias tereza
- address 192.168.1.3
- }
- # Define a service to check the disk space of the root partition (/dev/sda1)
- define service{
- use generic-service ; Name of service template to use
- host_name tereza
- service_description Disk Space
- contact_groups admins
- check_command check_nrpe!-H 192.168.1.3!-c check_disk
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement