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

M

mitchellj

@mitchellj
Unfollow Follow
About
Posts
10
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Read external web API as DCI
    M mitchellj
    Support

    I have a remote API that counts a 'queue' in a remote system. I'd love to monitor the results in NetXMS so I can be alerted if the size grows to a uncontrollable size.

    I've been having a look through the docs and so far can't see a simple way to do it.

    If i visit the URL https://example.org/status/queueSize  I get a raw integer back - I'm trying to chart that number.

    Any suggestions?


  • Issue on Filtering for Instance Discovery on RC2
    M mitchellj
    Support

    Hey,

    So I'm trying to add instance discovery for some drives I've set the instance to be

    FileSystem.MountPoints

    Which works perfectly

    However when I try to put any filter in (even if its just return true;) it seems to be not discovering any instances. I noticed in the recent changelog there was a tweak to filtering for instances, has something changes and I'm potentially doing something incorrect?

    The Server is RC2
    The Agent is RC2
    The Console is RC2

    Thanks!
    mitch


  • Getting all previous values from a DCI
    M mitchellj
    Support

    Thanks!

    It would be much appreciated!

    mitch


  • Getting all previous values from a DCI
    M mitchellj
    Support

    So like a few others I'm trying to get the 95th percentile for a interface, the way I'm trying to solve this would be to make a new DCI which takes all the values of a DCI, bubblesorts them and lops off the top 5% and then takes the next item.

    The roadblock i'm running into :- is there a function to get a array of all previous DCI values?

    If there isn't I don't suppose I can put in a feature request could I? GetDCIValues(nodeID, startTime, endTime) which just accepts a node id, a unix timestamp start time and a unix timestamp end time and all it does is spit out an array of all the DCI Values between the two values?

    Thanks!
    mitch


  • Using functions in Transformation Scripts
    M mitchellj
    Support

    Perfect thanks!


  • Using functions in Transformation Scripts
    M mitchellj
    Support

    Hey,

    Is it possible to use functions in transformation scripts? What I'm trying to do is get the load average over the processor count.

    So I would assume something along the lines of

    sub main()
    {
      return ($1 / System.CPU.Count());
    }

    Is this possible and if so what am I doing wrong? 🙂

    Thanks !!


  • Using variables in parameters
    M mitchellj
    Support

    Sorry, I take it back! I must of made a typo or something  :-[ My bad!

    Thanks!
    mitch


  • Using variables in parameters
    M mitchellj
    Support

    Hey,

    So I'm trying to get a CheckSSH function working (in a template).  I am trying to check (through a proxy) that the SSH port is open.

    Is there any way to get the ipAddress for the current node in the parameters function of the DCI configuration page.

    I've tried

    ServiceCheck.SSH($node->ipAddr)
    ServiceCheck.SSH(%{node_primary_ip})
    ServiceCheck.SSH($1->ipAddr)

    But no luck, is there a way? It is highly possible I just can't find the docs that show how to do it.

    Thanks!
    mitch


  • Creating DCI on joining auto filtered container
    M mitchellj
    Support

    Thanks for the response.

    I've switched to using the proxy method since I think it does what I was trying to accomplish without a fuller understanding of how it worked 😛

    I have now ran into another problem though 😐 Whenever I switch on proxy mode in the DCI I get a "UNSUPPORTED" message.  I have enabled proxy support on the node I am using as a proxy in the agentd.conf file and restarted the node (127.0.0.1).

    Any pointers you can give would be much apprechiated.

    Thanks!
    mitch


  • Creating DCI on joining auto filtered container
    M mitchellj
    Support

    Hiya,

    I am hoping someone can point me in the right direction. What I'm trying to do is

    When a new node gets added to the netxms server, if the node is an agent and is linux then automatically join it to a container called "Linux Servers".  <-- I can do this part easy enough
    Once a node has joined the Linux Servers container then automatically create a DCI (if it doesn't exist) on another Node (MonitoringServer) which performs a PortCheck on SSH

    I'm struggling with this second part, mainly finding someone to hook the "has joined" script onto, is this even possible? What I'm trying to accomplish is when a new node is added (of type linux) to the server I start monitoring its SSH port to make sure SSH is up and running.

    Thanks!
    mitch

  • 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