Juanito99 / Windows.Server.Webservice.BasicWatcher

Monitors common webserv ices on Windows Server with SCOM
GNU General Public License v2.0
1 stars 0 forks source link

Web - Apache Performance Rules not Working #1

Open mmathew12 opened 5 years ago

mmathew12 commented 5 years ago

Web - Apache Servers are getting discovered. Have enabled all the performance Rules. However the views are empty.

image

Juanito99 commented 5 years ago

Thanks for opening the issue here :smile:

How long did you wait until enabling the rules?

mmathew12 commented 5 years ago

Been waiting for a few days now. Even tried to clear the Agent Health Cache.

Juanito99 commented 5 years ago

I enabled 'debugging' via writing event logs. Please import one of both versions here:

https://github.com/Juanito99/Windows.Server.Webservice.BasicWatcher/blob/master/Windows.Server.Webservice.BasicWatcher/bin/Debug/Windows.Server.Webservice.BasicWatcher.debug.xml

https://github.com/Juanito99/Windows.Server.Webservice.BasicWatcher/blob/master/Windows.Server.Webservice.BasicWatcher/bin/Debug/Windows.Server.Webservice.BasicWatcher.debug.mbp

Check if you can find event Ids starting from number 250

mmathew12 commented 5 years ago

Hi, I imported the MP. However, I don't see EventID starting from 250. Looked on actual Apache Server & SCOM MS.

Juanito99 commented 5 years ago

PerfPowerShell.ps1.txt

Hi,

can you please run this PowerShell script on a Apache or Tomcat server and send me the result as text file? Or if there are some errors I would be more than interested to see them.

In the first line I specified ($MonitorItem = 'httpd') which stands for Apache. If you run it on a tomcat, please put tomcat instead of httpd in there.

Thanks

Ruben

mmathew12 commented 5 years ago

image

Juanito99 commented 4 years ago

Please check the latest version. - I improved the exception handling.