NetXMS Support Forum

English Support => General Support => Topic started by: gaby on September 29, 2008, 10:50:00 PM

Title: Monitor: webservices connections, number of sessions IIS and others
Post by: gaby on September 29, 2008, 10:50:00 PM
Hello,

I would like to know if you can monitor with NETXMS: webservices
connections, number of sessions IIS, number of connections to oracle
database, number of errors in ASP.NET.

If so, as this can be done?. There is some tutorial that helps?

Thank you very much,

Laura.
Title: Re: Monitor: webservices connections, number of sessions IIS and others
Post by: Anth0ny on September 30, 2008, 03:59:49 PM
i think it can be done with NetXMS WMI queries...
Title: Re: Monitor: webservices connections, number of sessions IIS and others
Post by: Victor Kirhenshtein on September 30, 2008, 08:05:51 PM
Probably most of this could be done via performance counters.
For example, to get number of ASP.NET errors, you need to get value of performance counter "\ASP.NET\Error Events Raised".
To get this counter's value into NetXMS, use parameter PDH.CounterValue, like below:

PDH.CounterValue("\ASP.NET\Error Events Raised")

I suppose that other data should be available as performance counters as well.

Best regards,
Victor
Title: Re: Monitor: webservices connections, number of sessions IIS and others
Post by: gaby on October 02, 2008, 08:13:58 PM
Hello,

Thanks for your answer.

It also can monitor connections to Oracle databases?

Thank you very much.
Title: Re: Monitor: webservices connections, number of sessions IIS and others
Post by: gaby on October 04, 2008, 12:37:32 AM
With WMI Queries seems that you can get a lot of information.
As you can have this information?.
There are some tutorial?.

Thank you very much.
Title: Re: Monitor: webservices connections, number of sessions IIS and others
Post by: Victor Kirhenshtein on October 04, 2008, 12:42:42 AM
There are not too much information about WMI support in NetXMS unfortunately. Brief discussion are here: https://www.netxms.org/forum/index.php/topic,389.0.html (https://www.netxms.org/forum/index.php/topic,389.0.html).

Best regards,
Victor
Title: Re: Monitor: webservices connections, number of sessions IIS and others
Post by: gaby on October 15, 2008, 08:10:39 PM
It was just testing the WMI queries but did not make it work. In the "Timestamp" of the "Last Values" in the "Object Browser" puts a very long time (31-Dec-1969) and the "Show Data" is empty.

Please can give me some idea?

Thank you very much,
Title: Re: Monitor: webservices connections, number of sessions IIS and others
Post by: Anth0ny on October 16, 2008, 11:10:55 AM
if u see "31-Dec-1969" date - it means WMI request has not been passed by remote system...
try any free WMI browser to test your WMI query (for example WMI Explorer from http://www.ks-soft.net/, it's free).

and please provide as your wmi query (for exam)