Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The power status of the server is detected on the string which is returned by the NOC-PS API. Depending on the device, the returned string can differ. If the power status of your server does not get detected correctly by the module, you can extend the default values. 

Please note the following things:

  • All values must be lowercase, even if NOC-PS returns the value capitalized or uppercase.
  • You should not directly edit the "OnlineOfflineStrings.php" file. This file will get overwritten on module upgrades.
  • To view the default power values, please open the file "/modules/servers/dedicated/system/OnlineOfflineString.php".

...