Does anyone have the last RRDTool version for windows compiled? I'm trying to do it but it's giving me a lot of errors.
I would like some help. I won't be able to migrate from my Linux Box (with RRDTool 1.3) to Windows with RRDTool 1.2.
RRDTool 1.3 for Windows
Moderators: Developers, Moderators
rrdtool versions are posted on the main rrdtool site, or the external Windows site which is on the downloads page.
I suggest you stick with rrdtool 1.2.x with cacti though.
I suggest you stick with rrdtool 1.2.x with cacti though.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
The problem is that When I try to run the conversion script:
I get the error that the xml files (that came from my Linux Host running RRDTool 1.3) were created with a newer version of RRDTool and it doesn't convert the file.[/code]
Code: Select all
'Set the Variables
strComputer = "."
strInputDir = "C:\Back"
strCactiDir = "C:\Cacti"
strLogFile = "C:\Cacti\log\Restored.txt"
'Create a shell Executor
Set objShell = CreateObject("WScript.Shell")
'Create File and Open
Set objFileSystem = CreateObject("Scripting.fileSystemObject")
Set objOutputFile = objFileSystem.CreateTextFile(strLogFile, TRUE)
'Open the Computer Object
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
'Open the Input Directory and Return a List of all Files
Set colFileList = objWMIService.ExecQuery _
("ASSOCIATORS OF {Win32_Directory.Name='" & strInputDir & "'} Where " _
& "ResultClass = CIM_DataFile")
'Loop through the files and if it's an XML file restore it
For Each objFile In colFileList
If objFile.Extension = "xml" Then
objShell.Run strCactiDir & "\rrdtool.exe restore -f " & strInputDir & "\" _
& objFile.FileName & "." & objFile.Extension & " " & _
strCactiDir & "\rra\" & objFile.FileName & ".rrd"
objOutputFile.WriteLine(objFile.FileName & " was restored.")
End If
Next
Who is online
Users browsing this forum: No registered users and 2 guests