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

#1
The device(s) that are being detected with that 10.10.10.56/29 should be showing up under that subnet folder so you should be able to narrow down the culprit...
#3
Are you able to poll other SNMP nodes through the same agent/proxy?

Have you done a "tcpdump port 161" on the agent while attempting the poll to ensure there is expected traffic?

If you're running selinux or something equivalent on the agent/proxy?  You might want to disable it and try again to see if this is the cause.

-Zeb
#4
Your script works without issue on my end.  I'm using 3.8.314.
#5
alarm = FindAlarmByKeyRegex("SERVICE_DOWN_.*");

works for me, but only if there are alarms that have SERVICE_DOWN_.  If there aren't any, you'll get a "Function or operation argument is not an object" if you try to println alarm->message because alarm isn't an object.  Alarm would be set to NULL in this case, so best to check for this:

if (alarm != NULL)
  println alarm->message;
#6
We had a similar challenge with the poller queue never "catching up" and would continue to grow.

Victor took a closer look.  Turning on parallel processing and increasing the Discovery.BaseSize from 1 to 8 seems to have helped immensely.   We haven't had any related problems since.

Not sure if this will help your situation.

-zeb
#7
Hi,

Fairly new to NetXMS and running the latest version 3.8.193.  Have been running it since 3.8-ish and am just now digging into some of the layer 2 topology mapping.

We use Mikrotik switches almost exclusively and I've noticed that NetXMS can't seem to find the port a device is connected to on a Mikrotik switch.

For instance, at home I have a simple network configuration:  Mikrotik CCR Router -> ProCurve Switch -> Mikrotik CRS324 switch -> NetXMS Agent PC.

If I right-click on the Agent PC and select "Find switch port", it tells me it is "indirectly connected to Procurve Port 5".

If I right-click on the CRS324 switch and do the same.  It also tells me it is "indirectly connected to Procurve Port 5".

The topology maps also tend to be a bit goofy and I suspect whatever is causing the above, is also causing the mapping issue.

Any idea where I should start looking?  I'm running RouterOS 6.48.1 on all Mikrotik devices, and they all have a bridge configured for switching (with hardware offloading).

Thanks!

-zeb
#8
We have the same issue, but we use a lot of Zones with Proxy Nodes and a lot of overlapping subnets so using the "Accept node if it's within given range" can be cumbersome to manage.  The only way I found so far to prevent scanning in our case is to add firewall rules on the edge device that prevents connectivity and scanning to that subnet, from the proxy node.

If there's a better way to do this, I'm all ears!
#9
Thanks Filipp!

If you need any additional details or a guinea pig for testing, just let me know.

We're really starting to get deep into NetXMS and the more we use it, the more we're amazed.  Great work.
#10
3.8.166 still seems to have the same issue.  Should I open an issue on github?
#11
General Support / Re: Microsoft Teams notification
February 19, 2021, 11:47:38 PM
I just got this working yesterday, at least through a script, and found this NXSL command helpful:

SendNotification("Notification Channel", "Channel", "text", "text2");

In your case, this would be:

SendNotification("Teams Notification", "NetXMS", "does this work?", "Yup!");

I ran it manually through "Execute server script".  Worked great.

I haven't tried it as an actual event notification yet.

-zeb
#12
If the system you're doing the ping on is something like Linux, then "ping" never actually stops to give output with it's default commandline.  You'll want whatever you run through the SSH subagent to return a final value/string that you can deal with.

For instance, on Linux, a better ping command would be something like:

ping -qc1 192.168.240.1

And then parse it with awk or grep to give you a single line output.  There are some good ideas in this thread:

https://unix.stackexchange.com/questions/409203/ping-show-only-results

-zeb
#13
General Support / Re: Error installing nxmc 3.8
February 14, 2021, 02:49:43 AM
You have the same issue.  You're running Java 8.  Install Java 15 from the link above (or java 11 if you prefer) and then UNINSTALL Java 8.  Then you should be good to go.
#14
General Support / Re: Error installing nxmc 3.8
February 13, 2021, 12:05:38 PM
NetXMS uses the eclipse framework for Java.  Newer versions of the framework require Java 11 or higher, which is why you're getting the error.

When you get the error again, check the "java.version" near the top of the log.  It should indicate java 11 or higher.  Your original log shows java 1.8.0 144 (ie. JAVA 8).

-zeb
#15
General Support / Re: Web Service DCI howto?
February 12, 2021, 04:56:04 PM
Thanks Filipp,

What's the best practice for updates when using agents with deb packages then?  We can't use the Package Manager in NetXMS for these updates and will need to rely on the OS update methods?