Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support
  3. [Possible?] Alert CPU usage 80% for 15+ sec and list top processes

[Possible?] Alert CPU usage 80% for 15+ sec and list top processes

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 29.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    S
    Senri
    wrote on last edited by
    #1

    Hi,

    We are a Windows only environment. Right now we are using PRTG to monitor servers.

    NetXMS looks very configurable and I am wondering if I can at least do more with it.

    As the title mentions. Is it possible to set CPU thresholds such as that if CPU Usage goes over 80% for 15+ seconds, send alert listing top processes and Windows Event Logs.

    PRTG has the something called Threshold Trigger that does the above conditions but it can only send generic alerts without any information attached. Even if I use a PowerShell script it can only capture one line string output.

    Thanks!
    Senri

    1 Reply Last reply
    0
    • T
      T
      Tursiops
      wrote on last edited by
      #2

      Personally I haven't done this yet, but I would try this:

      • Create a PowerShell script that collects all the data you want/need. The script should either push all that information into a separate event log entry or mail it straight out (I would assume both of these would work with PRTG monitoring, too?)
      • Create an Action in the agent's configuration file to run that PowerShell script
      • Create a new event and configure event processing policies to trigger the action you just created when your newly created event is triggered
      • Configure the CPU DCI to probably check every 5 seconds, set the threshold to trigger the event you created on three consecutive values over 80%

      If your script just sends a mail directly, that'd be it.

      If the script creates an event log entry, you'd also have to set up event log monitoring in NetXMS for your Windows system and create another event (in NetXMS) and action to be triggered (moving the email/SMS or whichever action you wish to trigger to the NetXMS server). See https://wiki.netxms.org/wiki/UM:Log_Monitoring

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups