templates for Win32/Citrix/MSSQL
Moderators: Developers, Moderators
templates for Win32/Citrix/MSSQL
Hi everyone,
Here are some useful templates. These are meant to graph win32 servers from a win32 cacti host. They were tested on windows 2K3 Server SP1
Screenshots are included in the zip.
The following templates are included:
citrix - load - one server
citrix licences - whole farm
citrix load average - whole farm
citrix sessions - whole farm
citrix users - one server
Disk space using wmi
MSSql jobs in error
Windows pagefile usage
Windows physical memory usage
Windows Service State
N.B. : Citrix templates require the citrix SDK on the cacti host.
The Service State and Disk space are data queries. Disk space includes freespace to be monitored through theshold plugin. Service state is only used for tracking windows services falling down.
If you find these useful, need help to install them,... just tell me
------
New version with missing ressources uploaded!
------
Jonas
Here are some useful templates. These are meant to graph win32 servers from a win32 cacti host. They were tested on windows 2K3 Server SP1
Screenshots are included in the zip.
The following templates are included:
citrix - load - one server
citrix licences - whole farm
citrix load average - whole farm
citrix sessions - whole farm
citrix users - one server
Disk space using wmi
MSSql jobs in error
Windows pagefile usage
Windows physical memory usage
Windows Service State
N.B. : Citrix templates require the citrix SDK on the cacti host.
The Service State and Disk space are data queries. Disk space includes freespace to be monitored through theshold plugin. Service state is only used for tracking windows services falling down.
If you find these useful, need help to install them,... just tell me
------
New version with missing ressources uploaded!
------
Jonas
- Attachments
-
- cacti windows templates.zip
- cacti templates
- (262.37 KiB) Downloaded 3286 times
Last edited by jbiberian on Fri Apr 20, 2007 3:33 am, edited 2 times in total.
missing files
Hi,
I've just updated the zip file. You can now find the missing files in the template directory.
Sorry for that!
Jonas
I've just updated the zip file. You can now find the missing files in the template directory.
Sorry for that!
Jonas
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Jonas,
I can't seem to get these XML files to return any data. A verbose query gives no output. I changed the paths on the PERL scripts to reflect where CACTI is installed, but still no joy.
Running the PERL script from a command line also does not give any results - any ideas ?
Thanks
I can't seem to get these XML files to return any data. A verbose query gives no output. I changed the paths on the PERL scripts to reflect where CACTI is installed, but still no joy.
Running the PERL script from a command line also does not give any results - any ideas ?
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Could you just tell me which scripts you are trying to run, and which one doesn't give you an answer?
In all cases, remember that the user running IIS or Apache and the cmd.php must have the windows rights to get the information from the server. To change it on IIS 6.0 you have to go to the pool used by your application on the identity tab.
Jonas
In all cases, remember that the user running IIS or Apache and the cmd.php must have the windows rights to get the information from the server. To change it on IIS 6.0 you have to go to the pool used by your application on the identity tab.
Jonas
For Apache you have to change the account which launches the service. Try with an domain administrator first.
Remember that the disk space plugin is a data query, so you have to launch it with correct arguments (I'm no longer at work so I can't tell you the exact one, but I think it is perl check_disk_space.pl <hostname> query list), I'll post later the correct command, I don't have much time now. Try running command "diskperf -y" on the server and "wmiadap /f" to activate the disk counters.
Jonas
Remember that the disk space plugin is a data query, so you have to launch it with correct arguments (I'm no longer at work so I can't tell you the exact one, but I think it is perl check_disk_space.pl <hostname> query list), I'll post later the correct command, I don't have much time now. Try running command "diskperf -y" on the server and "wmiadap /f" to activate the disk counters.
Jonas
-
- Posts: 8
- Joined: Fri Apr 20, 2007 10:15 pm
I would not recommand that too.... Even if I do that! It was only for testing if it was his problem.
My solution was to run as a domain admin, but to isolate this web server so it can only be accessed by a few trusted admins and a few managers. without beeing domain administrator, you can't monitor domain controllers....... I didn't had a choice
To answer your question : you have ton change the data source template (where you'll find the command line to run the script) and change it to launch the command with runas (or set up an intermediate script which will do this job). This should work, but will disclose the password to anyone accessing the console.
Jonas
My solution was to run as a domain admin, but to isolate this web server so it can only be accessed by a few trusted admins and a few managers. without beeing domain administrator, you can't monitor domain controllers....... I didn't had a choice
To answer your question : you have ton change the data source template (where you'll find the command line to run the script) and change it to launch the command with runas (or set up an intermediate script which will do this job). This should work, but will disclose the password to anyone accessing the console.
Jonas
The problem with runas is entering the password. Yo have to emulate keystrokes.
The runas.vbs found on https://lists.cs.wisc.edu/archive/condo ... 0734.shtml should help you doing what you want!
Jonas
The runas.vbs found on https://lists.cs.wisc.edu/archive/condo ... 0734.shtml should help you doing what you want!
Jonas
ok! So you don't have to change anything but the paths in perl script, sorry! (I though you were nick_strunc, i didn't pat attention)
could you just run the command "by hands", and tell me the Windows version you are using?
The commands to launch are :
- disk space :
could you just run the command "by hands", and tell me the Windows version you are using?
The commands to launch are :
- disk space :
- services :get_disk_space.pl localhost index
C:
get_disk_space.pl localhost get Size C:
36405071872
Jonasget_service_script.pl localhost index
AClient
AeLookupSvc
Alerter
ALG
Apache2
AppMgmt
AudioSrv
BITS
.....
get_service_script.pl localhost get State Apache2
1
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Hi Jonas,
These seem to work ok (for XP and Windows 2003). However, if I want to run these using the data query, and they don't return any values, then how would this fit in with CACTI ? Is there anything I need to change ?
Thanks for your help.
These seem to work ok (for XP and Windows 2003). However, if I want to run these using the data query, and they don't return any values, then how would this fit in with CACTI ? Is there anything I need to change ?
Thanks for your help.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Who is online
Users browsing this forum: No registered users and 1 guest