Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
This is the way, organized in my environment ....
# Generic host definition template - This is NOT a real host, just a template!
name generic-host ; The name of this host template
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
failure_prediction_enabled 1 ; Failure prediction is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
# Since this is a simple configuration file, we only monitor one host - the
# local host (this machine).
use generic-host ; Name of host template to use
alias rax.wavex.com ; localhost.localhostdomain
# Define a service to check the disk space of the root partition
# on the local machine. Warning if < 20% free, critical if
# < 10% free space on partition.
use generic-service ; Name of service template to use
service_description Root Partition
cfg file of nagios server has warning if disk is 20% and critical if disk is 10% .
My question is should i increase these values or from somewhere else? As nrpe is not installed in Nagios server.
if it is controlled by NRPE (which i doubt) then check your config files and search for this (on the monitoring host):
or something like that!
and if you don't find anything like that, NRPE is not used to check your disk usage.
and when you ask that you would like to increase the values, imo we can't answer to that, because everyone has other configs concerning that, it's up to you to decide when Nagios should send a notification to someone
use local-service ; Name of service template to use
service_description Root Partition
Should i increase this?
with this we see that NRPE isn't being used.
Like i said, everyone has another reason to use check_local_disk so everyone has another setting (and another reason to config that plugin in a certain way).
Just see for yourself what is the best setting. Do you want to notified when only 5% is left or 80% left,... it just depends...