LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nagios issues (https://www.linuxquestions.org/questions/linux-newbie-8/nagios-issues-4175592818/)

femerill 11-03-2016 11:33 AM

Nagios issues
 
1 Attachment(s)
hi,

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

thanx

Timothy Miller 11-03-2016 11:41 AM

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.

femerill 11-03-2016 01:32 PM

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 !!!

Timothy Miller 11-03-2016 01:58 PM

Quote:

Originally Posted by femerill (Post 5626575)
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.

chrism01 11-03-2016 11:35 PM

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


All times are GMT -5. The time now is 04:41 PM.