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 - Victor Kirhenshtein

#1546
Hi,

do you want to do those actions manually? If yes the your configuration seems to be correct. Do you get any output from your tool?

Best regards,
Victor
#1547
General Support / Re: Netxms rancid export script
August 09, 2018, 02:34:52 PM
Hi,

this is simple nxshell script that do what you need:


import csv, sys

w = csv.writer(sys.stdout, dialect='excel')
w.writerow(['name', 'ip', 'type']) # Header

for node in [o for o in s.getAllObjects() if isinstance(o, objects.Node)]:
    enabled = node.getCustomAttributes().get("RANCID_ENABLED")
    if enabled != None and int(enabled) == 1:
        w.writerow([
            node.getObjectName(),
            node.getPrimaryIP().getHostAddress(),
            node.getCustomAttributes().get("RANCID_TYPE")
        ])


You can find more information about nxshell here: https://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations

Best regards,
Victor
#1548
General Support / Re: Discovery of MAC addresses
August 09, 2018, 02:24:00 PM
Hi,

I was able to reproduce and fix this issue. Fix will be included into 2.2.8 release.

Best regards,
Victor
#1549
General Support / Re: NetXMS CPU Usage High
August 09, 2018, 12:15:06 PM
Hi,

sorry, I forgot to attach script. Now it's attached. Script expects netxmsd to be in your PATH. If it is not, change 'netxmsd' in script's second line to full path to netxmsd.

On Centos you likely build NetXMS from sources - then debug information is embedded into binaries. You only have to install gdb package if not installed already:

yum install gdb

Best regards,
Victor
#1550
Hi,

I was able to reproduce this issue and fixed it in current development branch. Fix will be included into next release.

Best regards,
Victor
#1551
Hi,

it seems that trap OID is different for version 1 and versions 2-3. For version 1 it is .1.3.6.1.4.1.2589.1.2.0.8 and version 2 it is .1.3.6.1.4.1.2589.1.2.8
(no .0 before last element). I'm not sure if it is NetXMS bug in parsing trap PDUs or device bug - will check that further. Anyway you just need to create second mapping with v2/3 OID and it will work.

Best regards,
Victor
#1552
General Support / Re: NetXMS CPU Usage High
August 08, 2018, 12:13:23 PM
Hi,

please do the following:

1. Enter

debug client.* 6

in server console. This will turn on debug of incoming client requests.

2. Connect with console and wait for CPU to go up.

3. Capture threads using attached script (you should have gdb and all relevant netxms-*-dbg packages installed).

Send me thread dump (will be in /tmp) and server log file (part for the duration of client session).

Best regards,
Victor
#1553
General Support / Re: Discovery of MAC addresses
August 03, 2018, 05:41:59 PM
Hi,

I assume those nodes does not have SNMP nor NetXMS agent. In that case server relies on ARP caches to find MAC addresses for corresponding IP addresses - so it need access to some device(s) where those IP addresses are in ARP cache. Check that NetXMS server has SNMP access to your core switch and that it can read ARP table from that switch.

Best regards,
Victor
#1554
Hi,

Do you have any service checks below node link? They are needed to do actual service status calculation. If you have at least one, check it's status. If it's unknown most likely you have an error in check script.

Best regards,
Victor
#1555
General Support / Re: SubAgent - icmp ping
August 03, 2018, 05:37:12 PM
Hi,

response time 10000 means "unreachable". Are you sure that devices will respond to ICMP ping from node with agent?

Best regards,
Victor
#1556
Hi,

it should not be version dependent. Could you take screenshot or export your SNMP trap configuration and provide example of actual trap received and incorrectly matched?

Best regards,
Victor
#1557
Hi,

what database you are using? Can you check if data in database table event_cfg is correct or also has garbage at the end?

Best regards,
Victor
#1558
General Support / Re: Errors Starting 2.2.7
July 28, 2018, 12:14:20 AM
There is issue registered for incorrect Hyper-V host detection: https://track.radensolutions.com/issue/NX-1472. Possible reason is that we are using CPUID "hypervisor" bit to detect if agent is running within a VM, and I suppose that Hyper-V host OS is in fact privileged VM, so agent runs inside virtual environment anyway. We will add additional checks in 2.2.8 to report host as physical machine.

Best regards,
Victor
#1559
General Support / Re: Errors Starting 2.2.7
July 26, 2018, 11:28:52 AM
This is download link for both minimal and full installers: https://cloud.netxms.org/index.php/s/yWU2wcC3c4WO2Y6

Best regards,
Victor
#1560
General Support / Re: Errors Starting 2.2.7
July 25, 2018, 06:28:33 PM
Would you like to test build with experimental patch that changes some internal synchronization mechanism?

Best regards,
Victor