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)
Invalid command line: unrecognised option '-a' after 5.5.4
Invalid command line: unrecognised option '-a' after 5.5.4
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
Reason: Profile removed and shared with the other Techs
Re: Invalid command line: unrecognised option '-a' after 5.5
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!
Re: Invalid command line: unrecognised option '-a' after 5.5
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)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.
-
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
Glad it is sorted.dlukinski wrote: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)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.
Locking thread.