Cactid under Windows

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
danathane
Cacti User
Posts: 127
Joined: Thu May 03, 2007 9:03 am

Cactid under Windows

Post by danathane »

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
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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.
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.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
danathane
Cacti User
Posts: 127
Joined: Thu May 03, 2007 9:03 am

Post by danathane »

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
FreRange
Posts: 23
Joined: Wed Mar 30, 2005 2:13 pm
Location: Irvine, CA

Issue with Make..

Post by FreRange »

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?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

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

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
FreRange
Posts: 23
Joined: Wed Mar 30, 2005 2:13 pm
Location: Irvine, CA

Post by FreRange »

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


Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests