Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.68k stars 511 forks source link

PERFORMED POWER ACTION ERROR #6094

Closed mtran-88 closed 1 month ago

mtran-88 commented 1 month ago

Describe the bug I am seeing an error on my meshcentral server. It is a performedpoweraction error. I will attach an image.

To Reproduce This happens when I have the server running, and the error just pops up.

Expected behavior I expect there would be no error! ;)

Screenshots image

Server Software (please complete the following information):

My config.json file


{
  "$schema": "https://raw.githubusercontent.com/Ylianst/MeshCentral/master/meshcentral-config-schema.json",
  "__comment1__": "This is a simple configuration file, all values and sections that start with underscore (_) are ignored. Edit a section and remove the _ in front of the name. Refer to the user's guide for details.",
  "__comment2__": "See node_modules/meshcentral/sample-config-advanced.json for a more advanced example.",
  "settings": {
    "cert": "meshcentral.mydomain.com",
    "_WANonly": true,
    "_LANonly": true,
    "_sessionKey": "MyReallySecretPassword1",
    "port": 443,
    "_aliasPort": 443,
    "redirPort": 80,
    "_redirAliasPort": 80
  },
  "domains": {
    "": {
      "title": "My MeshCentral Server",
      "_title2": "Servername",
      "_minify": true,
      "_newAccounts": true,
      "_userNameIsEmail": true
    }
  },
  "letsencrypt": {
    "__comment__": "Requires NodeJS 8.x or better, Go to https://letsdebug.net/ first before trying Let's Encrypt.",
    "email": "myemail",
    "names": "meshcentral.mydomain.com",
    "skipChallengeVerification": true,
    "production": true
  }
}
si458 commented 1 month ago

this isnt an error. its a log message to let you know that somebody has preformed a power action 👍

mtran-88 commented 1 month ago

Thanks for a quick response! does that mean that a mesh agent client did a power down manually or lost power??? Is there a way to check which device that is?

si458 commented 1 month ago

no, it means that an admin or user, preformed a power action like shutdown/restart on a computer note: this is from the 'actions' button on the general/desktop tabs OR the meshctrl.js, NOT the physical machine shutting down or restarting by an end user pressing turn off/restart

also the device is basically the nodeid without the node// - e.g: a1b2c3d4e5f6g7h8i9j0 you can use that in your web browser to see what device it was https://meshcentral.myserver.com/?viewmode=10&gotonode=a1b2c3d4e5f6g7h8i9j0