Using Cacti to report TSM utilization

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
seerow
Posts: 5
Joined: Fri Nov 16, 2007 8:26 am
Location: Germany, Erfurt

Using Cacti to report TSM utilization

Post by seerow »

Hi all,

I'm attempting to create a script to graph Tivoli Storage Mangager stats (Utilization etc.)

I've created a simple cmd file in order to query the TSM database from the cacti box:


Code:

Code: Select all

@echo off 
echo 11 | tr -d "\n"
Receiving the following error in the cacti log file:

Code:

Code: Select all

05/22/2007 03:15:15 PM - CACTID: Poller[0] Host[242] ERROR: Empty result [127.0.0.1]: 'c:/cacti/scripts/db.cmd' 
05/22/2007 03:15:15 PM - CACTID: Poller[0] Host[242] DS[3958] WARNING: Result from SCRIPT not valid. Partial Result: ... 

Anyone have any ideas in order to resolve this issue?

Thanks
Antonio

Cacti Version 0.8.7
Server Info Windows 2000
Web Server Apache/2.2.4 (Win32) PHP/5.2.3
RRDTool Version 1.2.x
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) whats the actual script output look like?
2) cactid is some times picky about scripts; try running it under cmd.php and see if it works.
3) read http://docs.cacti.net/node/70 on how to design scripts/templates.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests