|
[root@test cacti]# tar -zxvf cacti-spine-0.8.7a.tar.gz
cacti-spine-0.8.7a/
cacti-spine-0.8.7a/NEWS
cacti-spine-0.8.7a/LICENSE
cacti-spine-0.8.7a/aclocal.m4
cacti-spine-0.8.7a/php.c
cacti-spine-0.8.7a/php.h
cacti-spine-0.8.7a/sql.c
cacti-spine-0.8.7a/sql.h
cacti-spine-0.8.7a/README
cacti-spine-0.8.7a/README-WINDOWS
cacti-spine-0.8.7a/spine.conf
cacti-spine-0.8.7a/configure
cacti-spine-0.8.7a/libtool
cacti-spine-0.8.7a/LICENSE.LGPL
cacti-spine-0.8.7a/configure.ac
cacti-spine-0.8.7a/poller.c
cacti-spine-0.8.7a/poller.h
cacti-spine-0.8.7a/locks.c
cacti-spine-0.8.7a/locks.h
cacti-spine-0.8.7a/error.c
cacti-spine-0.8.7a/error.h
cacti-spine-0.8.7a/spine.c
cacti-spine-0.8.7a/spine.h
cacti-spine-0.8.7a/config/
cacti-spine-0.8.7a/config/depcomp
cacti-spine-0.8.7a/config/ltmain.sh
cacti-spine-0.8.7a/config/config.h.in~
cacti-spine-0.8.7a/config/config.guess
cacti-spine-0.8.7a/config/install-sh
cacti-spine-0.8.7a/config/config.sub
cacti-spine-0.8.7a/config/missing
cacti-spine-0.8.7a/config/config.h.in
cacti-spine-0.8.7a/config/stamp-h1
cacti-spine-0.8.7a/common.h
cacti-spine-0.8.7a/Makefile.am
cacti-spine-0.8.7a/Makefile.in
cacti-spine-0.8.7a/ping.c
cacti-spine-0.8.7a/ping.h
cacti-spine-0.8.7a/snmp.c
cacti-spine-0.8.7a/snmp.h
cacti-spine-0.8.7a/util.c
cacti-spine-0.8.7a/util.h
cacti-spine-0.8.7a/AUTHORS
cacti-spine-0.8.7a/INSTALL
cacti-spine-0.8.7a/ChangeLog
cacti-spine-0.8.7a/nft_popen.c
cacti-spine-0.8.7a/nft_popen.h
cacti-spine-0.8.7a/COPYING
cacti-spine-0.8.7a/keywords.c
cacti-spine-0.8.7a/keywords.h
[root@test cacti]# cd cacti-spine-0.8.7a
[root@test cacti-spine-0.8.7a]# ls
aclocal.m4 config error.c keywords.h locks.c NEWS php.h poller.h snmp.h sql.c
AUTHORS configure error.h libtool locks.h nft_popen.c ping.c README spine.c sql.h
ChangeLog configure.ac INSTALL LICENSE Makefile.am nft_popen.h ping.h README-WINDOWS spine.conf util.c
common.h COPYING keywords.c LICENSE.LGPL Makefile.in php.c poller.c snmp.c spine.h util.h
[root@test cacti-spine-0.8.7a]# less spine.c
[root@test cacti-spine-0.8.7a]# cp -a spine.c spine.c.bak.defaulte
[root@test cacti-spine-0.8.7a]# diff spine.c spine.c.bak
496c496
< if ((current_time - begin_time + .2) > poller_interval) {
---
> if ((current_time - begin_time + 6) > poller_interval) {
533c533
< if ((current_time - begin_time + .2) > poller_interval) {
---
> if ((current_time - begin_time + 6) > poller_interval) {
565c565
< if ((current_time - begin_time + .2) > poller_interval) {
---
> if ((current_time - begin_time + 6) > poller_interval) {
[root@test cacti-spine-0.8.7a]# cd config
[root@test config]# ll
æ€»ç”¨é‡ 56
lrwxrwxrwx 1 root root 31 12月 25 08:12 config.guess -> /usr/share/libtool/config.guess
-rw-r--r-- 1 root root 4856 11月 25 22:40 config.h.in
-rw-r--r-- 1 root root 4752 11月 25 22:40 config.h.in~
lrwxrwxrwx 1 root root 29 12月 25 08:12 config.sub -> /usr/share/libtool/config.sub
-rwxr-xr-x 1 root root 12517 11月 25 22:40 depcomp
-rwxr-xr-x 1 root root 5561 11月 25 22:40 install-sh
lrwxrwxrwx 1 root root 28 12月 25 08:12 ltmain.sh -> /usr/share/libtool/ltmain.sh
-rwxr-xr-x 1 root root 10280 11月 25 22:40 missing
-rw-r--r-- 1 root root 30 11月 25 22:40 stamp-h1
[root@test config]# rm -fr config.sub
[root@test config]# ln -s /usr/local/libtool/share/libtool/config.sub config.sub
[root@test config]# rm -fr config.guess
[root@test config]# ln -s /usr/local/libtool/share/libtool/config.guess config.guess
[root@test config]# rm -fr ltmain.sh
[root@test config]# ln -s /usr/local/libtool/share/libtool/ltmain.sh ltmain.sh
[root@test config]#
[root@test config]# ll
æ€»ç”¨é‡ 56
lrwxrwxrwx 1 root root 45 12月 25 08:15 config.guess -> /usr/local/libtool/share/libtool/config.guess
-rw-r--r-- 1 root root 4856 11月 25 22:40 config.h.in
-rw-r--r-- 1 root root 4752 11月 25 22:40 config.h.in~
lrwxrwxrwx 1 root root 43 12月 25 08:15 config.sub -> /usr/local/libtool/share/libtool/config.sub
-rwxr-xr-x 1 root root 12517 11月 25 22:40 depcomp
-rwxr-xr-x 1 root root 5561 11月 25 22:40 install-sh
lrwxrwxrwx 1 root root 42 12月 25 08:15 ltmain.sh -> /usr/local/libtool/share/libtool/ltmain.sh
-rwxr-xr-x 1 root root 10280 11月 25 22:40 missing
-rw-r--r-- 1 root root 30 11月 25 22:40 stamp-h1
[root@test config]# cd ..
[root@test cacti-spine-0.8.7a]# ./configure -prefix=/usr/local/spine --with-mysql=/usr/local/mysql
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... no
configure: error:
*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.22, ltmain.sh = 1.5.24) ***
Please run:
libtoolize --copy --force
if appropriate, please contact the maintainer of this
package (or your distribution) for help.
[root@test cacti-spine-0.8.7a]# aclocal
[root@test cacti-spine-0.8.7a]# /usr/local/libtool/bin/libtoolize --copy --force
You should update your `aclocal.m4' by running aclocal.
Putting files in AC_CONFIG_AUX_DIR, `config'.
[root@test cacti-spine-0.8.7a]# autoconf
[root@test cacti-spine-0.8.7a]# autoheader
[root@test cacti-spine-0.8.7a]# automake
[root@test cacti-spine-0.8.7a]# ./configure -prefix=/usr/local/spine --with-mysql=/usr/local/mysql
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking whether to enable -Wall... no
checking for gethostbyname in -lnsl... yes
checking for socket in -lsocket... no
checking for floor in -lm... yes
checking for pthread_exit in -lpthread... yes
checking for deflate in -lz... yes
checking for kstat_close in -lkstat... no
checking for CRYPTO_realloc in -lcrypto... yes
checking for ANSI C header files... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for signal.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/ip.h usability... yes
checking netinet/ip.h presence... yes
checking for netinet/ip.h... yes
checking netinet/ip_icmp.h usability... yes
checking netinet/ip_icmp.h presence... yes
checking for netinet/ip_icmp.h... yes
checking for unsigned long long... yes
checking for long long... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for malloc... yes
checking for calloc... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtoll... yes
checking for mysql_init in -lmysqlclient_r... yes
checking for mysql_thread_init in -lmysqlclient_r... yes
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for snmp_timeout in -lnetsnmp... yes
checking whether we are using nifty popen... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/config.h
config.status: executing depfiles commands
[root@test cacti-spine-0.8.7a]# make
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -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"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT spine.o -MD -MP -MF ".deps/spine.Tpo" -c -o spine.o spine.c; \
then mv -f ".deps/spine.Tpo" ".deps/spine.Po"; else rm -f ".deps/spine.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT snmp.o -MD -MP -MF ".deps/snmp.Tpo" -c -o snmp.o snmp.c; \
then mv -f ".deps/snmp.Tpo" ".deps/snmp.Po"; else rm -f ".deps/snmp.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT locks.o -MD -MP -MF ".deps/locks.Tpo" -c -o locks.o locks.c; \
then mv -f ".deps/locks.Tpo" ".deps/locks.Po"; else rm -f ".deps/locks.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT poller.o -MD -MP -MF ".deps/poller.Tpo" -c -o poller.o poller.c; \
then mv -f ".deps/poller.Tpo" ".deps/poller.Po"; else rm -f ".deps/poller.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT nft_popen.o -MD -MP -MF ".deps/nft_popen.Tpo" -c -o nft_popen.o nft_popen.c; \
then mv -f ".deps/nft_popen.Tpo" ".deps/nft_popen.Po"; else rm -f ".deps/nft_popen.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT php.o -MD -MP -MF ".deps/php.Tpo" -c -o php.o php.c; \
then mv -f ".deps/php.Tpo" ".deps/php.Po"; else rm -f ".deps/php.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT ping.o -MD -MP -MF ".deps/ping.Tpo" -c -o ping.o ping.c; \
then mv -f ".deps/ping.Tpo" ".deps/ping.Po"; else rm -f ".deps/ping.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT keywords.o -MD -MP -MF ".deps/keywords.Tpo" -c -o keywords.o keywords.c; \
then mv -f ".deps/keywords.Tpo" ".deps/keywords.Po"; else rm -f ".deps/keywords.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
/bin/sh ./libtool --mode=link --tag=CC gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -L/usr/lib -L/usr/local/mysql/lib -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -lnetsnmp -lmysqlclient_r -lmysqlclient_r -lcrypto -lz -lpthread -lm -lnsl
mkdir .libs
gcc -I/usr/include/net-snmp -I/usr/include/net-snmp/.. -I/usr/local/mysql/include -g -O2 -o spine sql.o spine.o util.o snmp.o locks.o poller.o nft_popen.o php.o ping.o keywords.o error.o -L/usr/lib -L/usr/local/mysql/lib /usr/lib/libnetsnmp.so -lmysqlclient_r -lcrypto -lz -lpthread -lm -lnsl
[root@test cacti-spine-0.8.7a]# make install
make[1]: Entering directory `/root/confidential/freeke/cacti/cacti-spine-0.8.7a'
test -z "/usr/local/spine/bin" || mkdir -p -- "/usr/local/spine/bin"
/bin/sh ./libtool --mode=install /usr/bin/install -c 'spine' '/usr/local/spine/bin/spine'
/usr/bin/install -c spine /usr/local/spine/bin/spine
test -z "/usr/local/spine/etc" || mkdir -p -- "/usr/local/spine/etc"
/usr/bin/install -c -m 644 'spine.conf' '/usr/local/spine/etc/spine.conf'
make[1]: Leaving directory `/root/confidential/freeke/cacti/cacti-spine-0.8.7a'
[root@test local]# /usr/local/spine/bin/spine
12/25/2007 08:19:16 AM - SPINE: Poller[0] FATAL: Unable to read configuration file! (Spine init)
[root@test local]# cd /usr/local/spine/bin/
[root@test bin]# ./spine
SPINE: Using spine config file [../etc/spine.conf]
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_webroot''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_cactilog''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The path_php_server variable is /usr/local/apache/htdocs/cacti/script_server.php
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The path_cactilog variable is /usr/local/apache/htdocs/cacti/log/cacti.log
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_destination''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The log_destination variable is 2 (BOTH)
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'path_php_binary''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The path_php variable is /usr/bin/php
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'availability_method''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_recovery_count''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_failure_count''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_method''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The ping_method variable is 1
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_retries''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'ping_timeout''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 500
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_perror''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_pwarn''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 1
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'log_pstats''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The log_pstats variable is 1
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'max_threads''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The threads variable is 1
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'poller_interval''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The polling interval is 10 seconds
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'concurrent_processes''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'script_timeout''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The script timeout is 25
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'php_servers''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT action FROM poller_item WHERE action=2 LIMIT 1'
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='0'
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT value FROM settings WHERE name = 'max_get_size''
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 10
12/25/2007 08:19:24 AM - SPINE: Poller[0] Version 0.8.7b starting
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
12/25/2007 08:19:24 AM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SNMP Header Version is 5.1.2
12/25/2007 08:19:24 AM - SPINE: Poller[0] DEBUG: SNMP Library Version is 5.1.2
12/25/2007 08:19:25 AM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT id FROM host WHERE disabled='' ORDER BY id'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT snmp_port, count(snmp_port) FROM poller_item WHERE host_id=0 AND rrd_next_step < 0 GROUP BY snmp_port'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT action, hostname, snmp_community, snmp_version, snmp_username, snmp_password, rrd_name, rrd_path, arg1, arg2, arg3, local_data_id, rrd_num, snmp_port, snmp_timeout, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context FROM poller_item WHERE host_id=0 and rrd_next_step <=0 ORDER by snmp_port'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_next_step-10 WHERE host_id=0'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_step-10 WHERE rrd_next_step < 0 and host_id=0'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[0] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT id, hostname, snmp_community, snmp_version, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, snmp_port, snmp_timeout, max_oids, availability_method, ping_method, ping_port, ping_timeout, ping_retries, status, status_event_count, status_fail_date, status_rec_date, status_last_error, min_time, max_time, cur_time, avg_time, total_polls, failed_polls, availability FROM host WHERE id=2'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[2] PING Result: ICMP: Host is Alive
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[2] SNMP Result: SNMP not performed due to setting or ping result
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE host SET status='3', status_event_count='0', status_fail_date='2007-12-10 06:25:06', status_rec_date='0000-00-00 00:00:00', status_last_error='SNMP not performed due to setting or ping result., ICMP ping Timed out', min_time='0.009550', max_time='5281.880000', cur_time='0.700950', avg_time='70.711381', total_polls='13896', failed_polls='1', availability='99.9928' WHERE id='2''
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT data_query_id, action, op, assert_value, arg1 FROM poller_reindex WHERE host_id=2'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[2] RECACHE: Processing 1 items in the auto reindex cache for '10.167.24.2'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_reindex SET assert_value='51673711' WHERE host_id='2' AND data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0''
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT snmp_port, count(snmp_port) FROM poller_item WHERE host_id=2 AND rrd_next_step < 0 GROUP BY snmp_port'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT action, hostname, snmp_community, snmp_version, snmp_username, snmp_password, rrd_name, rrd_path, arg1, arg2, arg3, local_data_id, rrd_num, snmp_port, snmp_timeout, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context FROM poller_item WHERE host_id=2 and rrd_next_step <=0 ORDER by snmp_port'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_next_step-10 WHERE host_id=2'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_step-10 WHERE rrd_next_step < 0 and host_id=2'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[2] DS[17] SNMP: v2: 10.167.24.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, value: 64
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[2] DS[17] SNMP: v2: 10.167.24.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, value: 852
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (17,'traffic_in','2007-12-25 08:19:25','64'),(17,'traffic_out','2007-12-25 08:19:25','852')'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[2] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT id, hostname, snmp_community, snmp_version, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, snmp_port, snmp_timeout, max_oids, availability_method, ping_method, ping_port, ping_timeout, ping_retries, status, status_event_count, status_fail_date, status_rec_date, status_last_error, min_time, max_time, cur_time, avg_time, total_polls, failed_polls, availability FROM host WHERE id=3'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[3] PING Result: ICMP: Host is Alive
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[3] SNMP Result: SNMP not performed due to setting or ping result
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE host SET status='3', status_event_count='0', status_fail_date='2007-12-07 06:45:07', status_rec_date='0000-00-00 00:00:00', status_last_error='SNMP not performed due to setting or ping result., ICMP ping Timed out', min_time='0.008990', max_time='762.535000', cur_time='0.647995', avg_time='42.351811', total_polls='13864', failed_polls='2', availability='99.9856' WHERE id='3''
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT data_query_id, action, op, assert_value, arg1 FROM poller_reindex WHERE host_id=3'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '192.168.0.3'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_reindex SET assert_value='51673506' WHERE host_id='3' AND data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0''
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT snmp_port, count(snmp_port) FROM poller_item WHERE host_id=3 AND rrd_next_step < 0 GROUP BY snmp_port'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT action, hostname, snmp_community, snmp_version, snmp_username, snmp_password, rrd_name, rrd_path, arg1, arg2, arg3, local_data_id, rrd_num, snmp_port, snmp_timeout, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context FROM poller_item WHERE host_id=3 and rrd_next_step <=0 ORDER by snmp_port'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_next_step-10 WHERE host_id=3'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'UPDATE poller_item SET rrd_next_step=rrd_step-10 WHERE rrd_next_step < 0 and host_id=3'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[3] DS[47] SNMP: v2: 192.168.0.3, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.18, value: 3518119022
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[3] DS[47] SNMP: v2: 192.168.0.3, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.18, value: 3809931920
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'INSERT INTO poller_output (local_data_id, rrd_name, time, output) VALUES (47,'traffic_in','2007-12-25 08:19:25','3518119022'),(47,'traffic_out','2007-12-25 08:19:25','3809931920')'
12/25/2007 08:19:25 AM - SPINE: Poller[0] Host[3] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: SQL:'SELECT id, hostname, snmp_community, snmp_version, snmp_username, snmp_password, snmp_auth_protocol, snmp_priv_passphrase, snmp_priv_protocol, snmp_context, snmp_port, snmp_timeout, max_oids, availability_method, ping_method, ping_port, ping_timeout, ping_retries, status, status_event_count, status_fail_date, status_rec_date, status_last_error, min_time, max_time, cur_time, avg_time, total_polls, failed_polls, availability FROM host WHERE id=4'
12/25/2007 08:19:25 AM - SPINE: Poller[0] DEBUG: Valid T
Last edited by myfreeke on Mon Dec 24, 2007 9:43 pm, edited 1 time in total.
|