|
|
| Author |
Message |
sadamu0614
Joined: 19 Nov 2007 Posts: 0
|
Posted: Mon Nov 19, 2007 7:08 am Post subject: |
|
|
Of course it has !
Starting per Cron every 5 Minutes !
Running as Domain-Admin !
Is there a way to enable more debugging for DataInputMethods ?!
So I am able to see, whats returned by the script started from scheduler ?
Regards
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 978
|
Posted: Mon Nov 19, 2007 7:12 am Post subject: |
|
|
| Ok - do you have this particular problem with any other (if applicable) PERL scripts running on your CACTI system ? Does your SPINE binary reside in C:\cygwin\bin ? I had this issue myself, and resolved it by placing the SPINE binary and conf file in this directory.
|
|
| Back to top |
|
 |
sadamu0614
Joined: 19 Nov 2007 Posts: 0
|
Posted: Mon Nov 19, 2007 8:30 am Post subject: |
|
|
Okay, great tip !
Is working now !
Was still using cactid !
Now using spine and copied all files to cygwin-bin !
thx
|
|
| Back to top |
|
 |
jzondor
Joined: 10 May 2006 Posts: 7
|
Posted: Wed Feb 20, 2008 11:19 am Post subject: |
|
|
I noticed that the DB Stats didn't seem right... So I change the script to pull the raw data instead of the formatted data. It seems closer to what it should be.
| Description: |
|
 Download |
| Filename: |
windows_exchangedb.pl |
| Filesize: |
814 Bytes |
| Downloaded: |
192 Time(s) |
| Description: |
|
 Download |
| Filename: |
cacti_graph_template_windows_-_exchange_database.xml |
| Filesize: |
19.79 KB |
| Downloaded: |
141 Time(s) |
|
|
| Back to top |
|
 |
jzondor
Joined: 10 May 2006 Posts: 7
|
|
| Back to top |
|
 |
najini
Joined: 18 Apr 2008 Posts: 3
|
Posted: Fri Apr 18, 2008 9:55 am Post subject: Problem |
|
|
Problem with Database and Latency template, I haven't a Value in this graphs. The others graphs works properly.I don't know please help me.
thank you.
|
|
| Back to top |
|
 |
monitoringuk
Joined: 13 May 2008 Posts: 1
|
Posted: Tue May 13, 2008 8:19 am Post subject: |
|
|
Strange one happening with me....
Setup as per edgonz instructions. I can run the query perl windows_exchangemessages.pl servername and i get the result:
MB_MsgsSubmitted:93 MB_MsgsDelivered:14996 MB_MsgsSent:93 SMTP_MsgBytesReceived:
27507381 SMTP_MsgBytesSent:3286685 SMTP_MsgsDelivered:14963 SMTP_MsgsReceived:74
14 SMTP_MsgsSent:74
But the graphs in cacti are still blank... Can anyone point me in the right direction to try and fix this?
thanks for your time.
|
|
| Back to top |
|
 |
mentasm
Joined: 02 Jul 2007 Posts: 16
|
Posted: Tue Jun 10, 2008 9:43 pm Post subject: |
|
|
Does anyone have any ideas why I would not be able to find the
Win32_PerfRawData_MSExchangeIS_MSExchangeISMailbox
class on my exchange server? I can see the
Win32_PerfRawData_SMTPSVC_SMTPServer
class and return data from it fine.
Server is Server 2003 R2 SP2 running Exchange 2003.
Also in the Exchange (Messages) graph, I am getting data graphed for the Win32_PerfRawData_SMTPSVC_SMTPServer data, but the values are not displayed below the graph. Any suggestions on what to look at?
| Description: |
|
| Filesize: |
47.84 KB |
| Viewed: |
1602 Time(s) |

|
|
|
| Back to top |
|
 |
widde
Joined: 29 May 2008 Posts: 1
|
Posted: Thu Jun 12, 2008 7:27 am Post subject: |
|
|
| briealeida wrote: | That's totally not the case.
Sorry, guys.
I'm giving this up and sticking to switches, Linux boxes and networking stuff for Cacti and searching for the SNMP OIDs.
Completely screw WMI and OLE. |
Don't give up that quick. How about this link?
http://www.perlmonks.org/?node_id=430194
Getting that damn Perl Script over wine. I will give it a try, but my linux capabilitys are not that good So lets see. I will post my findings.
|
|
| Back to top |
|
 |
astralusche
Joined: 06 Jun 2008 Posts: 8 Location: Rostock / Germany
|
|
| Back to top |
|
 |
maximillianx
Joined: 20 Jun 2008 Posts: 1 Location: Rockford, IL
|
Posted: Fri Jun 20, 2008 1:20 pm Post subject: |
|
|
| joex51 wrote: | DAP,
i am getting a warning.
03/12/2006 09:55:18 PM - CACTID: Poller[0] Host[10] DS[128] WARNING: Result from SCRIPT not valid. Partial Result: ...
should make my time out longer? |
Hi there, I've set up Cacti for the very first time (although it appears I may have actually done it mostly right!)...
I get this same result when looking at the log, however, running the scripts returns data.
I looked through the rest of this thread and could not determine if Joex51 was able to get his issue resolved. The user account that runs the scheduled poller is a domain admin.
I've attempted the various WMI commands and opening up WMI access to 'everyone', with no success.
|
|
| Back to top |
|
 |
gueutzilla
Joined: 13 Jul 2008 Posts: 9
|
Posted: Sun Jul 13, 2008 11:14 am Post subject: |
|
|
Hi,
I have a problem with Exchange message template...
Cacti informations
Version 0.8.7b
Operating System: win32 (Win2k3 SP2 stdr)
PHP SNMP Support: yes
All other template work properly (Exchange Queues : OK, Exchange Client Latency : OK, Exchange Database : OK, Exchange message stats : Graph don't work!!)
The perl script "windows_exchangemessages.pl" work perfectly
| Quote: | D:\Web\Cacti\scripts>perl windows_exchangemessages.pl MYSERVER
MB_MsgsSubmitted:100697 MB_MsgsDelivered:414159 MB_MsgsSent:103975 SMTP_MsgBytes
Received:11619132579 SMTP_MsgBytesSent:10500612509 SMTP_MsgsDelivered:260065 SMT
P_MsgsReceived:267192 SMTP_MsgsSent:45575 |
I have edit the data input with my correct path.
Here my data sources :
| Quote: | Data Source Debug
D:/Web/Cacti/rrdtool.exe create \
D:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd \
--step 300 \
DS:SMTP_MsgBytesReceiv:COUNTER:600:0:U \
DS:MB_MsgsSubmitted:COUNTER:600:0:U \
DS:SMTP_MsgBytesSent:COUNTER:600:0:U \
DS:SMTP_MsgsReceived:COUNTER:600:0:U \
DS:SMTP_MsgsDelivered:COUNTER:600:0:U \
DS:MB_MsgsDelivered:COUNTER:600:0:U \
DS:SMTP_MsgsSent:COUNTER:600:0:U \
DS:MB_MsgsSent:COUNTER:600:0:U \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \ |
Here my graph management debug :
| Quote: | RRDTool Command:
Notice: Undefined index: MB_MsgsDelivered in D:\Web\Cacti\lib\graph_variables.php on line 464
Notice: Undefined index: MB_MsgsSubmitted in D:\Web\Cacti\lib\graph_variables.php on line 464
Notice: Undefined index: SMTP_MsgsDelivered in D:\Web\Cacti\lib\graph_variables.php on line 464
Notice: Undefined index: SMTP_MsgBytesReceiv in D:\Web\Cacti\lib\graph_variables.php on line 464
D:/Web/Cacti/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="myserver - Exchange (Messages)" \
--rigid \
--base=1000 \
--height=175 \
--width=575 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Messages/Sec" \
DEF:a="D\:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd":MB_MsgsDelivered:AVERAGE \
DEF:b="D\:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd":MB_MsgsSubmitted:AVERAGE \
DEF:c="D\:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd":MB_MsgsSent:AVERAGE \
DEF:d="D\:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd":SMTP_MsgsDelivered:AVERAGE \
DEF:e="D\:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd":SMTP_MsgsReceived:AVERAGE \
DEF:f="D\:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd":SMTP_MsgBytesReceiv:AVERAGE \
DEF:g="D\:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd":SMTP_MsgsSent:AVERAGE \
DEF:h="D\:/Web/Cacti/rra/myserver_smtp_msgbytesreceiv_404.rrd":SMTP_MsgBytesSent:AVERAGE \
LINE1:a#00CF00:"MBox Msgs Delivered" \
GPRINT:a:LAST:"Current\:%5.1lf" \
GPRINT:a:AVERAGE:"Average\:%5.1lf" \
GPRINT:a:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 0)\n" \
LINE1:b#002A97:"MBox Msgs Submitted" \
GPRINT:b:LAST:"Current\:%5.1lf" \
GPRINT:b:AVERAGE:"Average\:%5.1lf" \
GPRINT:b:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 0)\n" \
LINE1:c#00A0C1:"MBox Msgs Sent" \
GPRINT:c:LAST:" Current\:%5.1lf" \
GPRINT:c:AVERAGE:"Average\:%5.1lf" \
GPRINT:c:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 0)\n" \
LINE1:d#FFFF00:"SMTP Msgs Delivered" \
GPRINT:d:LAST:"Current\:%5.1lf" \
GPRINT:d:AVERAGE:"Average\:%5.1lf" \
GPRINT:d:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 0)\n" \
LINE1:e#FF5F00:"SMTP Msgs Received" \
GPRINT:e:LAST:" Current\:%5.1lf" \
GPRINT:e:AVERAGE:"Average\:%5.1lf" \
GPRINT:e:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 0," \
COMMENT:"0 bytes)\n" \
LINE1:g#F51D30:"SMTP Msgs Sent" \
GPRINT:g:LAST:" Current\:%5.1lf" \
GPRINT:g:AVERAGE:"Average\:%5.1lf" \
GPRINT:g:MAX:"Maximum\:%5.1lf" \
COMMENT:"(Total 0," \
COMMENT:"0 bytes)\n" \
COMMENT:"Total 0\n"
RRDTool Says:
Notice: Undefined index: MB_MsgsDelivered in D:\Web\Cacti\lib\graph_variables.php on line 464
Notice: Undefined index: MB_MsgsSubmitted in D:\Web\Cacti\lib\graph_variables.php on line 464
Notice: Undefined index: SMTP_MsgsDelivered in D:\Web\Cacti\lib\graph_variables.php on line 464
Notice: Undefined index: SMTP_MsgBytesReceiv in D:\Web\Cacti\lib\graph_variables.php on line 464
OK |
I have find the problem in the template but I can't find how to resolved it!!!
The problem is due to the COMMENT line :
| Quote: | Item # 5 COMMENT: (Total |sum:0:current:0:auto|)<HR> COMMENT AVERAGE
Item # 10 COMMENT: (Total |sum:0:current:0:auto|)<HR> COMMENT AVERAGE
Item # 15 COMMENT: (Total |sum:0:current:0:auto|)<HR> COMMENT AVERAGE
Item # 20 COMMENT: (Total |sum:0:current:0:auto|)<HR> COMMENT AVERAGE
Item # 25 COMMENT: (Total |sum:0:current:0:auto|, COMMENT AVERAGE
Item # 26 COMMENT: |sum:auto:current:1:auto|)<HR>
|
The problem is the "|" character!!!
Only "(SMTP_MsgsSent): SMTP Msgs Sent and (MB_MsgsSent): MBox Msgs Sent" work!!!
When I remove "|" in the "MB_MsgsDelivered,MB_MsgsSubmitted,SMTP_MsgsDelivered and SMTP_MsgBytesReceiv" the graph appear like in the screenshot.
Do you know how can I resolve this problem??
Thanks a lot for your help.
Best regards.
| Description: |
|
| Filesize: |
71.08 KB |
| Viewed: |
1031 Time(s) |

|
|
|
| Back to top |
|
 |
gueutzilla
Joined: 13 Jul 2008 Posts: 9
|
Posted: Tue Jul 15, 2008 4:40 am Post subject: |
|
|
Hi,
I have solved my problem
I think the problem was due to long name to the output query!!!
I have changed the long name in the script :
from
SMTP_MsgsDelivered
to
SMTP_MsgsDeliv
And make a new graph template, new data input method and new data template.
After this modification, my problem was resolved
Thanks for this template
PS : Sorry for my poor english
|
|
| Back to top |
|
 |
|