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 - ikopmans

#1
Just did it (thanx to NetXMS team advices).

To monitor some file for changes (like /etc/passwd file):
1. Add DCI File.Hash.CRC32(/path/to/file)
2. Create event template (something like "Contents of %6 changed").
3. Add threshold "diff with previous value" (1 sample) not equal (!=) to 0 to generate this event.
4. Don't forget to put file name to Instance field. :)

This should work fine also for MD5 and SHA1 hashes, as string comparison return -1,0,1, so !=0 will do the same trick.
#2
General Support / "Invalid netmask" for node.
August 31, 2011, 02:32:52 PM
Just solved the issue with NetXMS team's support.

Cause:
If node has some IP address in a subnet that already exist in NetXMS (in Entire Network)
and node's netmask does not match subnet's size NetXMS will report that node
has invalid netmask on this interface and change node's status to 2.

Solutions:
So to get rid of this message any of the following can be done:
1. login to this node and fix netmask on node's interface to match existing network definition (and netmasks of other nodes in same subnet if there are some) and poll configuration.
2. delete "Subnet" object and poll configuration from node, to recreate "subnet" object with correct network size.

Option 2 worked for me. :) Thanx!