templates for Win32/Citrix/MSSQL

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

jbiberian
Posts: 17
Joined: Mon Apr 16, 2007 5:51 am

Post by jbiberian »

Here is my debug output of the disk data query, could you post yours? :
+ Running data query [22].
+ Found type = '4 '[script query].
+ Found data query XML file at 'C:/sites/cacti/resource/script_queries/win32_disk_space.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'perl C:\sites\cacti\scripts\get_disk_space.pl localhost index'
+ Executing script query 'perl C:\sites\cacti\scripts\get_disk_space.pl localhost query index'
+ Found item [Name='C:'] index: C:
+ Found data query XML file at 'C:/sites/cacti/resource/script_queries/win32_disk_space.xml'
+ Found data query XML file at 'C:/sites/cacti/resource/script_queries/win32_disk_space.xml'
+ Found data query XML file at 'C:/sites/cacti/resource/script_queries/win32_disk_space.xml'
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Hi Jonas,

I just changed the WAMP services to reflect the account I'm using for the poller, and have data. Thanks for your help - much appreciated.

Regds
Last edited by mcutting on Tue Apr 24, 2007 3:33 am, edited 1 time in total.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
jbiberian
Posts: 17
Joined: Mon Apr 16, 2007 5:51 am

Post by jbiberian »

I haven't understand what you just told me. Does it works?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Sorry Jonas - a "typo" - everything seems to work fine.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
jbiberian
Posts: 17
Joined: Mon Apr 16, 2007 5:51 am

Post by jbiberian »

great, now enjoy ;)
soulshepard
Posts: 9
Joined: Fri Feb 09, 2007 8:20 am

Post by soulshepard »

it looks promising.. but.. teh citrix SDK were to get.. ;( dont u need to be registerd somewere to get that or is that publicy available

or.... can someone supply a url were u can download it?

thx

soul
jbiberian
Posts: 17
Joined: Mon Apr 16, 2007 5:51 am

Post by jbiberian »

Here they are :

http://apps.citrix.com/cdn/sdk/default.asp

Don't forget to register a distant mfcom server on install (provide your data collector)

Jonas
redleg
Posts: 3
Joined: Wed Jul 25, 2007 7:39 am

Post by redleg »

Hi there,

I try to implement the citrix templates to my cacti. Which SDK do I need? There are a lot of different packages available on citrix page.

Thanks
jbiberian
Posts: 17
Joined: Mon Apr 16, 2007 5:51 am

Post by jbiberian »

Hi

Try this one, this is the latest one.

http://support.citrix.com/article/CTX107029

Jonas
redleg
Posts: 3
Joined: Wed Jul 25, 2007 7:39 am

Post by redleg »

HI Jonas,

thank's a lot. Meanwhile I get a result for connected Users :-)), but the other Graphs are still dead :-(
The Pollerlog tells me:

07/25/2007 04:10:06 PM - CACTID: Poller[0] Host[5] ERROR: Empty result [MSHQTSXXX]: 'cscript //NoLogo C:/Inetpub/wwwroot/cacti/scripts/get_ctxloadlevelaverage.wsf'
07/25/2007 04:10:06 PM - CACTID: Poller[0] Host[5] DS[47] WARNING: Result from SCRIPT not valid. Partial Result: ...
07/25/2007 04:10:06 PM - CACTID: Poller[0] Host[5] ERROR: Empty result [MSHQTSXXX]: 'cscript //NoLogo C:/Inetpub/wwwroot/cacti/scripts/get_ctxloadlevel.vbs MSHQTSXXX'
07/25/2007 04:10:06 PM - CACTID: Poller[0] Host[5] DS[45] WARNING: Result from SCRIPT not valid. Partial Result: ...
07/25/2007 04:10:06 PM - CACTID: Poller[0] Host[5] ERROR: Empty result [MSHQTSXXX]: 'cscript //NoLogo C:/Inetpub/wwwroot/cacti/scripts/get_ctxlicence.vbs'

Do you have an idea ?

Stefan
jbiberian
Posts: 17
Joined: Mon Apr 16, 2007 5:51 am

Post by jbiberian »

try to run the scripts with cmd to show me the output


for get_ctxloadlevelaverage.wsf change the end of the script to :

Code: Select all

wscript.echo "load:" & fix(loadmoyenne)

</script>

for get_ctxlicence.vbs don't forget to change

Code: Select all

strComputer = yourlicenceserver
to refresh WMI counters on a server you can run

Code: Select all

wmiadap /f
redleg
Posts: 3
Joined: Wed Jul 25, 2007 7:39 am

Post by redleg »

when i try to start the get_ctxlicence.vbs in the cmd,i get no result !?
therfor i changed the path from > "\root\citrixlicensing" < to > \programme\citrix\licensing < but nothing happens.
on the citrix license server, snmp and wmi is started, wmisnmp is also installed.
jbiberian
Posts: 17
Joined: Mon Apr 16, 2007 5:51 am

Post by jbiberian »

\root\citrixlicensing is a WMI Path, not a file system path! try running wmiadap /f on the license server and don't forget to replace strComputer

You can explorer WMI with a free tool called wmiexplorer

Jonas
Attachments
connect to a remote host
connect to a remote host
wmi1.JPG (69.63 KiB) Viewed 8591 times
what you should see
what you should see
wmi2.JPG (34.47 KiB) Viewed 8591 times
gab
Posts: 12
Joined: Tue Apr 22, 2008 9:55 am

Cacti licenses

Post by gab »

Hi,
thanks for your templates.
I have a problem with the Citrix licences template.
The script get_ctxlicence.vbs return no results.
If I use a tool like "WMI Code Creator", it doesn't work.
The problem seems to be on the server but the service "Citrix Licensing WMI" is in state "started".
I tried to restart the service but it doesn't fix the problem.

Do you have an idea to solve my problem ?
- a parameter to set or something else ...

I use Citrix 4.5 in french.

Thanks in advance
jbiberian
Posts: 17
Joined: Mon Apr 16, 2007 5:51 am

Post by jbiberian »

try running wmiadap /f on the license server
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests