templates for Win32/Citrix/MSSQL

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

Moderators: Moderators, Developers

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

#16 Post by jbiberian » Tue Apr 24, 2007 3:15 am

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: 1874
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

#17 Post by mcutting » Tue Apr 24, 2007 3:16 am

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

#18 Post by jbiberian » Tue Apr 24, 2007 3:25 am

I haven't understand what you just told me. Does it works?

mcutting
Cacti Guru User
Posts: 1874
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

#19 Post by mcutting » Tue Apr 24, 2007 3:33 am

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

#20 Post by jbiberian » Tue Apr 24, 2007 3:36 am

great, now enjoy ;)

soulshepard
Posts: 9
Joined: Fri Feb 09, 2007 8:20 am

#21 Post by soulshepard » Tue Apr 24, 2007 4:05 am

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

#22 Post by jbiberian » Tue Apr 24, 2007 4:07 am

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

#23 Post by redleg » Wed Jul 25, 2007 7:44 am

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

#24 Post by jbiberian » Wed Jul 25, 2007 7:47 am

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

#25 Post by redleg » Wed Jul 25, 2007 9:13 am

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

#26 Post by jbiberian » Wed Jul 25, 2007 11:03 am

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

#27 Post by redleg » Thu Jul 26, 2007 5:22 am

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

#28 Post by jbiberian » Thu Jul 26, 2007 8:03 am

\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
wmi1.JPG
connect to a remote host
wmi1.JPG (69.63 KiB) Viewed 7359 times
wmi2.JPG
what you should see
wmi2.JPG (34.47 KiB) Viewed 7359 times

gab
Posts: 12
Joined: Tue Apr 22, 2008 9:55 am

Cacti licenses

#29 Post by gab » Wed Apr 29, 2009 4:37 am

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

#30 Post by jbiberian » Wed Apr 29, 2009 9:22 am

try running wmiadap /f on the license server

Post Reply