Antwort: Error writing to data sink!
Kaushal Shriyan
kaushalshriyan at gmail.com
Sat Jul 12 09:09:57 CEST 2008
On Sat, Jul 12, 2008 at 12:20 PM, Hendrik BŠäcker <andurin at process-zero.de>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> |
> | Please let me know if you need any additional information from me.
> |
> | Thanks and Regards
> |
> | Kaushal
> |
>
> What about version numbers?
> Are you realy using nagios-2.x?
> Are you using the latest ndoutils?
> Did you already tried to change from unix socket to tcp socket (f.e.) to
> decide if it's a u-socket problem?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
>
> iEYEARECAAYFAkh4VDwACgkQlI0PwfxLQjnvGwCfXY3P5q+qyaPm/yCXli7Vr99b
> +AMAn3+5HBD6X32KhQ5XhbIJ00NzyK1u
> =nqYZ
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> Nagios-devel mailing list
> Nagios-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-devel
>
$ nagios --version
Nagios 2.9
Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org)
Last Modified: 04-10-2007
[I--] [ ] net-analyzer/ndoutils-1.4_beta5 (0)
$ ps -aef | grep ndo2db
nagios 1410 12707 0 23:11 ? 00:00:02 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios 6701 12707 0 23:47 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios 12707 1 0 05:26 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios 12735 12707 0 23:49 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios 17571 12707 0 23:39 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios 23492 12707 0 23:53 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
nagios 27367 12707 0 23:54 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
kaushal 30304 16831 0 23:56 pts/0 00:00:00 grep --colour=auto ndo2db
$ sudo fuser /var/nagios/ndo.sock
/var/nagios/ndo.sock: 1410 12707 12735 17571 23492 27367 30875
$
I have set it to socket_type=tcp in "/etc/nagios/ndo2db.cfg", I still get
the below error
Still the below errors appear.
[1215846187] ndomod: Still unable to reconnect to data sink. 0 items lost,
1768 queued items to flush.
[1215846187] ndomod: Still unable to reconnect to data sink. 0 items lost,
2619 queued items to flush.
[1215846188] ndomod: Still unable to reconnect to data sink. 0 items lost,
2195 queued items to flush.
[1215846188] ndomod: Still unable to reconnect to data sink. 0 items lost,
2369 queued items to flush.
when i set it to socket_type=tcp, i get single instance of ndo2db
$ ps -aef | grep ndo2db
nagios 9156 1 0 Jul11 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c
/etc/nagios/ndo2db.cfg
kaushal 22279 16831 0 00:04 pts/0 00:00:00 grep --colour=auto ndo2db
$
Expecting your earnest reply.
Thanks and Regards
Kaushal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20080712/76f02a6f/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel
More information about the Developers
mailing list