Electricity Bill Calculator

Electricity Bill Calculator

Electricity Bill Cost Calculator. Electricity Usage Consumption Calculator.

Select Country:  
Typical Appliance:
Power Consumption:
Hours Of Use Per Day: Hrs/Day
One Unit Cost (1 kWh ):
 
Electricity Cost Per Day:  
Electricity Cost Per Month:  
Electricity Cost Per Year:  

Note:- 1 Unit = 1 kwh (Kilo Watt Hour)

HTML tutorial

EBC-Ads

Social Message

Friday, June 29, 2018

Nagios ndomod Still unable to connect to data sink Error

Nagios ndomod Still unable to connect to data sink Error


Nagios Error Code:-

[root@eznag log]# tail -f messages
Jun 17 03:51:44 eznag nagios: ndomod: Still unable to connect to data sink.  3585388 items lost, 5000 queued items to flush.
Jun 17 03:52:00 eznag nagios: ndomod: Still unable to connect to data sink.  3585561 items lost, 5000 queued items to flush.
Jun 17 03:52:16 eznag nagios: ndomod: Still unable to connect to data sink.  3585774 items lost, 5000 queued items to flush.
Jun 17 03:52:32 eznag nagios: ndomod: Still unable to connect to data sink.  3585877 items lost, 5000 queued items to flush.
Jun 17 03:52:48 eznag nagios: ndomod: Still unable to connect to data sink.  3585970 items lost, 5000 queued items to flush.

Resolution:-

Run below Linux commands.

[root@eznag log]#service nagios stop

Delete the sock file.
[root@eznag log]#rm /usr/local/nagios/var/ndo.sock

[root@eznag log]#service nagios start

Check logs, It will stop "Still unable to connect to data sink" error logs.

[root@eznag log]# tail -f messages
Jun 23 16:31:43 eznag nagios: ndomod: Successfully connected to data sink.  8 queued items to flush.
Jun 23 16:31:43 eznag nagios: ndomod: Successfully flushed 8 queued items to data sink.
Jun 23 16:31:43 eznag nagios: Event broker module '/usr/local/nagios/bin/ndomod-3x.o' initialized successfully.
Jun 23 16:31:43 eznag nagios: npcdmod: Copyright (c) 2008-2009 Hendrik Baecker (andurin@process-zero.de) - http://www.pnp4nagios.org
Jun 23 16:31:43 eznag nagios: npcdmod: /usr/local/nagios/etc/npcd.cfg initialized
Jun 23 16:31:43 eznag nagios: npcdmod: spool_dir = '/usr/local/nagios/var/spool/'.
Jun 23 16:31:43 eznag nagios: npcdmod: perfdata file '/usr/local/nagios/var/perfdata.dump'.
Jun 23 16:31:43 eznag nagios: npcdmod: Ready to run to have some fun!
Jun 23 16:31:43 eznag nagios: Event broker module '/usr/local/nagios/lib/npcdmod.o' initialized successfully.
Jun 23 16:31:43 eznag nagios: Finished daemonizing... (New PID=10457)

No comments:

Post a Comment