R: Ndoutils block nagios
Abdessamad BARAKAT
abdessamad at barakat.fr
Wed Jun 2 17:20:56 CEST 2010
The unix socket ndo.sock is removed automatically when I stop ndo.
for information, my ndomod.cfg:
instance_name=Central
output_type=unixsocket
output=/var/cache/nagios3/ndoutils.sock
tcp_port=5669
output_buffer_items=5000
buffer_file=/var/cache/nagios3/ndoutils_mod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
data_processing_options=-1
config_output_options=3
Thanks again for your help
Bertinelli Massimo a écrit :
> I risolve the same problem using this method:
> stop ndo and nagios
> deleting the file ndo.sock on nagios/var directory
> Start ndo and nagios
> Bye
> Max
>
> ----- Messaggio originale -----
> Da: Abdessamad BARAKAT <abdessamad at barakat.fr>
> A: nagios-users at lists.sourceforge.net <nagios-users at lists.sourceforge.net>
> Inviato: Wed Jun 02 13:42:12 2010
> Oggetto: [Nagios-users] Ndoutils block nagios
>
> Hi,
>
> After a electrical crash, I have a problem with ndoutils, nagios start
> and works correctly when ndo2db isn't started .
>
> When I start ndo2db, nagios blocks.
>
> When ndo2db is started , nagios connect to ndo2db:
>
> [1275478646] ndomod: Successfully reconnected to data sink! 113098
> items lost, 5000 queued items to flush.
>
> I see this activity on the process nagios with strace:
>
> [pid 18603] write(7, "\n400:\n4=1275477698.622212\n174=MAW"..., 588
> <unfinished ...>
> [pid 18604] <... poll resumed> ) = 0 (Timeout)
> [pid 18604] poll([{fd=4, events=POLLIN}], 1, 500) = 0 (Timeout)
> [pid 18604] poll([{fd=4, events=POLLIN}], 1, 500) = 0 (Timeout)
> [pid 18604] poll([{fd=4, events=POLLIN}], 1, 500) = 0 (Timeout)
> [pid 18604] poll([{fd=4, events=POLLIN}], 1, 500) = 0 (Timeout)
>
> Before the electrical crash , all is ok.
>
> I use :
>
> - nagios 3.0.6
> - NDOMOD 1.4b7 (10-31-2007)
>
> Many thanks for any help / information
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list