News:

We really need your input in this questionnaire

Main Menu
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

#106
Quote from: Victor Kirhenshtein on June 12, 2014, 10:38:07 PM
Hi!

It's a new feature intended for monitoring devices without IP address and/or network connectivity. For example, you have serial attached UPS that you want to represent in monitoring as separate node. Then your configuration could be following:

1. connect UPS to some machine with network adapter (node A), setup agent (usually separate instance) and configure UPS subagent as usual
2. configure DEVEMU subagent if needed (it can return fake interface list)
3. create node for UPS (node B), set it's IP address to 0.0.0.0
4. set node B primary IP address to that of node A and check "This is address of remote management node"

After that all requests to NetXMS agent on node B will be actually directed to agent of node A. It is different from just defining node A as proxy node for DCIs on node B because server will handle all information provided by agent (interface list for example) as coming from node B. This gives you ability to use agent for status polls of non-networked box.

This option was created for two purposes - 1) to monitor serial attached controllers - we setup number of agents on a PC, each agent communicating with one controller and impersonating it for NetXMS; and 2) for simulating multiple hosts on one machine without need to create VM for each.

Best regards
Victor

Hi,

seems a good idea, I tried with an UPS but as far as I can see the node B will inherit the interfaces of the node A, can be avoided?

Bet regards,
Marco
#107
Quote from: Victor Kirhenshtein on June 12, 2014, 10:27:42 PM
Hi!

I'm finally built an intermediate release. It is available here: https://www.netxms.org/download/1.2.15-M1/.

Best regards,
Victor

Is it possible to have the WebUI? You changed the protocol and the previous version is no more able to connect.

Best regards,
Marco
#108
Quote from: raypetter on June 11, 2014, 11:57:17 PM
I've noticed in the last couple of releases that the check I have for disk space percentage shows up as "0". However, If I generate graphs the real values are plotted correctly. Is it just me or is it occurring for others as well?

Hi,

I use the Windows Performance Counter (\LogicalDisk(D:)\% Free Space) to perform this task and it works for me (see attachment). If that is not you case, could you please give more info?

Best regards,
Marco

#109
Quote from: Victor Kirhenshtein on June 12, 2014, 10:27:42 PM
Hi!

I'm finally built an intermediate release. It is available here: https://www.netxms.org/download/1.2.15-M1/.

Best regards,
Victor

Thank you very much for your effort, I'm downloading it, I plan to install it tonight.

Best regards,
Marco
#110
General Support / Re: Communication session broken
June 10, 2014, 01:05:57 AM
Quote from: Victor Kirhenshtein on June 10, 2014, 12:23:53 AM
Hi,

do you have something related to that server in netxmsd log file?

Best regards,
Victor

Hi,

Is that a log file related to the agent running on that machine? I have no log file in the folder installed on that server, I guess is due this parameter:

LogFile = {syslog}

in the agent config file. I changed it to a valid filename, I guess that should help. Am I right?

Best regards,
Marco
#111
General Support / Communication session broken
June 08, 2014, 12:16:01 PM
Hi,

I have a lot of "Communication session broken" warning messages in the event log of one of my servers. It seems a quite old problems that should be already solved:

https://www.netxms.org/forum/general-support/netxms-agent-win32-agent-generating-event-saying-communication-session-broken/msg3662/#msg3662

Am I doing something wrong to generate the warning?

Best regards,
Marco

#112
General Support / Re: Bandwidth Accounting
June 07, 2014, 05:10:21 PM
Continue attachment from previous post...
#113
General Support / Re: Bandwidth Accounting
June 07, 2014, 05:09:11 PM
Quote from: c0mputerking on June 07, 2014, 08:59:26 AM
I am trying to setup a system to do bandwidth accounting as i am in Canada and bandwidth is really expensive here can netxms do accurate bandwidth accounting or should i go with a more specific tool such as pmactt?

Hi,

If you mean to count the daily or monthly traffic generated I can suggest the approach I'm using to perform that task:

1) Create one DCI to collect the delta "in" on the interface (Step1-A-B)
2) Create a DCI to sum the daily consumption (Step2-A-B-C)
3) Create a DCI to sum the monthly consumption (Step3-A-B-C)

Same story for the "out" counter.

A simplified approach comes from the usage of the GetSumDCIValue, but as per current version (1.2.14) it doesn't work properly, so I had to use the custom attributes to store temporary values.

Hope it helps.

Best regards,
Marco
#114
Quote from: Victor Kirhenshtein on June 03, 2014, 12:27:58 AM
I've fixed it. PLease let me know if you need intermediate server build with this fix.

Best regards,
Victor

It could be nice to have it, I'm using the x64 Windows version.

Best regards,
Marco
#115
Quote from: Victor Kirhenshtein on May 08, 2014, 06:26:55 PM
Yes, that change already applied - so after upgrade to 1.2.14 you'll get this problem fixed as well.

Best regards,
Victor

Is there a reason to get always null in return from this function:

GetMaxDCIValue($node, $dci->id, time()-86400, time());

I tried to run manually the query (as per the SQL syntax in this thread) and it works fine, but I'm not able to have the function working in my transformation script.

Best regards,
Marco

#116
General Support / Re: Custom logo for web console
May 27, 2014, 03:40:32 PM
Quote from: Victor Kirhenshtein on May 27, 2014, 01:50:01 PM
Hi!

Sorry, I change how it is configured. I was under impression that nobody uses this feature :) Now you should set custom logo in your nxmc.properties file, like this:


loginFormImage = /logo.jpg


Path should be relative to classpath root. Simplest variant is to put logi file next to nxmc.properties and use form /file.

Best regards,
Victor

You announced the change but, since I didn't notice in the change log, I tought it wasn't implemented. I changed it following your instructions and now it works perfectly.
I think it is a nice feature when you have to show the monitor to your customers, it adds a bit of "professionality" :)

Best regards,
Marco
#117
General Support / Re: Custom logo for web console
May 26, 2014, 07:24:56 PM
Quote from: Victor Kirhenshtein on January 30, 2014, 05:16:20 PM

No, login form will resize as needed.

Best regards,
Victor
Hi Victor,

is anything changed since version 1.2.14? After installing the update my logo is no more properly loaded, it is replaced by the original netxms logo.

Best regards,
Marco
#118
Quote from: Victor Kirhenshtein on May 08, 2014, 05:38:33 PM
Hi!

Could you check what is returned by underlying SQL query? Implementation of this function tries to parse value read from database as double, so there should be no limitation on 32bit integer size.

Actual query is

SELECT avg(coalesce(idata_value,0)) FROM idata_<node_id_here> WHERE item_id=<dci_id_here> AND (idata_timestamp BETWEEN <time1> AND <time2>);

Best regards,
Victor

I get "Arithmetic overflow error converting expression to data type int". I propose to apply the same suggestion as per this thread:

https://www.netxms.org/forum/configuration/getxxxdcivalue-(avgmaxmin)-fails-on-floating-numbers/msg13724/#msg13724

adding

cast(idata_value as float),0)

inside the coalesce function.

Best regards,
Marco

#119
Hi!

As per subject, I have a problem with the GetSumDCIValue when the result is greater than a 32bit integer.
This is my transformation:

return int64(GetSumDCIValue($node, FindDCIByDescription($node, "WAN: delta in (bytes)"), time()-86400, time()));

It returns 0 when the result cannot be handled by a 32 bits integer.

I have another version of that DCI that uses a different approach to do the same computations and it works properly:

last = int64(GetCustomAttribute($node, "WANCumulativeIn"));
if (last == null)
last = 0;
SetCustomAttribute($node, "WANCumulativeIn", 0);
return last;


The data type assigned to both DCIs is "Unsigned Integer 64 bit" (NB in the last example the custom attribute is updated by another DCI).

Any hints?

Best regards,
Marco
#120
General Support / Re: Custom schedule "L"
April 28, 2014, 09:24:51 PM
Quote from: Victor Kirhenshtein on April 28, 2014, 10:37:59 AM
Hi!

No, it's not supported. Could you register feature request for this? Should not be hard to implement :)

Best regards,
Victor

Hi!

Done as feature #559

https://www.radensolutions.com/chiliproject/issues/559

Best regards,
Marco