[Nagios-devel] ndo2db problems on solaris 10 (ndoutils 1.4b7)
Posted: Wed Feb 27, 2008 5:18 am
Hi everybody,
i've installed nagios 3.0rc2, ndoutils 1.47b and mysql.
root@nagios_1 # /usr/local/mysql/libexec/mysqld --version
/usr/local/mysql/libexec/mysqld Ver 5.0.51 for sun-solaris2.10 on sparc
(Source distribution)
nagios.log:
[1204117464] Nagios 3.0rc2 starting... (PID=5879)
[1204117464] Local time is Wed Feb 27 14:04:24 CET 2008
[1204117464] LOG VERSION: 2.0
[1204117464] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007
Ethan Galstad ([email protected])
[1204117464] ndomod: Successfully connected to data sink. 0 queued items
to flush.
[1204117464] Event broker module '/usr/local/nagios/ndo/ndomod.o'
initialized successfully.
[1204117464] ndomod: Error writing to data sink! Some output may get lost...
[1204117464] Finished daemonizing... (New PID=5881)
[1204117480] ndomod: Still unable to reconnect to data sink. 0 items
lost, 274 queued items to flush.
[1204117496] ndomod: Successfully reconnected to data sink! 0 items lost,
362 queued items to flush.
[1204117496] ndomod: Error writing to data sink! Some output may get
lost. 352 queued items to flush.
[1204117512] ndomod: Still unable to reconnect to data sink. 0 items
lost, 424 queued items to flush.
ndo2db was running but died imediately when ndomod.o tries to write data
to it.
the "Successfully reconnected to data sink!" line comes from a restart of
ndo2db but the process died again imediately.
when i have ndo2db running on a linux system everthing works fine (via tcp
socket of course):
solaris 10 host:
nagios with ndomod.o
mysql
linux host (ubuntu 7.10):
ndo2db
dataflow:
Solaris Host | linux host | Solaris Host
nagios -> ndomod.o -> ndo2db -> mysql
truss of ndo2db (the -f option follows all children created by fork() or
vfork()):
root@nagios_1 # truss -f -p 6405
6405: accept(5, 0xFFBFF554, 0xFFBFF564, SOV_DEFAULT) (sleeping...)
6405: accept(5, 0xFFBFF554, 0xFFBFF564, SOV_DEFAULT) = 6
6405: schedctl() = 0xFECA8000
6405: fork1() = 6419
6405: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
6419: fork1() (returning as child ...) = 6405
6419: getpid() = 6419 [6405]
6405: close(6) = 0
6419: lwp_self() = 1
6419: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
6419: llseek(3, 0, SEEK_CUR) = 0
6419: close(3) = 0
6419: open("/usr/local/nagios/var/ndo2db.debug",
O_RDWR|O_APPEND|O_CREAT, 0666) = 3
6419: sigaction(SIGQUIT, 0xFFBFED80, 0xFFBFEE20) = 0
6419: sigaction(SIGTERM, 0xFFBFED80, 0xFFBFEE20) = 0
6419: sigaction(SIGINT, 0xFFBFED80, 0xFFBFEE20) = 0
6419: sigaction(SIGSEGV, 0xFFBFED80, 0xFFBFEE20) = 0
6419: sigaction(SIGFPE, 0xFFBFED80, 0xFFBFEE20) = 0
6419: open("/etc/netconfig", O_RDONLY|O_LARGEFILE) = 7
6419: fcntl(7, F_DUPFD, 0x00000100) Err#22 EINVAL
6419: read(7, " # p r a g m a i d e n".., 1024) = 1024
6419: read(7, " t s t p i _ c".., 1024) = 215
6419: read(7, 0x000400E0, 1024) = 0
6419: lseek(7, 0, SEEK_SET) = 0
6419: read(7, " # p r a g m a i d e n".., 1024) = 1024
6419: read(7, " t s t p i _ c".., 1024) = 215
6419: read(7, 0x000400E0, 1024) = 0
6419: close(7) = 0
6419: open("/dev/udp", O_RDONLY) = 7
6419: ioctl(7, SIOCGLIFNUM, 0xFFBFEBD4) = 0
6419: close(7) = 0
6419: getuid() = 100 [100]
6419: getuid() = 100 [100]
6419: door_info(4, 0xFFBFE8E0) = 0
6419: door_call(4, 0xFFBFE988) = 0
6419: sigaction(SIGPIPE, 0xFFBFEC40, 0xFFBFECE0)
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
i've installed nagios 3.0rc2, ndoutils 1.47b and mysql.
root@nagios_1 # /usr/local/mysql/libexec/mysqld --version
/usr/local/mysql/libexec/mysqld Ver 5.0.51 for sun-solaris2.10 on sparc
(Source distribution)
nagios.log:
[1204117464] Nagios 3.0rc2 starting... (PID=5879)
[1204117464] Local time is Wed Feb 27 14:04:24 CET 2008
[1204117464] LOG VERSION: 2.0
[1204117464] ndomod: NDOMOD 1.4b7 (10-31-2007) Copyright (c) 2005-2007
Ethan Galstad ([email protected])
[1204117464] ndomod: Successfully connected to data sink. 0 queued items
to flush.
[1204117464] Event broker module '/usr/local/nagios/ndo/ndomod.o'
initialized successfully.
[1204117464] ndomod: Error writing to data sink! Some output may get lost...
[1204117464] Finished daemonizing... (New PID=5881)
[1204117480] ndomod: Still unable to reconnect to data sink. 0 items
lost, 274 queued items to flush.
[1204117496] ndomod: Successfully reconnected to data sink! 0 items lost,
362 queued items to flush.
[1204117496] ndomod: Error writing to data sink! Some output may get
lost. 352 queued items to flush.
[1204117512] ndomod: Still unable to reconnect to data sink. 0 items
lost, 424 queued items to flush.
ndo2db was running but died imediately when ndomod.o tries to write data
to it.
the "Successfully reconnected to data sink!" line comes from a restart of
ndo2db but the process died again imediately.
when i have ndo2db running on a linux system everthing works fine (via tcp
socket of course):
solaris 10 host:
nagios with ndomod.o
mysql
linux host (ubuntu 7.10):
ndo2db
dataflow:
Solaris Host | linux host | Solaris Host
nagios -> ndomod.o -> ndo2db -> mysql
truss of ndo2db (the -f option follows all children created by fork() or
vfork()):
root@nagios_1 # truss -f -p 6405
6405: accept(5, 0xFFBFF554, 0xFFBFF564, SOV_DEFAULT) (sleeping...)
6405: accept(5, 0xFFBFF554, 0xFFBFF564, SOV_DEFAULT) = 6
6405: schedctl() = 0xFECA8000
6405: fork1() = 6419
6405: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
6419: fork1() (returning as child ...) = 6405
6419: getpid() = 6419 [6405]
6405: close(6) = 0
6419: lwp_self() = 1
6419: lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF
[0x0000FFFF]
6419: llseek(3, 0, SEEK_CUR) = 0
6419: close(3) = 0
6419: open("/usr/local/nagios/var/ndo2db.debug",
O_RDWR|O_APPEND|O_CREAT, 0666) = 3
6419: sigaction(SIGQUIT, 0xFFBFED80, 0xFFBFEE20) = 0
6419: sigaction(SIGTERM, 0xFFBFED80, 0xFFBFEE20) = 0
6419: sigaction(SIGINT, 0xFFBFED80, 0xFFBFEE20) = 0
6419: sigaction(SIGSEGV, 0xFFBFED80, 0xFFBFEE20) = 0
6419: sigaction(SIGFPE, 0xFFBFED80, 0xFFBFEE20) = 0
6419: open("/etc/netconfig", O_RDONLY|O_LARGEFILE) = 7
6419: fcntl(7, F_DUPFD, 0x00000100) Err#22 EINVAL
6419: read(7, " # p r a g m a i d e n".., 1024) = 1024
6419: read(7, " t s t p i _ c".., 1024) = 215
6419: read(7, 0x000400E0, 1024) = 0
6419: lseek(7, 0, SEEK_SET) = 0
6419: read(7, " # p r a g m a i d e n".., 1024) = 1024
6419: read(7, " t s t p i _ c".., 1024) = 215
6419: read(7, 0x000400E0, 1024) = 0
6419: close(7) = 0
6419: open("/dev/udp", O_RDONLY) = 7
6419: ioctl(7, SIOCGLIFNUM, 0xFFBFEBD4) = 0
6419: close(7) = 0
6419: getuid() = 100 [100]
6419: getuid() = 100 [100]
6419: door_info(4, 0xFFBFE8E0) = 0
6419: door_call(4, 0xFFBFE988) = 0
6419: sigaction(SIGPIPE, 0xFFBFEC40, 0xFFBFECE0)
...[email truncated]...
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]