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 - Marco Incalcaterra

#1
You probably miss the server configuration part:

Go to "Configuration > Event Processing Policy" and add the behavior you would like to have. To send an e-mail for example you have also to add specific action from "Configuration > Actions Configuration"

I suggest also to go to "Configuration > Event Configuration" and add your custom event to be posted by the log monitoring agent (adjust the EPP accordingly to respond to this event).

Hope it helps.

Regards,
Marco
#2
Quote from: Victor Kirhenshtein on August 03, 2017, 11:22:03 AM
Hi,

it's probably related to introduction of dashboard containers. We will check.

Best regards,
Victor

Still have one problem with dashboard containers in selecting from Dashboard Elements within a Dashboard (see attached screen, containers are not shown).

Regards,
Marco
#3
Quote from: stoffmann on September 13, 2017, 01:03:27 PM
Is this fixed in 2.1.1?

Best Regards

Stefan

Yes, it is.

Regards,
Marco
#4
Quote from: Victor Kirhenshtein on August 03, 2017, 11:22:03 AM
Hi,

it's probably related to introduction of dashboard containers. We will check.

Best regards,
Victor

Apparently there is another problem related to dashboard containers: it is not possible to select them from the browser (they are not listed, see images).

Marco
#5
Quote from: voron on August 18, 2017, 06:10:09 AM
Try this (for MYSQL):
CREATE TABLE `hibernate_sequence` (
`next_val` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY(`next_val`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
INSERT INTO `hibernate_sequence` VALUES (1);

More https://www.netxms.org/forum/oe-oo/reporting-server-2-1-oema-etatam-aam/

I'm using SQL server, actually I have a system object of type SEQUENCE_OBJECT that, I guess, has been created by the installer with the purpose of acting as that table. I can try to drop it and create as table to see if it works.

Regards,
Marco.
#6
Hello!

no, NetXMS will not install a DB engine. You have to install the DB engine yourself, before installing NetXMS. NetXMS is compatible with many different backends, the type of engine to use depends on your knowledge and expected load (most of the free engine such as MySQL Community edition or MSSQL Express are perfectly fine for normal usage).

Regards,
Marco
#7
Quote from: lweidig on August 11, 2017, 07:36:11 PM
This is using an updated agent though correct that will be part of 2.1.1?  We will try once it is available.

No, actually using the same after I re-setup my dev environment  :-\

Marco
#8
Quote from: lweidig on August 03, 2017, 04:16:57 PM
Not sure if any additional rights are needed. 


Also, any ETA on 2.1.1 so we have a working console as well? 

Thanks for all the efforts and assistance, it is appreciated!

Hello lweidig,

I've managed to reinstall the server on the VM I use for the development, I'm able to have the mobile agent connecting properly with the server (version 2.1), have a look to the snapshot here attached. Double-check that the device Id configured on the server matches properly with the one reported by the agent.

Regards,
Marco
#9
Quote from: lweidig on August 03, 2017, 04:16:57 PM
However, no matter what settings I try I cannot get it to connect with my server.  Have tried server by name and IP address, verified port is open and retyped username / password both in agent and server WAY too many times.  Always getting access denied.

Thanks for all the efforts and assistance, it is appreciated!

I can confirm that version 2.1 is not working :(, I guess due to something changed recently on server side.
As per info reported in your log, the server is not able to properly locate the object; here the test with emulator:


[03-Aug-2017 18:12:15.223] [DEBUG] [MDSN-128] Mobile device object with device ID "000000000000000" not found


I'll try to investigate in the week end.

Quote from: lweidig on August 03, 2017, 04:16:57 PM
Also, any ETA on 2.1.1 so we have a working console as well? 

On this I don't have info, let's see if Victor can give hints.

Regards,
Marco
#10
Quote from: Tursiops on August 03, 2017, 01:32:06 AM
Yes.
I've done that for some DCIs, e.g. created DCIs on a disk enclosures that itself could not be monitored directly, then set the source node to the server the enclosure is connected to. That way I can easily see which disks are in which enclosure (the instance discovery filter script I'm using checks for the enclosure id for this purpose).

Cheers

Hello Tursiops,

Although with this solution I cannot use the response time calculation (as per my understanding is not available in the NetSvc subagent), your suggestion solved my problem for the reachability of the https endpoint and that's great for the moment  :)

Thanks a lot.

Regards,
Marco
#11
Quote from: Tursiops on August 02, 2017, 05:19:03 AM
Hi Marco,

Not sure about the other parts in your post, but you can add a DCI to a fake node, as long as you select a real node as source inside the DCI?

Cheers

You mean to set "Source node" (general tab of DCI) as the node that should perform the poll?

Regards,
Marco
#12
Feature Requests / PortCheck vs NetSvc (user-agent)
August 01, 2017, 10:19:50 AM
Hello!

Is it possible to add user-agent (best would be the possibility to customize it) to the request sent by portcheck or, maybe better, use netsvc subagent to send request when using network services?

Sending the request without user-agent will cause the reject  from firewall adopting OWASP rules (specifically in OWASP 2.2.9 the rule crs_21_protocol_anomalies: 960009 Request Missing a User Agent Header).

I currently prefer the possibility to have a network service because I can add services to "fake" nodes and get the info regarding network service status tied to the node (e.g. when sending "generic" email), If I add the request as a DCI I need to add it to a "real" node and I don't see this possibility of customization (info such as node name is tied to the node where the DCI is added).

Regards,
Marco
#13
Quote from: lweidig on June 14, 2017, 03:17:07 PM
Thanks for the update, please post about the console as well once that has been resolved.  Looking forward to the next release!

Console has been aligned to same Android library version of agent (no special permissions required here, as per my knowledge). Tested on Android emulator v7; changes committed, will be available in the next release. Please post here if you still have problems (once you have the possibility to try).

Regards,
Marco
#14
Hello!

I'm using LOGWATCH subagent to monitor events from Windows event log. In many occasions happened that a node got crazy and I received 20K+ mails informing about a repetitive event happened every second (especially during the night).
Since NetXMS doesn't provide an "in-house" mechanism to prevent this, thanks to Victor's suggestions, I found the following solutions that I'm reporting here to simplify life of users that had similar problems.

Basic concepts is this:

  • Setup a counter to increase every time I receive an event I'm interested in
  • Send standard email if the counter is below specific threshold
  • Send warning email when the counter is equal to specific threshold
  • Stop sending email when counter is above threshold without losing the received events
  • Reset the counter after a specific time frame since the first event

Example, threshold 50, time frame 1h. This means that the system will send up to 50 emails in 1 hour, then after the 50th events (whithin 1 hour) will send an e-mail informing about the storm and will store events in the system without sending more emails. After 1 hour since the first event the counter will be reset (through a scheduled task)) and NetXMS will start again sending email for new events of that type.

Here attached you can find my sample scripts to use as base for further developments. Scripts are partially parametrized, feel free to extend and post here improvements :)


  • AlarmCounterTools: script for checking threshold of counter, increase counters and other support tools
  • ResetAlarmCounter: script for scheduled task to reset the counter after specified time frame (I don't know ho to pass parameter "eventCount" and use directly function from AlarmCounterTools)
  • IncreaseAlarmCounter: script to increase the counter (I don't know ho to pass parameter "eventCount" and use directly function from AlarmCounterTools)
  • Scheduled task sample
  • EPP sample (3 rules)
#15
General Support / Logwatch beahavior on agent V2.1
July 16, 2017, 01:11:46 PM
Hi Victor,

Is the behavior of logwatch changed in version 2.1 when agent sends parameters to the server? As per my test seems that a new parameter is added at the end of the list (up to ver 2.0.8 I had 10 params sent and now I have 11, in my specific sample the new parameter added has value of '1').

Regards,
Marco