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. NXPUSH

NXPUSH

Scheduled Pinned Locked Moved Support
8 Posts 3 Posters 36.5k 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.
  • G
    G
    gmonk63
    wrote on last edited by
    #1

    Is it possible to cause a node to show as down from an external nxpush event ?  My reasoning for this is that we have lots of critical nodes that i would like to monitor less than the 60 sec interval for instance ping every 10 seconds or liess and I dont want to do this on the server because im sure decreasing the status interval to 10 seconds would cause the server to burst into flames  ;D ... but i would like to create a script that could do that and then send the results back to netxms say 0=ok  and 1=down    and have it create and alarm and just like it would if netxms was doing the ICMP requests..  I have experimented with nxpush and it seems i can only provide 0 - 4  from Warning to Critical but never a sys_node_down event

    Thanks

    1 Reply Last reply
    0
    • G
      G
      gmonk63
      wrote on last edited by
      #2

      Ok so i know i can send a nxevent  but when i send nxevent -d  -u admin -P pass 192.168.0.180 '100035'  i get invalid object id

      1 Reply Last reply
      0
      • G
        G
        gmonk63
        wrote on last edited by
        #3

        I figured it out but i dont think this will work for me because once i remove icmp polling the node shows down ... is there any way to tell the server to prefer my script and not send its own icmp and only rely on the script to provide up down status ?

        1 Reply Last reply
        0
        • T
          T
          tomaskir
          wrote on last edited by
          #4

          I suggest you NXAPUSH to a DCI.

          You need to "Disable status polling" in node's "Polling" properties
          Only setting "Disable usage of ICMP pings for status polling" is not enought.

          After that, you can then set the DCI to "Use this DCI for node status calculation".
          Its in the "Other options" of the DCI.

          Please be aware that this combination might not be good - since you are relying on the script A LOT.
          If your script dies, or whatever else happens to it, your node down detection will not work (since the push-type DCI will not get updated with new data, and therefore node status will not be re-calculated).
          So if someone does "pkill thescript.sh", your monitoring will be dead.

          1 Reply Last reply
          0
          • G
            G
            gmonk63
            wrote on last edited by
            #5

            What is the difference betweem nxapush and nxpush

            1 Reply Last reply
            0
            • T
              T
              tomaskir
              wrote on last edited by
              #6

              nxapush is simply newer - on newer versions nxpush is not present anymore (specifically when installing from netxms apt repo).

              1 Reply Last reply
              0
              • A
                A
                Alex Kirhenshtein
                wrote on last edited by
                #7

                nxpush connects directly to the server (and require matching version of the protocol), nxapush works over agent connection (and can work across versions).
                nxevent still exist, but considered deprecated.

                @gmonk63 said in NXPUSH:

                What is the difference betweem nxapush and nxpush

                1 Reply Last reply
                0
                • G
                  G
                  gmonk63
                  wrote on last edited by
                  #8

                  since this wouldnt be recommend then is it almost better to create a dedicated server for these device that need to be polled more frequently and only forward the up down events to the main server as to get as much of a realtime status as possible ?  Or would i still be limited to the polling frequency of the main server ? for instance if i create a server and have it poll icmp every 10 seconds and send that back to the main server will i only find out about that after the 60 second poll  on the main server kicks in  or would it be more of an instant status update from the slave server ..

                  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