Monitor: webservices connections, number of sessions IIS and others

Started by gaby, September 29, 2008, 10:50:00 PM

Previous topic - Next topic

gaby

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.

Anth0ny


Victor Kirhenshtein

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

gaby

Hello,

Thanks for your answer.

It also can monitor connections to Oracle databases?

Thank you very much.

gaby

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.

Victor Kirhenshtein

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.

Best regards,
Victor

gaby

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,

Anth0ny

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)