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.


Messages - Anders

Pages: 1 2 [3] 4
31
General Support / Re: GetAvgDCIValue not working?
« on: August 31, 2012, 07:59:01 am »
Hi Victor,

It seems like there is some sort of issue between NetXMS and MySQL, the output I get after executing the script is:

Quote
*** VALUE: 1.000000

Regards

Anders

32
General Support / Re: GetAvgDCIValue not working?
« on: August 30, 2012, 09:48:37 am »
Hi Victor,

Sorry for nagging, I'm just curious to know if you can see any solution to my problem, or if I can assist with some additional data / information to solve this problem?

Regards

Anders

33
General Support / Re: GetAvgDCIValue not working?
« on: August 24, 2012, 02:43:23 pm »
Hi Victor,

Sorry for the delay. I'm running a MySQL 5.1 server. I tried to execute the SQL query that you suggested and the result is: 104.7 which seems to be about the result that I'm expecting.

Regards

Anders

34
General Support / GetAvgDCIValue not working?
« on: August 22, 2012, 09:26:13 am »
Hi Victor,

I've tried to get an average value for the last 3600 seconds (1 hour) of my temperature sensor, but it doesn't seem like the GetAvgDCIValue is returning the value that I'm expecting. I've more or less copied the example from the wiki and made a few adjustments.

I've made a dummy DCI with the following transformation script that runs every 60 seconds:

Code: [Select]
sub main()
{
   startTime = time() - 3600;
   return GetAvgDCIValue(FindObject("TEMPNODE01"), 176, startTime, time());
}

The average value that GetAvgDCIValue is returning is between: 1 and 2, while the temperature DCI (integer) has values between 80 and 200 during that hour, which in my world also should return an average value in that range.

I appreciate any help you can give on this.

// Anders

35
thank you!

36
Hi Victor,

It seems a good night sleep actually helped me to find the root cause of this bug... If the "display name" in data sources is identical of two or more monitored DCIs, the dashboard seems to get confused and only display one of them :)

As soon as I added some prefix at the end to differentiate the two sources, each of them show up in my chart.

Regards

Anders

37
General Support / Dashboard with DCIs from multiple nodes not working
« on: August 16, 2012, 04:22:13 pm »
Hi Victor,

(Sorry if this has already been reported, I've tried to search forum and the bug-tracker but haven't found anything that seems similar).

I'm not sure if this is the place where you'd like to have bug reports, but... I've recently tried to setup a Dashboard, with line-graphs of two DCIs, each DCI has a different source node and it does only seem to render the DCI from the last added node, instead of both.
If I add more DCIs from the same node (ex. the % value of toner level or similar), each value (from the same node) gets rendered as it is suppose to.

In my case, I have a printer environment, with two printers, I'd like to keep one graph with two lines for each printer, with the delta value of the amount of printed jobs on each printer. In my case, the dashboard only render one of the DCIs.

The NXMC version I verified this bug on is 1.2.2 and seems to behave the same way on Linux and in Windows.

Let me know if you need any more information.

Regards

Anders

38
General Support / Re: Debug and test NXSL code?
« on: August 15, 2012, 05:11:50 pm »
Thanks again Victor for the quick reply!

Do you think this bug fix might find itself in the next NXMC version?

39
General Support / Debug and test NXSL code?
« on: August 15, 2012, 03:37:54 pm »
Hi,

I've found the need to write a transformation script for one of my DCIs, but it doesn't seem like the "Test..." button works to test my syntax (NXMC 1.2.2, tested in both Windows 7 with JRE7u5 Mac 10.8 with JRE6u33).
I have therefor resorted to write the code in a shell and then use the nxscript command to verify my syntax and if the code works. But it doesn't seem like some of the functions works, such as FindObject and GetAvgDCIValue.

Maybe I'm attempting something that isn't even suppose to work?

Thanks!

Anders

40
General Support / Re: Query PowerShell via Agent
« on: August 04, 2012, 12:57:54 pm »
Thank you Victor!

41
General Support / Query PowerShell via Agent
« on: August 02, 2012, 10:06:53 am »
Hi,

I wonder if it would be possible to execute a PowerShell command via the agent and return the output result to NetXMS for monitoring? For example, I'd like to send the following PowerShell query to my Exchange 2010 server, in order to find out how many e-mails currently are waiting delivery in mail queue:

Code: [Select]
Get-Queue -Sort-Order:-MessageCount -Result:1 | fl -Property MessageCount
Maybe there is a better solution for what I'm attempting?

Thanks!

Anders


42
General Support / Re: New table...
« on: May 10, 2012, 05:22:07 pm »
Ok, thanks for your reply Victor. I hope it will make it into 1.2.1 :)

43
General Support / Re: New table...
« on: May 04, 2012, 10:15:12 am »
Thanks for the explanation Victor.

One other question, is there any way to combine 2 or more values (lines) in one graph on the performance tab? (like the old automated "Physical memory" graph in 1.0.12).

For example, in the same graph, I'd like to show the amount of used, cached and free memory, is that possible?

Thanks again.

44
General Support / New table...
« on: May 03, 2012, 09:13:11 am »
Hi,

I've just recently setup a lab environment to test the new NetXMS 1.2.0 and while playing around with the management console, in the DCI Configurator, I've noticed that besides creating a "New parameter..." (which seems to be the same thing as the old "New..." in version 1.0.12), there is also an option to create a "New table...".

But I can't figure out what the "New table..." alternative is and its purpose (I've tried searching the forums and the wiki for any information). While playing around with it, trying to add columns, I get a cryptic popup window with simply an "OK" and a "Cancel" button, without any other information...

Could anyone elaborate around what this is and how it works?

Thanks

Anders

45
Announcements / Re: NetXMS 1.0.13 released
« on: November 15, 2011, 02:15:53 pm »
Any plans on releasing an updated .deb package?

Pages: 1 2 [3] 4