Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Tue Jun 18, 2019 11:56 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Sat Dec 23, 2006 2:31 am 
Offline
Cacti User

Joined: Thu Mar 31, 2005 4:24 pm
Posts: 124
Location: Sydney, Asutralia
Go to Graph management and find the one for the disk stats for example -

warlord.livinginoz.com - Disk Stats C:

and delete it, when it ask's if you wish to delete all data sources say yes.. Then create a new one.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 26, 2006 8:31 pm 
Offline

Joined: Thu Dec 21, 2006 4:14 pm
Posts: 8
ERROR: Not enough arguments

This error is related to the user/passwd.


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 26, 2006 8:33 pm 
Offline
Cacti User

Joined: Thu Mar 31, 2005 4:24 pm
Posts: 124
Location: Sydney, Asutralia
Ah polling a machine over the network....


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 16, 2007 6:26 pm 
Offline
Cacti User

Joined: Fri Feb 16, 2007 11:37 am
Posts: 372
Location: Emeryville, CA
Hey there, Great script, i am having a problem though. When i try and run the script manually, it gives the following error:

Code:
e:\cacti\scripts\w32_WMI_logical_disks.vbs(18, 2) SWbemLocator: Access is denied


Any thoughts on this? Here is the areas that i have edited on the scripts:

Code:
servername=WScript.Arguments.Item(0)
Networkusername="cacti"
Networkpassword=""
name=WScript.Arguments.Item(1)

If servername="." Or servername="localhost" Then
   
   Set objWMIService = GetObject("winmgmts:" _
       & "{impersonationLevel=impersonate}!\\" _
       & servername & "\root\cimv2")
   
   Set colProcesses = objWMIService.ExecQuery( _
       "select * from Win32_PerfFormattedData_PerfDisk_LogicalDisk Where name='" & name & "'")

Else   

   Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
   Set objSWbemServices = objSWbemLocator.ConnectServer(servername, _
       "root\CIMV2", _
       Networkusername="DOMAIN\************", _
       Networkpassword="*******", _
       "MS_409", _
       "NTLMDomain:" + servername)


I am running this on a Windows 2003 box, against a windows 2003 R2 box. Would that have anything to do with it?

Thanks for the help.

app


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 16, 2007 11:16 pm 
Offline
Cacti User

Joined: Thu Mar 31, 2005 4:24 pm
Posts: 124
Location: Sydney, Asutralia
Hi,

If the username and password are correct then try the fix on the link below.

http://forums.livinginoz.com/showthread.php?t=201

Grant


Top
 Profile  
 
 Post subject: No such file or directory
PostPosted: Thu Jul 15, 2010 4:26 pm 
Offline

Joined: Wed Jul 14, 2010 4:14 pm
Posts: 4
sh: C:/WINDOWS/system32/cscript.exe: No such file or directory

here is the error produced at the pool with a machine running Windows 7 64 bit


Top
 Profile  
 
 Post subject: Please explain the graph
PostPosted: Wed Aug 18, 2010 4:27 am 
Offline

Joined: Thu Aug 12, 2010 1:32 am
Posts: 15
Thanks. The graphs are working, but iam not getting how the values are being drawn in the graph i mean how these graphs are working. What is 'Unit' in Y-axis. I understood the read time,write time,read queue,write queue values but how these values are represented in graph. Please help.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group