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

#1
Hi Filipp, Thank you very much for your support.
#2
Hi All,

Is it possible to pass a custom value from the DCI to the event processing?
e.g. There is a DCI element that queries the state (value) of a device input. If this polled value exceeds  the configured threshold range, an event is generated based on the rules set in the Threshold section of DCI. For this event, I would like to add the name of the device input (value in string format), which I request from the device via SNMP using DCI's Transformation script. I would like to display this string value in the text of the alarm event.

Thanks in advance for any solutions or ideas.
#3
Hi, 

We have upgraded our NetXMS system from v3.9 to v4.3.6 and since then the set and getcustomattribute functions are not working properly. I use these functions in a trap processing script as below:

// fmRadioAlarmState (0:warning event, 1:critical event, 2:alarm ceased)
//m - contains the unique ID of the alarm
  t = time();
  evts = " ON";
  str3 = "";
  switch($event->parameters[2])
  {
      case 0:
        evt = "SME_PIRA_TRAP_WARNING";
        break;
      case 1:
        evt = "SME_PIRA_TRAP_CRITICAL";
        $node->setCustomAttribute(".signalLossTime" . format(m, 1, 0), t);
        break;
      case 2:
      evt = "SME_PIRA_TRAP_CLOSE";
      evts = " OFF";
      t0 = $node->getCustomAttribute(".signalLossTime" . format(m, 1, 0));
      if (t0 != null)
        {
        str3 = "Starting from:" . strftime("%Y.%m.%d %H:%M:%S", t0) . ", duration: " . format((t-t0), 1, 0) . "s";
        }
      break; 
      default:
        evt = "SME_PIRA_TRAP_INFO";
        break;
  }

As I see the main problem is that the getcustomatrribute function always returns null. Anyone have any idea what could be the problem?

Thank you in advance.
#4
General / Re: Control element on the dashboard panel
March 09, 2022, 05:07:42 PM
Hi Victor,

Thank you very much for yor support. Regarding this I have one more question (if possible). How is possible to configure an SNMP SET command in the Object Tools? Could you send me a sample configuration?

Best regards,
Zsolt
#5
General / Control element on the dashboard panel
March 07, 2022, 03:16:56 PM
Hi,

Is there any possibility to place any control element on the dashboard panel (e.g. Button element to send a SNMP SET command)?

Thank you in advance for replies.
#6
Hi Victor,

Thank you very much for your detailed support. It works fine.

Best regards, Zsolt
#7
General / How to display duration between trap events?
February 12, 2022, 08:12:06 PM
Hi,

I would like to ask that is there any solution to calculate the elapsed time between a traps pair?
A little more detailed, the problem what I need to solve is the following:
I get a trap about the starting of a signal drop.
From this I generate an event for example with the following text: "Started from 11:00:12 10/02/2020 the RF signal out of tolerance."
When the signal loss ceases (typically max. few minutes), the end-of alarm trap arrives as well. From this I also generate an event that works properly and clears the existing alarm as well.
What I can't solve for the moment is to display the duration of the signal loss (e.g. in seconds) in the end of event text.
Is there any solution to this?
Thank you very much for any suggestions in advance.
#8
Dear support,

I have upgraded my NetXMS server to v2.2.12 about one month ago. Now (yesterday and today) the NetXMS core unexpected crashed. The dump files generated during the first event is possible to download from https://we.tl/t-hMaJ2UWn5y. Could you investigate the reason of this issue.

Thank you in advance.
Best regards,
Zsolt
#9
Hi,

I have upgraded my NetXMS system from v2.0.8 to v2.2.12 about two weeks ago. With this new version my experience is that the tray pop-ups panel of the incoming events does not work well. This means that this panel does not appear always. In case of previous version of nxmc.exe (e.g. v2.0.8 ) this feature worked perfect, this panel appeared in case of each incoming event. We have tested this feature on different PCs and with different OSs (Win7, Win10) but this problem occured in each cases.
Is there any solution to correct this issue?

BR,
Zsolt
#10
Hi Victor,

One more comment regarding this issue:
As I wrote the problematic nodes works properly but after all I found that in case of nodes with question mark the trap processing based event generation does not work. Only the threshold based DCI alarms works.

BR,
Zsolt
#11
General Support / Re: v2.0.8 to v2.2.12 upgrade issue
February 28, 2019, 06:54:20 PM
Hi Victor,

This is the requested log detail:

Information   2/28/2019 5:40:02 PM   NetXMSCore   179   None   [poll.conf          ] ConfPoll(Bacsalmas_SME_Controller_Kossuth): selected device driver GENERIC
Information   2/28/2019 5:40:02 PM   NetXMSCore   65   None   FindDriverForNode(Bacsalmas_SME_Controller_Kossuth): found potential device driver PING3 with priority 63
Information   2/28/2019 5:40:02 PM   NetXMSCore   179   None   [poll.conf          ] ConfPoll(Bacsalmas_SME_Controller_Kossuth): SNMP agent detected (version 2c)
Information   2/28/2019 5:40:02 PM   NetXMSCore   179   None   [client.session.4   ] Sending message CMD_POLLING_INFO (120 bytes)
Information   2/28/2019 5:40:01 PM   NetXMSCore   179   None   [poll.conf          ] ConfPoll(Bacsalmas_SME_Controller_Kossuth): calling SnmpCheckCommSettings()
Information   2/28/2019 5:40:01 PM   NetXMSCore   179   None   [client.session.4   ] Sending message CMD_POLLING_INFO (88 bytes)
Information   2/28/2019 5:40:01 PM   NetXMSCore   179   None   [poll.conf          ] ConfPoll(Bacsalmas_SME_Controller_Kossuth): checking for NetXMS agent - finished
Information   2/28/2019 5:40:01 PM   NetXMSCore   179   None   [agent.conn.62507   ] Disconnect completed
Information   2/28/2019 5:40:01 PM   NetXMSCore   179   None   [agent.conn.62507   ] disconnect() called
Information   2/28/2019 5:40:01 PM   NetXMSCore   179   None   [poll.conf          ] ConfPoll(Bacsalmas_SME_Controller_Kossuth): checking for NetXMS agent - failed to connect (error 910)
Information   2/28/2019 5:40:01 PM   NetXMSCore   179   None   [agent.conn.62507   ] Cannot create communication channel
Information   2/28/2019 5:40:01 PM   NetXMSCore   179   None   [agent.conn.62507   ] Cannot establish connection with agent at 172.17.51.184:4700

I hope this will be good for debugging.

BR,
Zsolt
#12
General Support / Re: v2.0.8 to v2.2.12 upgrade issue
February 21, 2019, 01:36:45 PM
Hi Victor,

I have checked the ifMIB walk and I found that this feature does not implemented in this type of device.
Besides this I installed an older version (v2.2.2) NetXMS test server to verify the previous display mode.

Please find in the attachement two screenshoots about the two different NXMC versions.
So, in case of older versions the nodes without ifMIB feature were displayed with "unknown" named interface element without question mark.
I think that the older indication mode was a little more logical.

BR,
Zsolt
#13
General Support / Re: v2.0.8 to v2.2.12 upgrade issue
February 20, 2019, 03:08:09 PM
Hi Victor,

Please see the requested results:

[2019.02.20 13:57:19] **** Poll request sent to server ****
[2019.02.20 13:57:19] Poll request accepted
[2019.02.20 13:57:19] Starting configuration poll for node Aggtelek_SME_Controller_Kossuth
[2019.02.20 13:57:19] Checking node's capabilities...
[2019.02.20 13:57:19]    Checking NetXMS agent...
[2019.02.20 13:57:20]    Checking SNMP...
[2019.02.20 13:57:20]    SNMP agent is active (version 2c)
[2019.02.20 13:57:22] Capability check finished
[2019.02.20 13:57:22] Checking interface configuration...
[2019.02.20 13:57:28] Interface configuration check finished
[2019.02.20 13:57:28] Checking node name
[2019.02.20 13:57:28] Node name is OK
[2019.02.20 13:57:28] Finished configuration poll for node Aggtelek_SME_Controller_Kossuth
[2019.02.20 13:57:28] Node configuration was not changed after poll
[2019.02.20 13:57:28] **** Poll completed successfully ****




[2019.02.20 13:58:15] **** Poll request sent to server ****
[2019.02.20 13:58:15] Poll request accepted
[2019.02.20 13:58:15] Starting status poll for node Aggtelek_SME_Controller_Kossuth
[2019.02.20 13:58:15] Checking SNMP agent connectivity
[2019.02.20 13:58:15] Node is connected
[2019.02.20 13:58:15] Finished status poll for node Aggtelek_SME_Controller_Kossuth
[2019.02.20 13:58:15] Node status after poll is UNKNOWN
[2019.02.20 13:58:15] **** Poll completed successfully ****

BR,
Zsolt
#14
General Support / v2.0.8 to v2.2.12 upgrade issue
February 19, 2019, 08:03:26 PM
Hi,

I have upgraded my NetXMS server from v2.0.8 to the latest version (v2.2.12) and following this in case of some nodes (looks like that this depends from the physical type of the node device) appeared a question mark on the object browser icon and its interfaces disappeared. Despite this these nodes works properly (data collection and alarms etc.).
Before upgrade process there was no such issue.
What could be the problem and how is possible to eliminate?

Thank you in advance.
Regards, Zsolt
#15
General Support / Upgrade error
December 13, 2018, 09:02:24 PM
Hi,

We are operating about five years a large NetXMS system.
The current version of our NetXMS server is v2.0.8 I have tried
to upgrade this  to v2.1, but the upgrade process was not successfuly.
Please find in the attachement the screenshot about it.
We use the MSSQL 2012 SP3 database engine.
Do you have any idea how is possible to correct this issue?

Thank you in advance.