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

#91
General Support / Re: No Topology associations 3.2
March 10, 2020, 06:27:09 AM
I have attached the logs.  I think i know whats going on and it seems to be on the switch side but not 100% sure.  For each node that has been fully polled the interfaces all show as

ETHERNET PORT 1
.
.
ETHERNET PORT 10

However the lldptables from the switch show completely different port names

PORT1
.
.
PORT8
SFP-1GLXLC-T
SFP-1GLXLC-T

I can only get the topology to work if I uses alias's and SNMP SET the alias to match the lldp port name.  So setting port 9 and 10 to SFP-1GLXLC-T  on both switches will allow the connections to be found.  But I really don't want to script this up just to get things working and  if the SFP is changed it could end up being a different port name.  I would think Netxms would be able to just use the port index and FDB but maybe since LLDP is enabled that is not being used.   One other thing is the switched is a L3/L2 but is only on layer2 mode but is still discovered by netxms as being a router so the dot1qtpfdbtable does not return any entries only dot1dfdtable returns. Hope this helps and thank you for your time.

Gary 
#92
General Support / No Topology associations 3.2
March 06, 2020, 04:12:24 AM
At work we switched to a different set of l2 switches and I do not get any topology info at all. But if I right click ->  info -> lldp I can see the neighbors. I can alos mib browse and see both local and remote lldp tables populated.  I though this all netxms needed to build the topo. The brand of switch is Moxa EDR 810 if that helps
#93
General Support / Timescale DB Question
February 27, 2020, 08:37:02 PM
I noticed the in 3.2.350 that there is a tsdb.sql init file  but when building from source tsdb is not an optional driver to install.  What is the standard install for timescaledb.   I am assuming i would follow the timescale.com docs to install postgres and the timescaledb plugin but for netxms would I then only need to init the tsdb.sql file or does both pgsql and tsdb neet to be initialized.

Thanks
#94
General Support / Re: Nxshell no longer working
September 12, 2019, 10:39:14 PM
Working now ... Thank you
#95
General Support / Re: Nxshell no longer working
September 12, 2019, 09:48:49 PM
I tried directly on the server which has version Java Version 1.8.0   and still nothing.  However this scripts works just fine on both server and separate client.

import sys
from fnmatch import fnmatch

if len(sys.argv) > 1:
  mask = sys.argv[1]
else:
  mask = ".1.3.6.1.*"

nodes = filter(lambda x: isinstance(x, objects.Node), s.getAllObjects())
matched = filter(lambda x: fnmatch(x.getSnmpOID(), mask), nodes)
for node in matched:
  print node.getObjectId(), node.getObjectName(), node.getPrimaryIP().getHostAddress()



any script with getAllChilds method does not work 

something has definitely changed the older api shows getChilds() method the latests does not  and I cant even find the documentation for my version 2.2.16

https://www.netxms.org/documentation/javadoc/versioned/Release-2.2.8/
#96
General Support / Nxshell no longer working
September 06, 2019, 12:12:02 AM
Where there any changes to the nxshell ?  Im using 2.2.16  and all my old scripts no longer work. I even tried most of the examples in the wiki and they no longer work either.  This is the error i receive

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/home/gmonk/Development/Python/Netxms%20Scripts/nxshell-2.2.16.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
node_id,interface_id,name,ip,mask
Traceback (most recent call last):
  File "iftest.py", line 8, in <module>
    allInterfaces = node.getAllChilds(objects.GenericObject.OBJECT_INTERFACE)
AttributeError: 'org.netxms.client.objects.Node' object has no attribute 'getAllChilds'
#97
General Support / Re: Timescale DB
July 09, 2019, 12:39:01 AM
Great  ;)  Thanks for the info
#98
General Support / Timescale DB
July 04, 2019, 07:51:28 PM
If I want to migrate from Mysql to Timescale is there any way to import the data from mysql ?  By the way awesome choice :)  I always thought timeseries databases where better suited for NMS's   


Thanks
#99
.1.0.8802.1.1.2.1.4.1.1.2.84659416.13.1 [INTEGER] = 13
.1.0.8802.1.1.2.1.4.1.1.2.84658408.12.2 [INTEGER] = 12
.1.0.8802.1.1.2.1.4.1.1.3.84659416.13.1 [INTEGER] = 1
.1.0.8802.1.1.2.1.4.1.1.3.84658408.12.2 [INTEGER] = 2
.1.0.8802.1.1.2.1.4.1.1.4.84659416.13.1 [INTEGER] = 4
.1.0.8802.1.1.2.1.4.1.1.4.84658408.12.2 [INTEGER] = 4
.1.0.8802.1.1.2.1.4.1.1.5.84659416.13.1 [STRING] = ec-13-b2-63-96-7c
.1.0.8802.1.1.2.1.4.1.1.5.84658408.12.2 [STRING] = 6c-3b-6b-54-b0-e2
.1.0.8802.1.1.2.1.4.1.1.6.84659416.13.1 [INTEGER] = 5
.1.0.8802.1.1.2.1.4.1.1.6.84658408.12.2 [INTEGER] = 5
.1.0.8802.1.1.2.1.4.1.1.7.84659416.13.1 [STRING] = Port 14
.1.0.8802.1.1.2.1.4.1.1.7.84658408.12.2 [STRING] = ether1
.1.0.8802.1.1.2.1.4.1.1.8.84659416.13.1 [STRING] = Port 14
.1.0.8802.1.1.2.1.4.1.1.8.84658408.12.2 [STRING] =
.1.0.8802.1.1.2.1.4.1.1.9.84659416.13.1 [STRING] = 1971_BPDO_SW
.1.0.8802.1.1.2.1.4.1.1.9.84658408.12.2 [STRING] = MTIK_UNDO_AP
.1.0.8802.1.1.2.1.4.1.1.10.84659416.13.1 [STRING] = Netonix WS-12-250-AC
.1.0.8802.1.1.2.1.4.1.1.10.84658408.12.2 [STRING] = MikroTik RouterOS 6.42.9 (long-term) RB Groove A-52HPn r2

The above is the lldpRemTable from a Netonix switch in the field.  We are having the same issues with our Mikrotik switches.  I understand the need for the LLDP chassis ID but it seems there are several switches that only populate remote table info  and are there any cases why the LLDP chassis ID would differ from the Bridge Base Address could you not supplement this base address assuming the checks for LLDP chassis ID fail but only if there are entries in the LLDPRemtable

Thanks,

Gary
#100
Victor,

Sorry i completely forgot about this.  No this switch does not respond to those OID's only the remote table seems to be populated. Is it possible to do a check on the remote table for any entries and enable LLDP  based on if any neighbors are found as well.   I dont know why this switch does not respond to .1.0.8802.1.1.2.1.3.2.0  or  .1.0.8802.1.1.2.1.3  but Im sure there could be other off brand switches that do the same.


Thanks,

Gary 
#101
General Support / LLDP not discovered on NETONIX
March 13, 2019, 08:57:35 PM
I have version 2.2.6 which I noticed does not properly discovery lldp on NETONIX switches.  I have looked at the release notes of the newer versions and no of these address this. Im wondering if this is a bug.  I can pull the lldp database using snmp client and see all listed neighbors but node does not show lldp enabled


Thanks
#102
General Support / MQTT Sub Agent
July 20, 2018, 03:57:33 AM
Mqtt subagent does not seem to properly pass the user name and login values to the broker following the documentation below is what i have


Hostname = mybroker.ip
Port =  5222
Login = myuser
Password = mypass

on the broker i see several unsuccessful attempts while using the same credentials with mosquitto_sub client  everthing works fine
#103
General Support / Re: Possible Bug with Map
July 12, 2018, 10:20:21 PM
Disregard I just ended up deleting the map and starting over and so far no problems
#104
General Support / Possible Bug with Map
July 12, 2018, 06:04:09 PM
After adding a few nodes with links between everything seems fine until i try to add interface DCI's to display link bandwidth.  As soon as I do that some of the links go blue even though the link is up and correctly displaying bandwidth. This happens randomly on several other nodes but if I remove the DCI's from Datasources it goes back to green .   I have double checked interface status and node status and everything is up/up   any ideas ?
#105
Feature Requests / TOPOLOGY MAP :(
June 23, 2018, 06:26:06 PM
It would really be helpful if you cold implement some sort of feature that will will flash or highlight the Icon of the node you are running the Topology on.  Other wise the topolgy map is pretty useless if you have a large network and the map returns hundreds of devices