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

Topics - Kevo

#1
We recently had a switch replaced at night in a storm and all our port name aliases got reset when NetXMS polled the new switch. I was thinking there should be a way to see the old port names, but I can't find it.

Is there a place I could view the previous aliases for the switch ports?

#2
I am trying to add in the MIB for EdgeMAX and when compiling I get an error.

/usr/share/netxms/mibs/UBNT-EdgeMAX-MIB.txt: ERROR 003: Parser error - syntax error in line 323

The line in question is

DISPLAY-HINT    "d-2"

If I comment out that line it compiles fine. I was unable to find an explanation when I searched for one and from what I've seen when reading up on this particular statement it looks like it should be OK. Anyone have any ideas why it would cause an error?
#3
General Support / Problem with icons in Mac client
April 19, 2021, 11:16:03 PM
Some of the icons in the Mac client are showing up with a thick black border and look damaged. This is happening in the latest client version (3.8.262) but I think started around 3.7.150 maybe. I'm not entirely sure though.

Is this a problem with the build or is it just me? Anyone else seeing this?
#4
I am getting this error, "Cannot modify data collection object: Request is out of state", a lot.

If I close what I'm working on and reopen it then everything seems to work fine. I was unable to find any info when searching on this error, so I'm not sure what I should be looking at to try and resolve it. Anyone know what this means?
#5
I spent about 2-3 hours yesterday trying to work out an instance discovery filter script for a template I am working on. I copied and pasted a portion of a script from the Hook::ConfigurationPoll script I got from another forum post to remove dynamic interfaces from Mikrotik routers.

This script worked the first time I added it into the ConfigurigationPoll script, but in the instance discovery filter it wouldn't work. I tried various combinations of the same things, but it never worked. After looking through all the docs I could find on syntax and such, I changed the formatting so things would be more pretty. I only used one space character and a single line feed and nothing else. After "pretty printing" my script it started working.

Are there any special rules or restrictions for scripts on formatting, white space, capitalization, etc. that I should keep in mind when writing scripts?

Also, is there a way to debug a filter script or get NetXMS to show parsing errors or compilation errors of any sort?