Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Hi, I got nagios running on a debian machine which goes real well root@monitor:# /usr/local/nagios/bin/nagios -v
Nagios Core 4.4.3
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2019-01-15
License: GPL
Now I want to add extra checks on my servers, and installed nrpe which works root@monitor:# /usr/local/nagios/libexec/check_nrpe -V
NRPE Plugin for Nagios
Version: 3.2.1
And since i wanna use custom checks, I went for the check_mk agent which also works
root@monitor:# telnet logserver.lan 6556 Trying ::1...
Connected to localhost.
Escape character is '^]'.
<<<check_mk>>>
Version: 1.5.0
AgentOS: linux
Hostname: monitor
AgentDirectory: /etc/check_mk
.......
.......
but the two together ..... won't root@monitor:# /usr/local/nagios/libexec/check_nrpe -2 -n -H logserver.lan -p 6556
CHECK_NRPE: Invalid packet version received from server.
Any suggestions ?
Thnx Ton
Last edited by tonnag on Wed Jan 16, 2019 3:30 pm, edited 1 time in total.
Hello, @tonnag. Check_nrpe requires a remote NRPE agent. The remote nrpe agent is installed on the monitored server and it's supposed to execute given commands on the monitored server and send the result back to Nagios. https://assets.nagios.com/downloads/nag ... e/NRPE.pdf
I'm not familiar with check_mk but looks like its a monitoring tool? Is there a specific set of commands that you can run against the check_mk plugin to get the desired information about the monitored system? Can you demonstrate such commands and show me the output?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
npolovenko, thnx for responding, but it's my mistake.
I wanna use the check_mk agent on the remote systems and thought it would work as a 1:1 replacement of the nrpe agent.
So besides the check_mk agent I installed an nrpe agent to compare output. That's not alike so i'm off-track for that one.