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

#286
You are probably running old version of NetXMS.

I advise running the newest released version - 2.0-RC2.

Quote from: Andreas@rc on November 12, 2015, 05:01:46 PM
You could transform the DCI to negative values ...
I advise against doing that, just upgrade your NetXMS version and invert it on graph, rather than modifying the source data.
#287
General Support / Re: Step by step Install
November 12, 2015, 09:12:45 AM
Just follow the video tutorials. They show you how to add devices to monitoring and everything else.

https://www.netxms.org/forum/general-support/netxms-video-tutorial-series/
#288
General Support / Re: SNMPV3
November 11, 2015, 12:56:30 AM
Could you please try the same captures with 2.0-RC2?

I remember there were some changes to SNMPv3 in the 2.0 branch that fixed some edge-cases... but I might be wrong.
(and I dont know if any of those will apply to you or not)

Thanks in advance!
#289
General Support / Re: SNMPV3
November 10, 2015, 11:45:05 PM
Which version of NetXMS are those captures from?
#290
Use instance discovery to create dynamic DCIs.

You can see how to in this post:
https://www.netxms.org/forum/general-support/netxms-multiple-config-queistons/msg16714/#msg16714
#291
Probably easiest with a script.

This script assumes CheckTrustedNodes is set to 0 in server config variables.
Change searchStatus to what status you want to find.

Just a note - the script would probably not work if you are using Zones.


searchStatus = 4;

subs = GetObjectChildren(FindObject(1));

foreach (subnet : subs) {
  nodes = GetObjectChildren(subnet);
 
  foreach (node : nodes) {
    if (node->status == searchStatus)
      println("Node " . node->name . " has status " . searchStatus . ".");
  }
}



You could create a script DCI that will poll every 24hours (or at a custom schedule) that will keep the results.
You could even create multiple DCIs and send searchStatus as a parameter to the script to make it even more unified.
#292
General Support / Re: NetXMS - multiple config questions
November 10, 2015, 01:12:02 PM
Quote from: name29 on November 09, 2015, 10:55:28 PM
Hi tomaskir,

i tried to follow your instructions.

But if i set the title of the Graph to "Traffic on {instance-name} - bits/s" but netxms don't parse the {instance-name} value.

It's normal?

Thank you
Which NetXMS version are you using?
What does a walk on .1.3.6.1.2.1.31.1.1.1.1 show?
#293
General Support / Re: NetXMS - multiple config questions
November 10, 2015, 12:34:50 PM
Quote from: gmonk63 on November 10, 2015, 01:02:12 AM
1. Is there a way to show IFALIAS in interfaces table? Or better to replace interface names with this attribute.


I also needed this ..  If you go to   Configuration > ServerConfiguration  and change  UserInterfaceAliases value to 3  it will provide you with both if# and if Alias  but it wont change instantly you will have to wait for the next polling interval I believe or you can simply go to the node you want to test on right click  > poll > interfaces names and it should change it instantly
In 2.0, ifAlias is in interface table as a separate field, no need to use UserInterfaceAliases config parameter (its for a different use-case).
#294
General Support / Re: SNMPV3
November 10, 2015, 12:33:38 PM
All our devices use SNMPv3 and work without a problem (with both 1.2.17 and 2.0-RC2).

We have multiple NetXMS servers, together maybe 500 nodes, it works across all servers with different combinations of auth/priv, etc.
#295
You can do this with a script that will recursively look at objects parents, until it finds a correct custom attribute which you are interested in.

Its a bit painful, and not usable everywhere, but it might help you atleast a little.

#296
Yes, because in transform scrip, you will be able to return a data collection error when the return value ($1) is 10000.
When an actual value is returned again (not timeout), the transform script would do nothing.

Is basically exactly what you are doing now, but instead of 0, you will return data collection error object.
#297
Hi, currently it is not possible.

There is a feature request for this here, you can follow it to get updates:
https://dev.raden.solutions/issues/676
#298
General Support / Re: Templates & Instance Discovery
October 27, 2015, 05:41:28 PM
Just an update - since this topic is the top google result for NetXMS Agent Instance discovery.

With 2.0 there is a new agent list "Net.InterfaceNames" which contains all interface names present on a node.
You can use this list as instance discovery source, without a need for any filtering script.

Screenshots attached.
#299
DB driver packages were renamed starting with 2.0-RC3.
Use "netxms-dbdrv-mysql".

In server config file, simply use "DBDriver = mysql.ddr".
#300
Also as a side note to discussion about returning interface names.

"SNMPWalk - OIDs" now actually returns value of the OID as $2.

So now, script can look like this:

Instance discovery: SNMP Walk - OIDs
Base SNMP OID: .1.3.6.1.2.1.31.1.1.1.1

Instance discovery script:

return %(true, $1, $2);


So NetXMS will push to the script $1 as discovered instance (same as before), but now $2 is pushed to the script as the value of that OID automatically.
This makes the above script possible, and you dont have to use CreateSNMPTransport or GetInterfaceObject anymore.