Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upITL: Adding Extra-Opts to nagios plugins #7630
Open
Labels
Comments
|
Preferably all CheckCommand definitions receive this parameter in a PR. Which is quite some effort to stem with the ITL changes and doc table updates. |
|
Hello @netphantm and thank you for reporting! Feel free to submit a PR with the affected CheckCommands. A lot of doesn't mean all. And no, there's no better way to do this. Best, |
|
I will, I just had no time yet.. |
netphantm
pushed a commit
to netphantm/icinga2
that referenced
this issue
May 14, 2020
add _extra_opts argument to plugins that support it refs Icinga#7630
netphantm
pushed a commit
to netphantm/icinga2
that referenced
this issue
May 14, 2020
add _extra_opts argument to plugins that support it refs Icinga#7630
netphantm
pushed a commit
to netphantm/icinga2
that referenced
this issue
May 14, 2020
add _extra_opts argument to plugins that support it refs Icinga#7630
netphantm
pushed a commit
to netphantm/icinga2
that referenced
this issue
May 14, 2020
add --extra-opts argument to plugins that support it refs Icinga#7630
netphantm
pushed a commit
to netphantm/icinga2
that referenced
this issue
May 14, 2020
add _extra_opts argument to plugins that support it refs Icinga#7630
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


I need to add Extra-Opts to check_http (https://www.monitoring-plugins.org/doc/extra-opts.html), as we are doing some checks through a proxy to check if host is reachable externally. A username/password combination is needed, so I included a file which contains the creds.
I added following lines to the command-plugins.conf:
I wanted to extend the ITL with this, but then I realized that a lot of nagios plugins have this parameter. Should it be added to all of them manually or can you suggest a better way to do this?