CHECK_NRPE: Invalid packet version received from server.
CHECK_NRPE: Invalid packet version received from server.
hi,
all of our nrpe check's respond with status information: Invalid packet version received from server.
The status itself looks good.
On the XI server is Version: 4.0.3 installed.
All our clients using nsclient 0.5.2 or 0.4.4.19.
i have tried to execute check_nrpe with "-2" it doesn't work for us.
any ideas?
best Regards
all of our nrpe check's respond with status information: Invalid packet version received from server.
The status itself looks good.
On the XI server is Version: 4.0.3 installed.
All our clients using nsclient 0.5.2 or 0.4.4.19.
i have tried to execute check_nrpe with "-2" it doesn't work for us.
any ideas?
best Regards
Re: CHECK_NRPE: Invalid packet version received from server.
Edit the check_nrpe command(or which ever command your config is using) and try this format:
I've noticed that the check_nrpe plugin expects the -2 or -3 option prior to the -c command and can throw an error otherwise.
Please provide the full command that you are running along with its output if the above doesn't help you to resolve the issue.
Code: Select all
$USER1$/check_nrpe -H $HOSTADDRESS$ -2 -t 30 -c $ARG1$ $ARG2$
Please provide the full command that you are running along with its output if the above doesn't help you to resolve the issue.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: CHECK_NRPE: Invalid packet version received from server.
Hi,
if i use the command you provided without any addtional arguments i got:
[nagios@atvienag001 ~]$ /usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -2 -t 90 -c
NRPE Plugin for Nagios
Version: 4.0.3
Copyright (c) 2009-2017 Nagios Enterprises
1999-2008 Ethan Galstad (nagios@nagios.org)
Last Modified: 2020-04-28
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: OpenSSL 0.9.6 or higher required
If i use it with the arguments we need for:
[nagios@atvienag001 ~]$ /usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -t 90 -c check_powerstate -a $HOSTADDRESS$
CHECK_NRPE: Invalid packet version received from server.
if i use the command you provided without any addtional arguments i got:
[nagios@atvienag001 ~]$ /usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -2 -t 90 -c
NRPE Plugin for Nagios
Version: 4.0.3
Copyright (c) 2009-2017 Nagios Enterprises
1999-2008 Ethan Galstad (nagios@nagios.org)
Last Modified: 2020-04-28
License: GPL v2 with exemptions (-l for more info)
SSL/TLS Available: OpenSSL 0.9.6 or higher required
If i use it with the arguments we need for:
[nagios@atvienag001 ~]$ /usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -t 90 -c check_powerstate -a $HOSTADDRESS$
CHECK_NRPE: Invalid packet version received from server.
Re: CHECK_NRPE: Invalid packet version received from server.
What is the result of:
Also, are you replacing $HOSTADDRESS$ with a valid host address ?
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -2 -t 90 -c check_powerstate -a $HOSTADDRESS$
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: CHECK_NRPE: Invalid packet version received from server.
it is independence which variable or command i useb, the error message ist the same but to answer your question, the variable will be replaced by the fqdn.
[nagios@atvienag001 ~]$ /usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -t 90 -c check_powerstate
CHECK_NRPE: Invalid packet version received from server.
[nagios@atvienag001 ~]$ /usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -t 90 -c $_HOSTCTX_DDC$
CHECK_NRPE: Invalid packet version received from server.
[nagios@atvienag001 ~]$ /usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -t 90 -c check_powerstate
CHECK_NRPE: Invalid packet version received from server.
[nagios@atvienag001 ~]$ /usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -t 90 -c $_HOSTCTX_DDC$
CHECK_NRPE: Invalid packet version received from server.
Re: CHECK_NRPE: Invalid packet version received from server.
Run this on the command line:
provide a screenshot of the results.
Code: Select all
su - nagios
/usr/local/nagios/libexec/check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -2 -t 90 -c check_powerstate
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: CHECK_NRPE: Invalid packet version received from server.
this would be the correct format of the command
./check_nrpe -H atviectxddc051.eumfgdc.eumfg.immuno.baxter.com -2 -t 90 -c check_powerstate -a atviectxrdc001.eumfgdc.eumfg.immuno.baxter.com
result:
[root@atvienag001 libexec]# ./check_nrpe -H atviectxddc051.eumfgdc.eumfg.immuno.baxter.com -2 -t 90 -c check_powerstate -a atviectxrdc001.eumfgdc.eumfg.immuno.baxter.com
Powerstate seems to be OK
your example:
./check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -2 -t 90 -c check_powerstate
./check_nrpe -H atviectxddc051.eumfgdc.eumfg.immuno.baxter.com -2 -t 90 -c check_powerstate -a atviectxrdc001.eumfgdc.eumfg.immuno.baxter.com
result:
[root@atvienag001 libexec]# ./check_nrpe -H atviectxddc051.eumfgdc.eumfg.immuno.baxter.com -2 -t 90 -c check_powerstate -a atviectxrdc001.eumfgdc.eumfg.immuno.baxter.com
Powerstate seems to be OK
your example:
./check_nrpe -H atviectxpcm851.eumfgat.eumfg.immuno.baxter.com -2 -t 90 -c check_powerstate
Re: CHECK_NRPE: Invalid packet version received from server.
Okay, so now we know that the command will work if given the proper arguments. Please provide a copy of the ccm database so I can take a closer look at the current configuration. Send it to me via a private message.
If the default database is being used then this can be done from the command line with:
If the database has been offloaded to another machine then you'll need to modify the commands slightly to look like:
Please provide the nagiosql.sql that is created.
If the default database is being used then this can be done from the command line with:
Code: Select all
mysqldump -uroot -pnagiosxi nagiosql > nagiosql.sql
Code: Select all
mysqldump -h database_host_ip -uusername -ppassword nagiosql > nagiosql.sql
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: CHECK_NRPE: Invalid packet version received from server.
Hi,
thank you the issue is resolved.
best regards
thank you the issue is resolved.
best regards
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CHECK_NRPE: Invalid packet version received from server.
Great!scharft wrote:Hi,
thank you the issue is resolved.
best regards
Locking thread