How can i create a Graph about the Database size of a Microsoft SQL 2000 Database?
Thank you very much.
Greets from switzerland.
MSSQL Database size graph
Moderators: Developers, Moderators
Is the data accssable via snmp? If not, then you'll probably have to write a WMI script. If it actually resides in one file, a small simple script which returns the filesize would work too.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Well first you need to figure out what will report the mssql database size. Then once you know that, then you can write the appropriate script.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Hi
I'm graphing MS SQL databases sizes; the results are fed into Cacti with NRPE. I'll post the script later today.
I'm graphing MS SQL databases sizes; the results are fed into Cacti with NRPE. I'll post the script later today.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
i have on a Windows-Server a ASP-Script with the Output:
Now i must this output to cacti script.. puhh..
Run this script from the Linux-Server on the Windows-Webserver and put the Output in a Graph..
Code: Select all
<html>
<body>
master 17344 KB<br>mastlog 2304 KB<br>
<br>
test_Data 1280 KB<br>test_Log 1024 KB<br>
<br>
MSDBData 13312 KB<br>MSDBLog 2304 KB<br>
</body>
</html>
Run this script from the Linux-Server on the Windows-Webserver and put the Output in a Graph..
Alright, then you should take a read on how to make your script work with cacti. Then I also suggest you read this guide to get a basic idea how to create the data & graph templates for the script.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests