LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 11:33 AM   #1
femerill
LQ Newbie
 
Registered: Nov 2016
Posts: 4

Rep: Reputation: Disabled
Nagios issues


hi,

Could you please tell me why i have those wrong messages on my nagios interface ?

thanx
Attached Thumbnails
Click image for larger version

Name:	error nrpe.JPG
Views:	21
Size:	81.8 KB
ID:	23426  

Last edited by femerill; 11-03-2016 at 11:34 AM.
 
Old 11-03-2016, 11:41 AM   #2
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
You mean on the Windows server? The answer is in the error:

NSClient - Error: Invalid Password.

When you set up your check_nt command, you need to include an option for the password (secret), if you don't use a seperate line for each host, you'll need to make sure when installing NSClient++ to use the same password on all servers:

Code:
# 'check_nt' command definition
define command{
        command_name    check_nt
        command_line    $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s <password set up on NSClient> -v $ARG1$ $ARG2$
        }
Or the nrpe ones? Those are because either your nagios plugins on the client, or the nrpe plugin on the server isn't installed to use ssl, and the other is. Either both need to be configured with ssl, or both need to be configured without.

Your timing of posting this is actually funny to me. Monday I had to learn how to get Nagios up and running as we're looking at possibly using that to monitor our servers. So I've been troubleshooting issues like this non-stop the last 3 days and have learned ever so much about nagios and the configuration. Still haven't figured out how to get check_nt to check disk i/o though. Got it working on linux through check_iostst, but total failure so far in Windows.

Last edited by Timothy Miller; 11-03-2016 at 11:46 AM.
 
1 members found this post helpful.
Old 11-03-2016, 01:32 PM   #3
femerill
LQ Newbie
 
Registered: Nov 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thanks for your answer.
i am from Paris and beginner on linux system.
can you help me with nagios issues ?
can you tell me what i can monitoring with nagios ?
cpu, free disk space, ram etc... but what about the others services ?
like Ldap server ? Dns ? Is nagios can tell us that there are working ?
I am working with Nagios 4.2.2 and centos 7.

Merci !!!
 
Old 11-03-2016, 01:58 PM   #4
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,003
Blog Entries: 26

Rep: Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521Reputation: 1521
Quote:
Originally Posted by femerill View Post
Thanks for your answer.
i am from Paris and beginner on linux system.
can you help me with nagios issues ?
can you tell me what i can monitoring with nagios ?
cpu, free disk space, ram etc... but what about the others services ?
like Ldap server ? Dns ? Is nagios can tell us that there are working ?
I am working with Nagios 4.2.2 and centos 7.

Merci !!!

You can do free disk space, ram (with an additional plugin you can download from the nagios addons), cpu, I'm monitoring all those on Wndows & Linux on my nagios install.
The ldap and DNS don't know. Like I said, I started working with nagios Monday, so have 4 days of experience. This is also not in the scope that my company wants to monitor with nagios, so can't really be of any use there.

Hopefully there's someone with more experience that can help you more than I can.
 
Old 11-03-2016, 11:35 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
You can monitor almost anything; start here https://library.nagios.com/library/products/nagioscore and get an acct at the community forums
 
  


Reply



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
[SOLVED] Nagios XI on CentOS 6.5 firewall issues ceantuco Linux - Server 2 09-14-2016 01:27 PM
Nagios Issues lahirushanaka Linux - Software 8 12-10-2013 04:07 AM
Having issues in configuring nagios web interface singh@123 Linux - Server 4 11-08-2013 05:36 AM
Nagios/nrpe: SSL Issues Killbot_5000 Linux - Security 18 09-21-2010 05:27 PM
Nagios issues. sparc86 Linux - Server 2 04-12-2007 02:02 PM

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

All times are GMT -5. The time now is 11:39 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