LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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!

Notices


Reply
  Search this Thread
Old 11-03-2016, 04:59 AM   #1
femerill
LQ Newbie
 
Registered: Nov 2016
Posts: 4

Rep: Reputation: Disabled
Services for Nagios Core on CENTOS 7


hi,

I need help, i want to add more service to monitor my linux client like CPU, FREE DISK SPACE, RAM, HTTP and all services that you think there are the mains.

I only found those services, can you help me ?

ps : sorry my english, i'm french

Thanks a lot


Ping:

define service {
use generic-service
host_name yourhost
service_description PING
check_command check_ping!100.0,20%!500.0,60%
}
SSH (notifications_enabled set to 0 disables notifications for a service):

define service {
use generic-service
host_name yourhost
service_description SSH
check_command check_ssh
notifications_enabled 0
}
 
Old 11-03-2016, 07:45 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,098

Rep: Reputation: 7835Reputation: 7835Reputation: 7835Reputation: 7835Reputation: 7835Reputation: 7835Reputation: 7835Reputation: 7835Reputation: 7835Reputation: 7835Reputation: 7835
Quote:
Originally Posted by femerill View Post
hi,
I need help, i want to add more service to monitor my linux client like CPU, FREE DISK SPACE, RAM, HTTP and all services that you think there are the mains.
I only found those services, can you help me ?

Ping:
define service {
use generic-service
host_name yourhost
service_description PING
check_command check_ping!100.0,20%!500.0,60%
}
SSH (notifications_enabled set to 0 disables notifications for a service):

define service {
use generic-service
host_name yourhost
service_description SSH
check_command check_ssh
notifications_enabled 0
}
No idea what is 'main' on a server, since it can run ANYTHING...but just putting "how to monitor cpu and ram with nagios" into Google pulls up LOTS:
https://exchange.nagios.org/director...Usage-and-Load
https://exchange.nagios.org/director...sation/details
https://exchange.nagios.org/director...System-Metrics

Similarly, you can find much for pretty much ANY system metric or service you can think of, and the Nagios documentation has plenty on how to write your own plugin for anything that's not really covered by what's already available. Please read the "Question Guidelines" link in my posting signature...we are happy to help with problems, but please do basic research of your own first, before posting.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding services to be monitored to nagios DNG Linux - Server 3 03-06-2016 03:59 PM
Nagios XI & Nagios Core Integration anjukm Linux - Software 5 09-25-2015 04:26 AM
Nagios reports host as down, services as OK eblonk Linux - Software 9 06-27-2013 03:41 PM
[SOLVED] Nagios: monitoring xenapp services TalkingMarble Linux - Software 4 04-03-2012 01:28 PM
Nagios Host Down but Services Up binkocd Linux - Server 4 02-06-2012 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration