Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
commands:nems-info [2019/05/01 13:40]
Robbie Ferguson
commands:nems-info [2019/07/11 11:53] (current)
Robbie Ferguson
Line 32: Line 32:
   * //nems-info **hosts**// - Output a count of how many hosts you are currently monitoring (uses livestatus).   * //nems-info **hosts**// - Output a count of how many hosts you are currently monitoring (uses livestatus).
   * //nems-info **services**//​ - Output a count of how many services you are currently monitoring (uses livestatus).   * //nems-info **services**//​ - Output a count of how many services you are currently monitoring (uses livestatus).
-  * //nems-info **benchmark** [test-name]//​ Outputs numeric result of NEMS Benchmark. Will return 0 if test has not yet been run via cron task, or if being run on an unsupported version of NEMS (requires 1.4+). Generally not for end-users. Used by [[:​anonymous_stats|NEMS Anonymous Stats]] and [[https://​gigglescore.com/​|GiggleScore.com]]. Available tests: cpu io ram mutex 7z+  * //nems-info **benchmark** [test-name]//​ Outputs numeric result of NEMS Benchmark. Will return 0 if test has not yet been run via cron task, or if being run on an unsupported version of NEMS (requires 1.4+). Generally not for end-users. Used by [[:​anonymous_stats|NEMS Anonymous Stats]] and [[https://​gigglescore.com/​|GiggleScore.com]]. Available tests: cpu io ram mutex 7z-m 7z-s
   * //nems-info **state**// Output the state information of your NEMS hosts and services to JSON format.   * //nems-info **state**// Output the state information of your NEMS hosts and services to JSON format.
   * //nems-info **alias**// Output the alias of your NEMS Linux server.   * //nems-info **alias**// Output the alias of your NEMS Linux server.
Line 52: Line 52:
   * //nems-info **speedtest which**// Output 0 if using automatically-selected speedtest server (automatically updates itself each day based on which server is best). Output 1 if using the server number provided in the ARGS on the check_command in NEMS NConf.   * //nems-info **speedtest which**// Output 0 if using automatically-selected speedtest server (automatically updates itself each day based on which server is best). Output 1 if using the server number provided in the ARGS on the check_command in NEMS NConf.
   * //nems-info **fileage [file]**// Output the age of any file on the NEMS server. Particularly helpful in determining how long a process has been running. Eg., //nems-info fileage /​var/​run/​nems-quickfix.pid//​   * //nems-info **fileage [file]**// Output the age of any file on the NEMS server. Particularly helpful in determining how long a process has been running. Eg., //nems-info fileage /​var/​run/​nems-quickfix.pid//​
 +  * //nems-info **tv_require_notify**//​ Output the NEMS TV Dashboard setting for notification state. 1=Require notification state, 2=Display state information immediately.
 +  * //nems-info **tv_24h**//​ Output the clock format setting for NEMS TV Dashboard (configured in NEMS SST). 1=15:35, 2=3:35 PM, 3=3:35
 +
  • commands/nems-info.1556732410.txt.gz
  • Last modified: 2019/05/01 13:40
  • by Robbie Ferguson