Search found 29 matches

by gasperazzo
Fri Jul 17, 2009 3:57 pm
Forum: Scripts and Templates
Topic: Monitor Windows via WMI from Cacti on Linux
Replies: 671
Views: 426211

abdullahteke,

Can u tell what version and paste a link to get the source files? I think that i'm having the same problem.
by gasperazzo
Tue Jul 07, 2009 2:22 pm
Forum: Help: General
Topic: Downed Device Detection issue...
Replies: 9
Views: 2306

Solved... I updated spine to 087e and now i get the graphs...

Thanks :-)
by gasperazzo
Tue Jul 07, 2009 1:27 pm
Forum: Help: General
Topic: Downed Device Detection issue...
Replies: 9
Views: 2306

After running the "chmod u+s /usr/local/bin/spine" to setuid to spine... The problem persist and i recived any errors to query localhost. 07/07/2009 03:25:02 PM - SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: 'perl /var/www/cacti/scripts/unix_processes.pl' 07/07/2009 03:25:02 P...
by gasperazzo
Tue Jul 07, 2009 11:45 am
Forum: Help: General
Topic: Downed Device Detection issue...
Replies: 9
Views: 2306

Hi TheWitness, I'm using spine 087c. Do u recommend the update to 087e? Whats mean "setuid"? The spine file is owned by root... I don't remember, but in a oldest version of cacti, I needed to edit a php file (don't remember the file name) to adjust this issue. The log from" ./spine --...
by gasperazzo
Mon Jul 06, 2009 6:16 pm
Forum: Help: General
Topic: Downed Device Detection issue...
Replies: 9
Views: 2306

BSOD2600, I had test all ping types without success to graph. But the ping result (at the device page) was succeed... When I look the log, looks like the cacti won't query the host... I'm home now... Tomorrow Ill post the log. TheWitness, I wrote some perl scripts using wmic to query cpu, memory, pa...
by gasperazzo
Mon Jul 06, 2009 2:42 pm
Forum: Help: General
Topic: Downed Device Detection issue...
Replies: 9
Views: 2306

Downed Device Detection issue...

Hellow all... So... I installed cacti 0.8.7.d into an Ubuntu 9.0.4 box. Then i install wmic-client to queries windows servers with wmi. When I add a windows box to cacti and create the graphs for this host I recived an error that the rra file wans`t created. I found the problem, but not ways to reso...
by gasperazzo
Tue Dec 23, 2008 7:25 am
Forum: Help: General
Topic: How SNMP Interface Statistics Works
Replies: 5
Views: 3346

Icano, Thans for reply. I want to know what is this period of time. For example: If the Snmp Interface Statistics queries the device and get the TIME1, wait for 1 sec (sleep 1) and get the TIME2. Thus the script will able to calculate the traffic. Alright? But if the script get TIME1, store this val...
by gasperazzo
Mon Dec 22, 2008 1:49 pm
Forum: Help: General
Topic: How SNMP Interface Statistics Works
Replies: 5
Views: 3346

I have this questions because I have some interfaces from one Switch Core monitoring in Cacti. In a beautiful day one of this interfaces gone working at 100% until one day. When I look the graphic at Cacti I saw that the 100% utilization are not graphed. The utilization still in 40 to 50%. RRAs conf...
by gasperazzo
Mon Dec 22, 2008 12:34 pm
Forum: Help: General
Topic: How SNMP Interface Statistics Works
Replies: 5
Views: 3346

How SNMP Interface Statistics Works

Hello all, We know that the OIDs (ifinoctets and ifoutoctets) don't represent a traffic information with only one value. We need two values to determine the traffic across a period of time. I want to know how SNMP Interface Statistic are implemented. How the data querie gets the two values to determ...
by gasperazzo
Fri Dec 19, 2008 1:10 pm
Forum: Scripts and Templates
Topic: Windows WMI with Cacti on Linux server
Replies: 30
Views: 50524

No problem felimwhiteley, I wrote perl scripts to query wmi issues using WMIC that works like a charm. Then i wrote some of data queries on Cacti to use these scripts. So... I'll read your post but now I'm going on vacation for 2 weeks :-) If the question about the ouput of WMIC is true (always retu...
by gasperazzo
Fri Oct 17, 2008 11:39 am
Forum: Help: General
Topic: Spine returns data at linux prompt but not on Cacti!!
Replies: 10
Views: 2907

No, i don't changed the wmic query... I changed the method of Perl running system calls. I don't use @file = `command`; anymore. I'm using: open(FILE,comand); @file = <FILE>; close(FILE); For windows issue, i think i know something! :) ... But for Linux, perl, packages, distributions, source codes i...
by gasperazzo
Thu Oct 16, 2008 8:33 am
Forum: Help: General
Topic: Spine returns data at linux prompt but not on Cacti!!
Replies: 10
Views: 2907

I don't think that issue is a windows issue... Because i`m running cacti at a Suse Linux 10.1...

I solved the problem changing the method of collect output of system calls through perl scripts.

Thanks Gandalf...!!
by gasperazzo
Thu Oct 16, 2008 8:32 am
Forum: Scripts and Templates
Topic: Windows WMI with Cacti on Linux server
Replies: 30
Views: 50524

Hello, i have one question about wmic... Every time that I execute a wmic query, for example: wmic -U domain/user%password //server "select AllocatedBaseSize from Win32_PageFileUsage" The query return is: CLASS: Win32_PageFileUsage AllocatedBaseSize|Name 50|C:\pagefile.sys 6144|E:\pagefile...
by gasperazzo
Wed Oct 15, 2008 3:10 pm
Forum: Help: General
Topic: Spine returns data at linux prompt but not on Cacti!!
Replies: 10
Views: 2907

Found the problem... When I realize a system call like that, Cacti don't get the output of the script... So, why? I don't know.... my $strExec = "wmic -U $credential //$computer \"select NumberOfProcesses from $Win32_Class\""; @PageFileName = `$strExec`; I'll try to test another ...
by gasperazzo
Wed Oct 15, 2008 1:12 pm
Forum: Help: General
Topic: Spine returns data at linux prompt but not on Cacti!!
Replies: 10
Views: 2907

I ran the crontab line at the prompt with cactiuser and worked fine... No errors are presented in the Cacti's log.

Now I don't know what I can try anymore.

:cry: