Open markuslf opened 2 years ago
According to https://github.com/Linuxfabrik/monitoring-plugins/issues/352#issuecomment-1061491198, in all plugins in parse_args(), change the default in an append action to None and after parsing the value in main() is None, put the desired defaults there.
parse_args()
default
append
None
main()
The first plugin that implements this is php-status.
php-status
Problems with this approach:
According to https://github.com/Linuxfabrik/monitoring-plugins/issues/352#issuecomment-1061491198, in all plugins in
parse_args()
, change thedefault
in anappend
action toNone
and after parsing the value inmain()
isNone
, put the desired defaults there.The first plugin that implements this is
php-status
.