Reading in values from a file
-
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 - 26I 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
-
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=26and 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 -
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