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    


Cactid under Windows

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
danathane
Cacti User


Joined: 03 May 2007
Posts: 127

PostPosted: Wed Sep 19, 2007 3:18 am    Post subject: Cactid under Windows Reply with quote

Hello there!!
I have a little question for you about the instalation of cactid under Windows.

It is said that i have to install Net-SNMP.
but when you install cacti you install Net-snmp.
So is it necessary to reinstall net-snmp? or the two net-snmp installation aren't the same.

it is also said that we have to specify the Mib path thing for net-snmp, but where am i suppose to specify it? is it in cacti or net-snmp config file or something else?

If you have any other indication to give m for the installation of cactid just tell me. I need to write an installation manual and thoose clarifications will help me to write this document.

Thanks a lot
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 11821
Location: MI, USA

PostPosted: Wed Sep 19, 2007 6:52 am    Post subject: Reply with quote

I was just able to figure out why net-snmp would not build properly in Cygwin. I have modified the instructions in the upcomming "spine" release (replacement for cactid, name only).

I have also put a "final" "final" release of Cactid on the announcements forum. Let me post the Windows instructions here.

Quote:
Prerequisites
    1) A working cygwin enviroment available @ www.cygwin.com. You will need at least GCC from the cygwin distrubution in order to compile cactid. I recommend that you build cactid on a full development system and then transfer the binary to a minimal build system to run.

    2) You need to download the UNIX sources of NetSNMP and the MySQL. Please do NOT download the Windows versions of these source distributions.

MySQL source files available @ www.mysql.com/downloads
Net-SNMP source files available @ www.net-snmp.org/download

Build instructions

MySQL

Only the client libraries are needed for spine so MySQL can be configured with the following option:

./configure --without-server

make
make install

NetSNMP

Use the experimental reentrant configure flag

./configure --enable-reentrant --disable-agent --disable-mibs --with-perl-modules=no --disable-mib-loading --with-defaults

make
make install

Cactid

nothing special required

./configure

make
make install


I have tested this with net-snmp 5.4.1 and it works fine. I hope this helps. I suggest you perform a full install of Cygwin BTB.

TheWitness


Last edited by TheWitness on Wed Sep 19, 2007 6:55 am; edited 1 time in total
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 11821
Location: MI, USA

PostPosted: Wed Sep 19, 2007 6:55 am    Post subject: Reply with quote

Here is the link:

http://forums.cacti.net/viewtopic.php?t=23059

TheWitness
Back to top
danathane
Cacti User


Joined: 03 May 2007
Posts: 127

PostPosted: Wed Sep 19, 2007 10:01 am    Post subject: Reply with quote

Ok tahnks!
In the instruction page, it is not written that we must use linux source. taht is why i was totaly confused.

Thanks for the help.
i think i gonna finish my documentation tomorow
Back to top
FreRange



Joined: 30 Mar 2005
Posts: 23
Location: Irvine, CA

PostPosted: Thu Oct 25, 2007 7:55 pm    Post subject: Issue with Make.. Reply with quote

I beefed up on the instructions but I seem to be failing on the final steps to make the file for DEV on WINXP.


$ make
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/local/include/net-snmp -I/u
sr/local/include/net-snmp/.. -I/usr/local/include/mysql -g -O2 -MT sql.o -MD -MP
-MF ".deps/sql.Tpo" -c -o sql.o sql.c; \
then mv -f ".deps/sql.Tpo" ".deps/sql.Po"; else rm -f ".deps/sql.Tpo"; e
xit 1; fi
In file included from spine.h:469,
from sql.c:35:
ping.h:151: error: field `idi_ip' has incomplete type
make: *** [sql.o] Error 1


Clue?
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 11821
Location: MI, USA

PostPosted: Thu Oct 25, 2007 10:40 pm    Post subject: Reply with quote

Grap ping.h from the Cacti SVN. Once you have it, you will be able to compile. Sorry for that...

TheWitness
Back to top
FreRange



Joined: 30 Mar 2005
Posts: 23
Location: Irvine, CA

PostPosted: Fri Oct 26, 2007 10:51 am    Post subject: Reply with quote

No issues... I've got to do the morning rounds. I let you know if it works.


Thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group