Invalid command line: unrecognised option '-a' after 5.5.4

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Invalid command line: unrecognised option '-a' after 5.5.4

Post by dlukinski »

Invalid command line: unrecognised option '-a' ERROR for all NRPE-based CPU monitoring after 5.5.4 upgrade !

Command:
-a show-all -a 'warn=load>85' 'crit=load>95' show-all


Please help (profile attached)
Last edited by tgriep on Wed Sep 26, 2018 10:17 am, edited 1 time in total.
Reason: Profile removed and shared with the other Techs
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Invalid command line: unrecognised option '-a' after 5.5

Post by tgriep »

On the phone with the customer and found that some of the Service Checks had the -a argument for the NRPE checks specified twice. Removed then and the checks started to function.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dlukinski
Posts: 1130
Joined: Tue Oct 06, 2015 9:42 am

Re: Invalid command line: unrecognised option '-a' after 5.5

Post by dlukinski »

tgriep wrote:On the phone with the customer and found that some of the Service Checks had the -a argument for the NRPE checks specified twice. Removed then and the checks started to function.
Thank you, did just that and everything worked (not sure how this happened in first place - almost as if 5.5.4 upgrade created these entries)
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Invalid command line: unrecognised option '-a' after 5.5

Post by scottwilkerson »

dlukinski wrote:
tgriep wrote:On the phone with the customer and found that some of the Service Checks had the -a argument for the NRPE checks specified twice. Removed then and the checks started to function.
Thank you, did just that and everything worked (not sure how this happened in first place - almost as if 5.5.4 upgrade created these entries)
Glad it is sorted.

Locking thread.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked