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

#76
Hi Victor,

Not having 1.1.5 (yet) I tried 1..1.4:


for(i=0; $values != null; i++)
{
...
}

is still giving an error. What's wrong?

Regards,

Dan

#77
Hi Vicror,

I must have missed the "condition objects" in the documentation, thanks.

I'm not sure however how I should reference the DCI's in that object.
Normaly one would use FindDCIByName($node, "System.CurrentTime")
but in the condition object $node represen the the condition object  and there are serveral System.CurrentTime DCI's for the different servers.

Regards,

Dan
#78
Hi,

It's easy to collect time on servers individually, but where do I compare the times of the different servers to create an event should they be unequal (within a margin of course)?

Thanks,

Dan
#79
Hi Victor,

I can confirm the issue is 32/64 bit version related.
After installing the 1.1.4 Agent on the AOS server, nxget returns the Dynamics AX object.
The DCI is now working as well.

The thing to find out is how the Microsoft's "Performance Monitor" can gather both 32 and 64 bit objects at the same time.
Running the NetXMS 32-bit agent is probably not ideal, but for the meanwhile it will do the trick.

Regards,

Dan
#80
Hi Victor,

The command "nxget -w 30 -l windows_server_ip PDH.Objects" does NOT return the "Microsoft Dynamics AX Object Server" object (it returns 67 other objects). I run it as Administrator with the same result.

If I use the "Reliability and Performance Monitor" software on the NetXMS server I do get to see the "Microsoft Dynamics AX Object Server" object. I can add counters from it (ex. ACTIVE SESSIONS) and the counters returns correct values. If I counted correctly there're 77 object to be seen, among them .NET CLR Data, .Net CLR Exception,...

NetXMS and the AOS are both running under Windows 2008 - 64 / SP2, however the AOS (Ax32Serv.exe *32) is a 32 bit application

To be complete (this might be related) I should add that I had to start the "Performance Counter DLL Host" on the AOS server to enable the "Reliability and Performance Monitor" to see the "Microsoft Dynamics AX Object Server" object.

Could it be 32 and 64 windows version related?

Regards,

Dan
#81
Hi,

For the following counter:
PDH.CounterValue('\Microsoft Dynamics AX Object Server(01)\ACTIVE SESSIONS')
I recieve an error: H_PdhCounterValue: PDH Error C0000BB8 in call to PdhAddCounter (The specified object was not found on the computer.)

The WinPerf agent is present (checked this with Tools/Info/Agent/Agent List

To double-check I tried another counter:
PDH.CounterValue('\Processor(_Total)\% Processor Time')
and it works.

However the above Dynamics counter does exist, I can set it through performance monitor. I check it using a dot net program that shows the following counters:
Microsoft Dynamics AX Object Server [MultiInstance]
    01
        TOTAL SESSIONS
        ACTIVE SESSIONS
        NUMBER OF CLIENT REQUESTS
        NUMBER OF CLIENT REQUESTS PER SECOND
        NUMBER OF SERVER REQUESTS
        NUMBER OF BYTES SENT BY SERVER
        NUMBER OF BYTES RECEIVED BY SERVER

What can I try next?

Regards,

Dan
#82
General Support / Re: Windows Events logging
September 26, 2011, 04:52:17 PM
Victor,

I'll be glad to test it.

Regards,

Dan
#83
General Support / Re: Windows Events logging
September 23, 2011, 12:57:37 PM
Victor,

Did you have the chance to look into this issue?

Regards,

Dan
#84
General Support / Re: UPS configuration
September 23, 2011, 09:56:29 AM
Victor,

I think this is what open source software is all about, being able to contribute make software better. Thank you for listening and reacting so promptly to our findings.

If I may make a suggestion, serial communication parameters are Speed, Data bits, Stop bits, Parity and Flow control.
The function used in vcmxp.cpp has most of them: m_serial.Set(19200, 8, NOPARITY, ONESTOPBIT);
Maybe it would be even better to have something like:
Device = 0:"COM1:,9600,8,N,1":BCMXCP

Regards,

Dan
#85
Feature Requests / Re: parameters SYS_THRESHOLD_REARMED
September 22, 2011, 11:02:44 AM
Hi Victor;

I configured today an event using the new named parameters, it works like a charm. Thanks for this new feature!
A little note to other users, the syntax %<name> does include the inequality signs <>

Parameters list:
   %<dciName>
   %<dciDescription>
   %<dciId>
   %<instance>
   %<thresholdValue>
   %<currentValue>
   %<isRepeatedEvent> (latter only for threshold violation events).

Victor, I think you should update the documentation to reflect this enhancement as I'm sure many will prefer to use it over the "older" way of using parameters.

Regards,

Dan
#86
Hi Victor,

You found my mistake. I had "System.CPU.LoadAvg15" set instead of "System.CPU.Usage15" which explains the discrepancy in values. shame on me!
Once correctly set the two counters are returning consistent values.

Thanks for the prompt reply and solution.

Regards,

Dan
#87
Hi,

I have set both DCI, the Average CPU remains over a long period arround 40% while the Average 15 min. is stays arround 1%.
How should I interpret these numbers?

Regards,

Dan
#88
Feature Requests / Client networks outages
September 20, 2011, 10:02:12 PM
Hello,

I have the NetXMS client installed on my laptop, using it at work and at home.
When traveling I put my laptop to sleep at one location and turn it on again at the other location. My IP address changes as I use DHCP.
When I do so while NetXMS is running I receive multiple errors nicely grouped in a Window. Most of them are socket related errors which one would expect.
However, after acknowledging the errors the same window reappears every few seconds. The only action I can take to stop this is relaunching NetXMS.
It would be nice if the client could be more resilient to such networks outages.

Dan
#89
General Support / Re: UPS configuration
September 17, 2011, 02:10:29 AM
Victor,

After looking at the ups.cpp and bcmxcp.cpp source code, examining the BCM/XCP protocol and using a serial software that allows sending hexadecimal data to a COM port I found out that our UPS works with a rate op 9600 baud. As the ubs agent speed is hardcoded at 19200 this is probably the reason for it not working.
I guess the subagent ups config format should be extended to allow communication settings.

Dan
#90
General Support / Re: UPS configuration
September 16, 2011, 03:31:13 PM
When no other application uses the port the Putty connects without an error, however I don't get a prompt. should I get one?

Dan