Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Script for XP

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific
Author Message
TFC
Cacti Pro User


Joined: 09 Apr 2003
Posts: 617
Location: Izmir/Turkey

PostPosted: Tue Apr 15, 2003 7:12 am    Post subject: Script for XP Reply with quote

Hi,
I use :
XP
Cacti06.8a
Apache2
Active Perl
PHP4
rrdtool
I can login to my cacti...
But i can not see any graph.. I modify system_tcp data sources.Then i run this command and i got that message:
Code:
C:\>perl C:\Apache2\htdocs\cacti\scripts\tcp.pl tcp
'grep' is not recognized as an internal or external command,
operable program or batch file.

What is wrong?
Please help me.
I need cacti....
Thnx
Back to top
kaos



Joined: 04 Dec 2002
Posts: 13

PostPosted: Tue Apr 15, 2003 7:36 am    Post subject: Reply with quote

Hi,

I had the same problem. What i did was:

1. Downloaded cygwin.
2. Installed cygwin.
3. Added c:\cygwin\bin to the path in the system variables.

After that, most of the standard scripts started to work.

Grtz
Back to top
TFC
Cacti Pro User


Joined: 09 Apr 2003
Posts: 617
Location: Izmir/Turkey

PostPosted: Tue Apr 15, 2003 1:04 pm    Post subject: Reply with quote

After install cygwin and adding c:\cygwin\bin path, is necessary to put
Code:
#!c:\perl\bin
line instead of
Code:
#!/usr/bin/perl
line at the top of scripts?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group