Search found 2 matches
- Fri Sep 06, 2024 10:05 am
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.4.10 Notification Command returns stderr line 01: /bin/sh: 1: Syntax error: redirection unexpected
- Replies: 3
- Views: 5110
Re: Nagios 4.4.10 Notification Command returns stderr line 01: /bin/sh: 1: Syntax error: redirection unexpected
Thank you for your reply. In the command_line part of the command I have /usr/bin/python3 as the command and my script and all its parameters are part of the arguments for /usr/bin/python3. I believe I found the issue with my command_line. My $USER20$ variable holds extra HTML code depending on the ...
- Thu Sep 05, 2024 6:12 pm
- Forum: Open Source Nagios Projects
- Topic: Nagios 4.4.10 Notification Command returns stderr line 01: /bin/sh: 1: Syntax error: redirection unexpected
- Replies: 3
- Views: 5110
Nagios 4.4.10 Notification Command returns stderr line 01: /bin/sh: 1: Syntax error: redirection unexpected
I have created a new Python 3.10 script that takes notification arguments and triggers an email and at the same time forwards the notification to another service using and API. When I try to send a "Custom host notification" to test my notification script I get a stderr line 01: /bin/sh: 1...