Every once in a while, our 100mbps Mikrotik switches will report that they transfered 100+ pbps (Yes, pettabits). Is there a way to discard these values when they come in? It makes looking at the graphs very difficult.

Every once in a while, our 100mbps Mikrotik switches will report that they transfered 100+ pbps (Yes, pettabits). Is there a way to discard these values when they come in? It makes looking at the graphs very difficult.

Thanks Filipp, this is perfect. We've been changing the expected state when alarms come up, so most of the existing ones are done. I just wanted something so that new ones are done automagically.
Is there a way to set interface expected state by a template? We use Unifi APs and these things change their interface state as often as I change my underwear it seems. I would like to set NetXMS so that if the device is a Unifi AP, then all interfaces are automatically set to Ignore for expected state.
I searched the forums and didn't find this situation. Any help would be much appreciated.
Has anyone taken the Cisco Entity Sensor MIB and used it to create monitoring and alarms for an IOS-XE device?
I know I take entPhysicalDescr to get the description of what is monitored and then entSensorType for the type of data (volts/celsius/amps) and then entSensorPrecision for the number of decimal places to transform and then entSensorValue for the actual value and then entSensorScale to get the .
These five queries will give me something like:
subslot 0/2 voltage Sensor 4 : 2482 mV DC
Then you would use entSensorThresholdSeverity and entSensorThresholdRelation and entSensorThresholdValue to get your alarm parameters. Using the above example, my alarm parameters would be:
greater than 4875 mV = minor alarm
greater than 5125 mV = critical alarm
less than 125 mV = minor alarm
less than -125 mV = critical alarm
So, right now I would have no alarm for subslot 0/2 voltage Sensor 4.
Has this been done? What's the best way to set this up if it hasn't been done?
Thanks in advance!
Hi Filipp,
The Alarm was Node Down. The prefer IPv4 option would be perfect.
Thanks!
We've set up our NetXMS with DNS hostnames in the Primary Host Name field. This is all good until we have an issue where IPv6 or IPv4 is not working, but the other IP Version is working. I had a router paging down this morning, but it was up - the only problem was that it had stopped responding on IPv6. I was able to reach it on IPv4.
Is it possible to poll both IPv4 and IPv6? And then it could minor alarm saying "Router is not reachable by IPv6, it is reachable by IPv4"
I don't see an option for this in the configuration, maybe I'm missing it or maybe this is something that could be added in the future?
They auto-apply hourly. This was brought up previously in another thread.
Here's the link to that thread:
https://www.netxms.org/forum/general-support/auto-apply-template-not-working-after-upgrade/
There's probably better ways, but we do an SNMP query on bgpPeerState and alarm if the result is not 6 (established)
SNMP Parameter .1.3.6.1.2.1.15.3.1.2.{instance}
Instance Discovery SNMP Walk on .1.3.6.1.2.1.15.3.1.2
Threshold Last Polled Value != 6
I would like to +1 this as well. We're graphing disk free space from the instance discovery and every partition is the same colour, very hard to distinguish which partition is which!!
After 16 hours my migration is complete.
I deleted a container today and expected all of the nodes inside it to be deleted as well. But I just got a bunch of alarms for nodes that were supposed to be deleted. So now I have orphan nodes that do not even show up in the node list. Do I really need to delete the contents of a container before deleting a container?
I did some more digging and realized I can tell nxdbmgr to skip that table, migration is going now and well past the last failure point.
I'm trying to migrate our database from MariaDB to TimeScaleDB. I ran nxdbmgr migrate and it was humming along nicely and then failed with the following error:
Migrating table zmq_subscription
ERROR: unable to read data from source table (Table 'netxms.zmq_subscription' doesn't exist)
Database migration failed.
What should I do to resolve this? I'm really not sure why this table doesnt exist.
Thanks!
Hi Filip,
I just checked the devices I added on Monday and the templates have been applied. I was just used to the templates being applied automatically when a device was added. The Objects.AutobindPollingInterval is 3600 (default) so likely the templates were applied within an hour of adding the devices.
Thanks for the help!
Hi Egert,
I had the same issue with Nodes Unreachable by ICMP. Victor and I determined that the ICMP poll was ignoring the server setting for PollCountForStatusChange (mine is set to 5 and it alarmed on one missed ping). I believe they are working on fixing this. Until that happens, I just disabled the Event Processing Policy.
Cheers,
Donovan.
This is what's installed:
netxms-agent/bullseye,now 4.0.2157-1 amd64 [installed,automatic]
netxms-base-dbg/bullseye,now 4.0.2157-1 amd64 [installed,automatic]
netxms-base/bullseye,now 4.0.2157-1 amd64 [installed,automatic]
netxms-dbdrv-mariadb-dbg/bullseye,now 4.0.2157-1 amd64 [installed]
netxms-dbdrv-mariadb/bullseye,now 4.0.2157-1 amd64 [installed,automatic]
netxms-dbdrv-sqlite3/bullseye,now 4.0.2157-1 amd64 [installed,automatic]
netxms-server-dbg/bullseye,now 4.0.2157-1 amd64 [installed]
netxms-server/bullseye,now 4.0.2157-1 amd64 [installed]
If I apt-update, I have no new packages to be installed.
I just noticed that my Auto-Apply scripts are non-functional. All of them. Did something change in v4 about the way these are run? Here's a basic script I have on a template that we apply to all devices:
if (classof($object) != "Node")
return false;
return true;
I just added 6 nodes and none of them came up with this template.
[New Thread 0x7fffa662f700 (LWP 223140)]
--Type <RET> for more, q to quit, c to continue without paging--RET
Thread 97 "SNMPTrapRecv" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcd0f6700 (LWP 221049)]
ProcessTrap (pdu=0x7fff899f7f00, srcAddr=..., zoneUIN=0, srcPort=62369, snmpTransport=0x7fffcc61d000, localEngine=<optimized out>, isInformRq=false) at ../../../src/server/include/nms_objects.h:3363
3363 ../../../src/server/include/nms_objects.h: No such file or directory.
(gdb) bt
#0 ProcessTrap (pdu=0x7fff899f7f00, srcAddr=..., zoneUIN=0, srcPort=62369, snmpTransport=0x7fffcc61d000, localEngine=<optimized out>, isInformRq=false) at ../../../src/server/include/nms_objects.h:3363
#1 0x00007ffff7dcd653 in SNMPTrapReceiver () at snmptrap.cpp:932
#2 0x00007ffff7cb6146 in ThreadCreate_Wrapper_0 (function=<optimized out>) at ../../../include/nms_threads.h:504
#3 0x00007ffff7a53ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#4 0x00007ffff779adef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
We're at 5, almost 6 days since our NetXMS installation worked. Is there anyone that can assist with these issues?
Here's the sigsegv for the daemon.
[10890669.800354] SNMPTrapRecv[4081047]: segfault at 2562 ip 00007f0d34a3ad04 sp 00007f0d071ed880 error 4 in libnxcore.so.40.0.0[7f0d34856000+220000]
[10890669.800382] Code: 49 89 e8 4c 89 e9 48 89 44 24 18 be 05 00 00 00 31 c0 48 8d 15 ed 2b 11 00 48 8d 3d 9e 16 11 00 e8 41 02 e2 ff 48 8b 74 24 60 <80> be 62 25 00 00 00 0f 85 0f 06 00 00 48 8d 35 08 65 1c 00 80 3e