Discussion:
clearing SBS monitoring logs
(too old to reply)
Mark
2006-07-24 12:21:20 UTC
Permalink
Seems as thought the SQL logs for SBSmonitoring are getting larger than they
need to be.....where do you correctly purge them from?
Eduard Biteanu
2006-07-24 15:16:38 UTC
Permalink
Personally I go to administrative tools / event viewer than I save the
log(s) from there.
After that click on clear all events , and you should have them at 0 kb.

Eduard
Post by Mark
Seems as thought the SQL logs for SBSmonitoring are getting larger than
they need to be.....where do you correctly purge them from?
Russ SBITS.Biz (MCP SBS)
2006-07-24 16:40:28 UTC
Permalink
No Eduard

I think he's talking about the SQL Monitoring logs.

This is a Repost from Brandy Nee:
---------------------------------------------------------------------------
I understand your issue is the SBSmonitoring.mdf is too large and you want
to reduce the size of the database. If I have misunderstood your concern,
please let me know.


Please take your time to read through my suggestions and then perform the
steps:


============


1> If you are using SBS Premium and have SQL server installed:


You can use the SQL Client Utilities to try and shrink the database. In
SBS, there is a job SBS_Database_Cleanup that is scheduled to run at 3:00
AM everyday, to delete over 90 day old information from the monitoring
database.


You can manually run the SBS_Database_Cleanup job, and use DBCC
SHRINKDATABASE, DBCC SHRINKFILE or use Enterprise Manager to reduce the
size of the database.


2> If you are running SBS Standard:


You need to use osql to connect to the WMSDE instance, and use transact SQL
commands manually to request the database be shrunk ("dbcc shrinkdatabase(
SBSMonitoring, <% free space target>)").


3> We also can simple rerun the Monitoring wizard to purge the
SBSmonitoring.mdf database.


NOTE: After doing the following steps, the original performance and usage
data will be removed. The server will start to collect new counter value
from the beginning.


1. Open Server Management console, navigate to 'Monitoring and Reporting'
snap-in. In the right panel, click 'Set Up Monitoring Reports and Alerts'.


2. In the wizard, click 'Next'->Select 'Reinstall monitoring
features'->Select the options if you want to receive the report e-mails.
Check 'View the usage report in Server Management' option. If you want to
receive the usage report e-mail, also check the option below->Add the users
which you allow them to view the usage report to the authorized
list->Select the option if you want to receive the performance
alerts->Click 'Finish' button to complete the configurations.


3. After doing the above steps, the performance and usage data will be
reset. Please wait for 24 hours and then you will see the reports through
the Monitoring and Reporting console.


4> If you need more space on your C drive, I would also suggest moving
available data from your C drive to other partition on your Server. The
following white paper demonstrates this scenario in detail.


Please refer to Step 5: Move the Monitoring Database in the following white
paper.
Moving Data Folders for Windows Small Business Server 2003
http://www.microsoft.com/technet/prodtechnol/sbs/2003/maintain/moveda...


Hope it helps! Please take your time to perform the steps. If you have any
updates, please feel free to let me know. I am looking forward to hearing
from you!


Best regards,


Brandy Nee


Microsoft CSS Online Newsgroup Support

---------------------------------------------------------
--
Russell Grover
SBITS.Biz
Enterprise Solutions for Small Business
Microsoft Certified Small Business Specialist.
MCP, MCPS MCNPS, (MCP-SBS)
Portland/Beaverton Oregon USA
Support @ SBITS.Biz
http://www.SBITS.Biz
Post by Eduard Biteanu
Personally I go to administrative tools / event viewer than I save the
log(s) from there.
After that click on clear all events , and you should have them at 0 kb.
Eduard
Post by Mark
Seems as thought the SQL logs for SBSmonitoring are getting larger than
they need to be.....where do you correctly purge them from?
Mark
2006-07-24 22:15:10 UTC
Permalink
Russ, that is exactly it, those dbs get LARGE
Post by Russ SBITS.Biz (MCP SBS)
No Eduard
I think he's talking about the SQL Monitoring logs.
---------------------------------------------------------------------------
I understand your issue is the SBSmonitoring.mdf is too large and you want
to reduce the size of the database. If I have misunderstood your concern,
please let me know.
Please take your time to read through my suggestions and then perform the
============
You can use the SQL Client Utilities to try and shrink the database. In
SBS, there is a job SBS_Database_Cleanup that is scheduled to run at 3:00
AM everyday, to delete over 90 day old information from the monitoring
database.
You can manually run the SBS_Database_Cleanup job, and use DBCC
SHRINKDATABASE, DBCC SHRINKFILE or use Enterprise Manager to reduce the
size of the database.
You need to use osql to connect to the WMSDE instance, and use transact SQL
commands manually to request the database be shrunk ("dbcc shrinkdatabase(
SBSMonitoring, <% free space target>)").
3> We also can simple rerun the Monitoring wizard to purge the
SBSmonitoring.mdf database.
NOTE: After doing the following steps, the original performance and usage
data will be removed. The server will start to collect new counter value
from the beginning.
1. Open Server Management console, navigate to 'Monitoring and Reporting'
snap-in. In the right panel, click 'Set Up Monitoring Reports and Alerts'.
2. In the wizard, click 'Next'->Select 'Reinstall monitoring
features'->Select the options if you want to receive the report e-mails.
Check 'View the usage report in Server Management' option. If you want to
receive the usage report e-mail, also check the option below->Add the users
which you allow them to view the usage report to the authorized
list->Select the option if you want to receive the performance
alerts->Click 'Finish' button to complete the configurations.
3. After doing the above steps, the performance and usage data will be
reset. Please wait for 24 hours and then you will see the reports through
the Monitoring and Reporting console.
4> If you need more space on your C drive, I would also suggest moving
available data from your C drive to other partition on your Server. The
following white paper demonstrates this scenario in detail.
Please refer to Step 5: Move the Monitoring Database in the following white
paper.
Moving Data Folders for Windows Small Business Server 2003
http://www.microsoft.com/technet/prodtechnol/sbs/2003/maintain/moveda...
Hope it helps! Please take your time to perform the steps. If you have any
updates, please feel free to let me know. I am looking forward to hearing
from you!
Best regards,
Brandy Nee
Microsoft CSS Online Newsgroup Support
---------------------------------------------------------
--
Russell Grover
SBITS.Biz
Enterprise Solutions for Small Business
Microsoft Certified Small Business Specialist.
MCP, MCPS MCNPS, (MCP-SBS)
Portland/Beaverton Oregon USA
http://www.SBITS.Biz
Post by Eduard Biteanu
Personally I go to administrative tools / event viewer than I save the
log(s) from there.
After that click on clear all events , and you should have them at 0 kb.
Eduard
Post by Mark
Seems as thought the SQL logs for SBSmonitoring are getting larger than
they need to be.....where do you correctly purge them from?
Loading...