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. Subagent utilization and Summary notification

Subagent utilization and Summary notification

Scheduled Pinned Locked Moved Support
6 Posts 2 Posters 28.9k 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.
  • A
    A
    ages77
    wrote on last edited by
    #1

    Dear all,

    i have 2 question regards the utilization of Netxms

    The first is the utilization of the Subagent for monitoring the database (not NetXMS server db) but another instance deploy in another Host .I need to understand what i can configure and where (side agent into the host ) and side server into the nxmc .For example i need to know if the sqlServer instance rather then oracle instance is running and also the query for check the dimension of tablespace rather then simply query in user table.

    The second is the Summary of alarm state . I need for example that every day at 12:00 PM an event send me (by email) the status of specific application server . This status is the situation of the system not necessary must in alarm state.

    Best Regards

    FL

    1 Reply Last reply
    0
    • V
      V
      Victor Kirhenshtein
      wrote on last edited by
      #2

      Hi!

      @ages77 said in Subagent utilization and Summary notification:

      The first is the utilization of the Subagent for monitoring the database (not NetXMS server db) but another instance deploy in another Host .I need to understand what i can configure and where (side agent into the host ) and side server into the nxmc .For example i need to know if the sqlServer instance rather then oracle instance is running and also the query for check the dimension of tablespace rather then simply query in user table.

      What database exactly? There are sub-agents for monitoring Oracle, DB2, and MySQL databases. Also, you can use "dbquery" subagent to issue any query in database, so if you know how to extract data from system tables you can use that as well. For monitoring MS SQL Server you can use Windows Performance counters (accessible via "winperf" subagent).

      @ages77 said in Subagent utilization and Summary notification:

      The second is the Summary of alarm state . I need for example that every day at 12:00 PM an event send me (by email) the status of specific application server . This status is the situation of the system not necessary must in alarm state.

      You can setup scheduled task that will run your script. Script can collect necessary data and generate an event that can be processed as usual and email can be generated from it.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • A
        A
        ages77
        wrote on last edited by
        #3

        Hi Victor,

        i configure the sub-agent DBQuery for an application istance of sqlServer and i understand what i do .
        if I were so kind to post me a simple example of how I could ping a series of hosts at a certain time of day (eg 12:00 PM) and create an event that then send an email with the host states.

        thx

        Ages77

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          You can use PING subagent and configure set of Icmp.Ping DCIs in the server, one for each host. You can use custom schedule to collect data once a day at 12:00, and configure threshold as necessary. Relevant part of the documentation: https://www.netxms.org/documentation/adminguide/icmp-ping.html

          Best regards,
          Victor

          1 Reply Last reply
          0
          • A
            A
            ages77
            wrote on last edited by
            #5

            Hi Victor,

            How can generate an custom event from a script?

            Best Regards

            Ages77

            1 Reply Last reply
            0
            • V
              V
              Victor Kirhenshtein
              wrote on last edited by
              #6

              I suppose you mean NXSL script? Then you can use function PostEvent (https://wiki.netxms.org/wiki/NXSL:PostEvent).

              Best regards,
              Victor

              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