including external *.bat *.cmd scripts

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

Moderators: Developers, Moderators

Post Reply
Guest

including external *.bat *.cmd scripts

Post by Guest »

i have a little windows script for graphing the free server space without snmp. how i can include this script in cacti (win32)

Code: Select all

du -s \\SERVER.FOOBAR.COM\DATA\ >DATA.TXT
FOR /F "TOKENS=1" %%j IN ('TYPE DATA.TXT') DO RRDTOOL update DATA.RRD %DATE%:%%j
[/quote]
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests