mickem / nscp

NSClient++
http://nsclient.org
GNU General Public License v2.0
235 stars 91 forks source link

Override internal command #722

Open esantora opened 3 years ago

esantora commented 3 years ago

Issue and Steps to Reproduce

Is there a way to override an internal command

[/settings/external scripts/alias]
check_uptime = check_uptime "warn=uptime < 1h" "crit=uptime < 30m"

Expected Behavior

The alias should override the internal command name.

Actual Behavior

The alias is ignored and the internal command runs with default argument values.

Details

Additional Details

NSClient++ log:

PLEASE PASTE LOG HERE
Warlock667 commented 2 years ago

Hi there,

same problem here with:

NSClient++ version 0.5.2.39 OS and Version: Windows Server Standard 2016 Build: 1607 Checking from: Centreon Checking with: check_nrpe

Bye, Dirk