NetXMS Support Forum

English Support => General Support => Topic started by: dbe2209 on January 30, 2014, 10:22:04 AM

Title: Values / Software inventory
Post by: dbe2209 on January 30, 2014, 10:22:04 AM
Hi @ all,

i am using NetXMS since 2 weeks right now.

I was reading a lot about the system, but there are a few things which i am not able to understand... :(

So, the DCI for "Average CPU load for last minute" gives a value of "0.03333" back. But in which unit?
Also the DCI for "System uptime", it gives a value of "13 M" back. How can i change this value in time, like h:s.

Another problem belongs to check out which software is  running.
Here we are talking about "G-Data Anti-Virus". I want to check if i's running and if the current version is Ok.
In the Software Inventory i can see the Name, Version and all the needed stuff, but is there a DCI or something like that, which is able to show the stuff?
The "System.AntiSpywareProduct.Active" and all the other DCI's doesn't work...

Thank you very much!

Best regards,
David

Title: Re: Values / Software inventory
Post by: Nikk on January 30, 2014, 01:51:25 PM
Hi dbe,

About System uptime - in dci transformation write:
sub main()
{
  return SecondsToUptime($1);
}

and change data type to string.

Nikk
Title: Re: Values / Software inventory
Post by: dbe2209 on January 30, 2014, 02:27:04 PM
Hi Nikk,

thanks! It works! :)

Is someone able to tell me how i'll fix the other stuff?

Thanks! :)