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
Cactid under Windows
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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.
TheWitness
I have also put a "final" "final" release of Cactid on the announcements forum. Let me post the Windows instructions here.
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.PrerequisitesMySQL source files available @ www.mysql.com/downloads
- 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.
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
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?
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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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?
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?
Issue with Make..
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?
$ 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?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Grap ping.h from the Cacti SVN. Once you have it, you will be able to compile. Sorry for that...
TheWitness
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?
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?
Who is online
Users browsing this forum: No registered users and 0 guests