News:

We really need your input in this questionnaire

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - tomaskir

#421
Yes, same here.

I write my scripts in Notepad++ anyway tho, since its a much more powerful editor.
#422
General Support / Re: Use ifTable instead of ifXTable?
August 20, 2014, 12:14:35 PM
Anyone can share any info on this?

Thanks!
#423
That is exactly what I wanted to know, thank you.

Just for completeness:
If none of the hosts on the list respond, network is considered down.
If atleast one of the hosts on the list responds again, network is considered up.

Is this correct?

Thanks!
#424
Thanks for listing those!

Updated the syntax file in the attachement of the main post :)
#425
General Support / Use ifTable instead of ifXTable?
August 17, 2014, 12:32:35 AM
I have a few less advanced (but dirt cheap) managed switches that do not have ifXTable, but do present info over ifTable.
Is there any way to fall-back interface discovery to use ifTable instead of ifXTable if the device only supports ifTable?

Currently, NetXMS doesnt show any interfaces on the switch, so I cant monitor port state.
SNMPWalking the device however, I can see all ports, they status and all required info in the ifTable.

#426
Is there any documentation anywhere for the "BeaconHosts" functionality thats configurable in "Server Configuration"?

Thanks!
#427
Changelog:

v2016010701:
  Added new functions from 2.0 release to syntax highlight and calltips
  Fixed cosmetic errors in Calltips
  Fixed multi-line comments not being styled
  Fixed escaped quote breaking styling in strings
  Files moved to GitHub

v2014102202:
  Added a few missing calltips

v2014102201:
  Added function calltips!
  Added new functions from 1.2.17

v2014091901:
  Fixed auto extention handling (.nxs - for real this time)
  Added .xml extension to the file for easier import into Notepad++

v2014081801:
  Fixed auto extention handling (broken in v2014081701)
  Fixed some keywords missing (broken in v2014081701)

v2014081701:
  Added missing keywords provided by Alex Kirhenshtein

v2014081601:
  Added auto extention handling (.nxs)
  Added a few missing keywords and operators

v2014081501:
  Original syntax file
#428
Hey guys,

I have created a syntax highlighter and calltips (tooltips) for Notepad++ for NetXMS's scripting language NXSL.

How the calltips work:


How the highlighting works:


You can find all the necessary info (and files for download) at:
https://github.com/tomaskir/netxms-notepad_pp.git

Regards,

tom
#429
General Support / Get a list of templates node is in
August 14, 2014, 11:43:26 AM
Is there any way to get a list of what templates a node is in?
GetNodeParents() doesnt return templates as node's parents, is there any other way?

Thanks in advance :)
#430
Quote from: Dani@M3T on August 13, 2014, 03:30:26 PM
Try to set the data type of the DCI to "Integer 64 bit" and use this transformation script:

return (int64($1) * 1024);

That did the trick, thanks!
#431
I have a DCI which collects a snmp value. The node presents this value via snmp in kilobytes as an Integer.

I want to see this value in NetXMS in bytes. So I apply a transformation:
return ($1 * 1024);

The problem is that the value then gets reported by NetXMS as -145752064

I have a feeling the Integer is overflowing after the transformation.

Is there any way to get around this?

Thanks!
#432
General Support / Re: Bound / Unbound nodes
August 11, 2014, 01:33:28 PM
Thanks!
#433
General Support / Re: Bound / Unbound nodes
August 11, 2014, 01:21:38 PM
Is there a list of numeric values to type names somewhere?

I wanted to modify the script a bit, but I cant find this list, and dont know what numeric value the "Template" type is.

Thanks!
#434
General Support / Re: Bound / Unbound nodes
August 07, 2014, 12:47:50 AM
Awesome, thank you very much :)
#435
General Support / Bound / Unbound nodes
August 06, 2014, 06:10:41 PM
Hey guys,

Is there an easy way to see a list of unbound nodes? (nodes being in "Entire Network", but not in "Infrastrucure services")?

I did a network discovery, which added all my nodes, but now I need to bind them to "Infrastrucure services".
I want to make sure I dont miss a node. Also, if I keep discovery running, and a node is added, I want an easy way to see which nodes are unbound.

Is this possible?

Thanks!