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. Reading in values from a file

Reading in values from a file

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 19.4k 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.
  • B
    B
    bulwer
    wrote on last edited by
    #1

    I'm trying to convert what someone else has done for PRTG. We use Spiceworks as our Helpdesk system and I want to get a display of open and unassigned calls into our dashboard. Using this link http://community.spiceworks.com/how_to/show/733-how-to-monitor-spiceworks-tickets-using-prtg

    , I have got the following info out of Spiceworks and into a txt file:

    tickets_new_total:0:Total new tickets - 0
    tickets_open_AlistairMann:3:Open tickets for Alistair Mann - 3
    tickets_open_DavidBulwer:3:Open tickets for David Bulwer - 3
    tickets_open_SteveChapman:13:Open tickets for Steve Chapman - 13
    tickets_open_total:45:Total open tickets - 45
    tickets_overdue_total:12:Total overdue tickets - 12
    tickets_unassigned_total:26:Total unassigned tickets - 26

    I am struggling to figure out how to get these figures into NetXMS as DCI - It appears to me that ExternalParameters could be the way to go but I'm struggling to get my head around it - can anyone please give me any pointers?

    Many thanks,

    Dave

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

      Hi!

      I think that ExternalParametersProvider could be better solution in that case. You can create script which will create output like

      tickets_new_total=0
      tickets_open_AlistairMann=3
      tickets_open_DavidBulwer=3
      tickets_open_SteveChapman=13
      tickets_open_total=45
      tickets_overdue_total=12
      tickets_unassigned_total=26

      and then add to nxagentd.conf:

      ExternalParametersProvider = <your_script>:<polling_interval>

      Then you'll see each output line as a new parameter for the node.

      Best regards,
      Victor

      1 Reply Last reply
      0
      • B
        B
        bulwer
        wrote on last edited by
        #3

        After lots of hair pulling over what turned out to be a path issue for the cmd file, that worked perfectly - thanks 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