Nagios 4.0.8 not working with ndoutils 2.0

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
anshul
Posts: 5
Joined: Wed Aug 27, 2014 11:17 am

Nagios 4.0.8 not working with ndoutils 2.0

Post by anshul »

HI I have succesfully installed nagios 4.0.8 on centos 7.
also i have installed ndoutils 2.0 as well. ndoutils starts with no problems so deos nagios but nagios is somehow not picking up ndoutils and is not populating the mysql database.
I have tried both the version 3x and 4x of ndo2db and ndomod.
also there is nothing related to ndomod in the log files of nagios.
Please help. have banged my head for three days on it.
please do let me know what config files you would want to take a look into and i will post the same here.

Any help will be appriciated!!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by abrist »

Please post your ndo2db.cfg and ndomod.cfg.

Additionally, you may want to increase the debug/log level in those config, restart ndo2db and nagios, wait 5-10 minutes, and then post a tail of the logs:

Code: Select all

tail -50 /usr/local/nagios/var/ndo2db.debug
tail -50 /usr/local/nagios/var/ndomod.tmp
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
anshul
Posts: 5
Joined: Wed Aug 27, 2014 11:17 am

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by anshul »

hI ABRIST,

Ndo2db.cfg

lock_file=/usr/local/nagios/var/ndo2db.lock
ndo2db_user=nagios
ndo2db_group=nagios
socket_type=unix
socket_name=/usr/local/nagios/var/ndo.sock
tcp_port=5668
use_ssl=0
db_servertype=mysql
db_host=localhost
db_port=3306
db_name=nagios
db_prefix=nagios_
db_user=nagios
db_pass=nagiossecret
max_timedevents_age=1440
max_systemcommands_age=10080
max_servicechecks_age=10080
max_hostchecks_age=10080
max_eventhandlers_age=44640
max_externalcommands_age=44640
max_notifications_age=44640
max_contactnotifications=44640
max_contactnotificationmethods=44640
max_logentries_age=129600
max_acknowledgements_age=44640
debug_level=0
debug_verbosity=1
debug_file=/usr/local/nagios/var/ndo2db.debug
max_debug_file_size=1000000

ndomod.cfg

instance_name=default
output_type=unixsocket
output=/usr/local/nagios/var/ndo.sock
tcp_port=5668
use_ssl=0
output_buffer_items=5000
buffer_file=/usr/local/nagios/var/ndomod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
acknowledgement_data=1
adaptive_contact_data=1
adaptive_host_data=1
adaptive_program_data=1
adaptive_service_data=1
aggregated_status_data=1
comment_data=1
contact_status_data=1
downtime_data=1
event_handler_data=1
external_command_data=1
flapping_data=1
host_check_data=1
host_status_data=1
log_data=1
main_config_data=1
notification_data=1
object_config_data=1
process_data=1
program_status_data=1
retention_data=1
service_check_data=1
service_status_data=1
statechange_data=1
system_command_data=1
timed_event_data=1
config_output_options=2



I have increased the debug level to -1 to include everything.

there is nothing ndo2db.debug and file ndomod.tmp does not exists.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by slansing »

Can you run the following:

Code: Select all

service nagios restart
Then:

Code: Select all

tail -50 /usr/local/nagios/var/nagios.log
It may be that the module is failing to load, which you may have missed when you looked in there previously. Can we also see how you have your ndo module defined in the nagios.cfg file?
anshul
Posts: 5
Joined: Wed Aug 27, 2014 11:17 am

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by anshul »

here is the nagios.log

[root@localhost var]# tail -50 /usr/local/nagios/var/nagios.log
[1409148507] HOST NOTIFICATION: nagiosadmin;hplj2605dn;DOWN;notify-host-by-email;CRITICAL - Host Unreachable (192.168.1.30)
[1409148844] HOST NOTIFICATION: nagiosadmin;NPWDS01;DOWN;notify-host-by-email;PING CRITICAL - Packet loss = 100%
[1409148927] HOST NOTIFICATION: nagiosadmin;NPDC01;DOWN;notify-host-by-email;PING CRITICAL - Packet loss = 100%
[1409149439] wproc: Core Worker 2458: job 1953 (pid=5183) timed out. Killing it
[1409149439] wproc: CHECK job 1953 from worker Core Worker 2458 timed out after 30.02s
[1409149439] wproc: host=NPDC01; service=(null);
[1409149439] wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
[1409149439] Warning: Check of host 'NPDC01' timed out after 30.02 seconds
[1409149439] wproc: Core Worker 2458: job 1953 (pid=5183): Dormant child reaped
[1409149444] wproc: Core Worker 2460: job 1953 (pid=5187) timed out. Killing it
[1409149444] wproc: CHECK job 1953 from worker Core Worker 2460 timed out after 30.02s
[1409149444] wproc: host=NPWDS01; service=(null);
[1409149444] wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
[1409149444] Warning: Check of host 'NPWDS01' timed out after 30.02 seconds
[1409149444] wproc: Core Worker 2460: job 1953 (pid=5187): Dormant child reaped
[1409150008] HOST NOTIFICATION: nagiosadmin;linksys-srw224p;DOWN;notify-host-by-email;CRITICAL - Host Unreachable (192.168.1.253)
[1409150044] wproc: Core Worker 2458: job 1968 (pid=6249) timed out. Killing it
[1409150044] wproc: CHECK job 1968 from worker Core Worker 2458 timed out after 30.02s
[1409150044] wproc: host=NPWDS01; service=(null);
[1409150044] wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
[1409150044] Warning: Check of host 'NPWDS01' timed out after 30.02 seconds
[1409150044] wproc: Core Worker 2458: job 1968 (pid=6249): Dormant child reaped
[1409150307] HOST NOTIFICATION: nagiosadmin;hplj2605dn;DOWN;notify-host-by-email;CRITICAL - Host Unreachable (192.168.1.30)
[1409150644] HOST NOTIFICATION: nagiosadmin;NPWDS01;DOWN;notify-host-by-email;PING CRITICAL - Packet loss = 100%
[1409150727] HOST NOTIFICATION: nagiosadmin;NPDC01;DOWN;notify-host-by-email;PING CRITICAL - Packet loss = 100%
[1409150991] Auto-save of retention data completed successfully.
[1409151238] wproc: Core Worker 2457: job 1996 (pid=6564) timed out. Killing it
[1409151238] wproc: CHECK job 1996 from worker Core Worker 2457 timed out after 30.02s
[1409151238] wproc: host=NPDC01; service=(null);
[1409151238] wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
[1409151238] Warning: Check of host 'NPDC01' timed out after 30.02 seconds
[1409151238] wproc: Core Worker 2457: job 1996 (pid=6564): Dormant child reaped
[1409151808] HOST NOTIFICATION: nagiosadmin;linksys-srw224p;DOWN;notify-host-by-email;CRITICAL - Host Unreachable (192.168.1.253)
[1409151838] wproc: Core Worker 2459: job 2011 (pid=7643) timed out. Killing it
[1409151838] wproc: CHECK job 2011 from worker Core Worker 2459 timed out after 30.02s
[1409151838] wproc: host=NPDC01; service=(null);
[1409151838] wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
[1409151838] Warning: Check of host 'NPDC01' timed out after 30.02 seconds
[1409151838] wproc: Core Worker 2459: job 2011 (pid=7643): Dormant child reaped
[1409151844] wproc: Core Worker 2457: job 2011 (pid=7647) timed out. Killing it
[1409151844] wproc: CHECK job 2011 from worker Core Worker 2457 timed out after 30.02s
[1409151844] wproc: host=NPWDS01; service=(null);
[1409151844] wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
[1409151844] Warning: Check of host 'NPWDS01' timed out after 30.02 seconds
[1409151844] wproc: Core Worker 2457: job 2011 (pid=7647): Dormant child reaped
[1409152109] HOST NOTIFICATION: nagiosadmin;hplj2605dn;DOWN;notify-host-by-email;CRITICAL - Host Unreachable (192.168.1.30)
[1409152386] Caught SIGTERM, shutting down...
[1409152386] Caught SIGHUP, restarting...
[1409152387] Successfully shutdown... (PID=2456)
[1409152387] Event broker module 'NERD' deinitialized successfully.


nagios.cfg:


# EVENT BROKER OPTIONS
# Controls what (if any) data gets sent to the event broker.
# Values: 0 = Broker nothing
# -1 = Broker everything
# <other> = See documentation

event_broker_options=-1



# EVENT BROKER MODULE(S)
# This directive is used to specify an event broker module that should
# by loaded by Nagios at startup. Use multiple directives if you want
# to load more than one module. Arguments that should be passed to
# the module at startup are seperated from the module path by a space.
#
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING
#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
#
# Do NOT overwrite modules while they are being used by Nagios or Nagios
# will crash in a fiery display of SEGFAULT glory. This is a bug/limitation
# either in dlopen(), the kernel, and/or the filesystem. And maybe Nagios...
#
# The correct/safe way of updating a module is by using one of these methods:
# 1. Shutdown Nagios, replace the module file, restart Nagios
# 2. Delete the original module file, move the new module file into place, restart Nagios
#
# Example:
#
# broker_module=<modulepath> [moduleargs]

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by abrist »

We need to see the nagios.log from the point where nagios is restarted. Run the following on one terminal:

Code: Select all

tail -f /usr/local/nagios/var/nagios.log > /tmp/nagios_log.txt
Then, on another terminal, restart nagios:

Code: Select all

service nagios restart
Wait a few minutes, kill the tail with ctrl-c, and then post the contents of /tmp/nagios_log.txt
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bruno
Posts: 3
Joined: Fri Nov 14, 2014 12:32 pm

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by bruno »

Hey i have the same problem! someone have a solution?


Cumps

Bruno
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by abrist »

Just because problems are similar, does not mean that they are the same. Can you post in more detail about what you are experiencing and the necessary examples/etc for you issue?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
bruno
Posts: 3
Joined: Fri Nov 14, 2014 12:32 pm

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by bruno »

nagios.cfg

Code: Select all

log_file=/usr/local/nagios/var/nagios.log

cfg_file=/usr/local/nagios/etc/objects/commands.cfg
cfg_file=/usr/local/nagios/etc/objects/contacts.cfg
cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg
cfg_file=/usr/local/nagios/etc/objects/templates.cfg

# Definitions for monitoring the local (Linux) host
cfg_file=/usr/local/nagios/etc/objects/localhost.cfg

# Definitions for monitoring a Windows machine
cfg_file=/usr/local/nagios/etc/objects/windows.cfg

object_cache_file=/usr/local/nagios/var/objects.cache

precached_object_file=/usr/local/nagios/var/objects.precache
resource_file=/usr/local/nagios/etc/resource.cfg
status_file=/usr/local/nagios/var/status.dat
status_update_interval=10
nagios_user=nagios


nagios_group=nagios
check_external_commands=1
command_file=/usr/local/nagios/var/rw/nagios.cmd
query_socket=/usr/local/nagios/var/rw/nagios.qh
lock_file=/usr/local/nagios/var/nagios.lock


temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/tmp

event_broker_options=1

broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg

log_rotation_method=d
log_archive_path=/usr/local/nagios/var/archives
use_syslog=1

log_notifications=1
log_service_retries=1
log_host_retries=1

log_event_handlers=1
log_initial_states=0

log_current_states=1


log_external_commands=1



log_passive_checks=1
service_inter_check_delay_method=s




max_service_check_spread=30



service_interleave_factor=s

host_inter_check_delay_method=s




max_host_check_spread=30



max_concurrent_checks=0
check_result_reaper_frequency=10



max_check_result_reaper_time=30



check_result_path=/usr/local/nagios/var/spool/checkresults

max_check_result_file_age=3600


# check caching.

cached_host_check_horizon=15




cached_service_check_horizon=15


enable_predictive_host_dependency_checks=1





enable_predictive_service_dependency_checks=1



soft_state_dependencies=0

auto_reschedule_checks=0

auto_rescheduling_interval=30

auto_rescheduling_window=180

service_check_timeout=60
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5

retain_state_information=1

state_retention_file=/usr/local/nagios/var/retention.dat
retention_update_interval=60



# USE RETAINED PROGRAM STATE
# This setting determines whether or not Nagios will set
# program status variables based on the values saved in the
# retention file.  If you want to use retained program status
# information, set this value to 1.  If not, set this value
# to 0.

use_retained_program_state=1

use_retained_scheduling_info=0
retained_host_attribute_mask=0

# This mask determines what service attributes are not retained
retained_service_attribute_mask=0


retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0


retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0


interval_length=60


check_for_updates=1


bare_update_check=0


use_aggressive_host_checking=execute_service_checks=1


accept_passive_service_checks=1


execute_host_checks=1


accept_passive_host_checks=1
enable_notifications=1


enable_event_handlers=1



process_performance_data=1
obsess_over_services=0
obsess_over_hosts=0

translate_passive_host_checks=0



passive_host_checks_are_soft=0
check_for_orphaned_services=1
check_for_orphaned_hosts=1



check_service_freshness=1



service_freshness_check_interval=60
service_check_timeout_state=c



check_host_freshness=0



host_freshness_check_interval=60


additional_freshness_latency=15

enable_flap_detection=1



low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0


date_format=us
illegal_object_name_chars=`~!$%^&*|'"<>?,()=


illegal_macro_output_chars=`~$&|'"<>


use_regexp_matching=0
use_true_regexp_matching=0



admin_email=nagios@localhost
admin_pager=pagenagios@localhost




daemon_dumps_core=0
use_large_installation_tweaks=0
enable_environment_macros=1
debug_level=0
debug_verbosity=1
debug_file=/usr/local/nagios/var/nagios.debug
max_debug_file_size=1000000
allow_empty_hostgroup_assignment=0
ndo2o.cfg

Code: Select all

lock_file=/usr/local/nagios/var/ndo2db.lock
ndo2db_user=nagios
ndo2db_group=nagios

socket_type=tcp
tcp_port=5668
use_ssl=0
db_servertype=mysql
db_host=127.0.0.1
db_port=3306
db_name=nagios
db_prefix=nagios_

db_user=nagios
db_pass=nagios
# Keep timed events for 24 hours
max_timedevents_age=1440

# Keep system commands for 1 week
max_systemcommands_age=10080

# Keep service checks for 1 week
max_servicechecks_age=10080
# Keep event handlers for 31 days
max_eventhandlers_age=44640

# Keep external commands for 31 days
max_externalcommands_age=44640

# Keep notifications for 31 days
max_notifications_age=44640

# Keep contactnotifications for 31 days
max_contactnotifications=44640

# Keep contactnotificationmethods for 31 days
max_contactnotificationmethods=44640

# Keep logentries for 90 days
max_logentries_age=129600

# Keep acknowledgements for 31 days
max_acknowledgements_age=44640
debug_level=0
debug_verbosity=1
debug_file=/usr/local/nagios/var/ndo2db.debug
max_debug_file_size=1000000
ndomod.cfg

Code: Select all

instance_name=default
#output_type=file
output_type=tcpsocket
#output_type=unixsocket

output=/usr/local/nagios/var/ndo.dat
output=127.0.0.1
#output=/usr/local/nagios/var/ndo.sock

tcp_port=5668

use_ssl=0



# OUTPUT BUFFER
# This option determines the size of the output buffer, which will help
# prevent data from getting lost if there is a temporary disconnect from
# the data sink.  The number of items specified here is the number of
# lines (each of variable size) of output that will be buffered.

output_buffer_items=5000

buffer_file=/usr/local/nagios/var/ndomod.tmp



# FILE ROTATION INTERVAL
# This option determines how often (in seconds) the output file is
# rotated by Nagios.  File rotation is handled by Nagios by executing
# the command defined by the file_rotation_command option.  This
# option has no effect if the output_type option is a socket.

file_rotation_interval=14400
                                  
file_rotation_timeout=60



# RECONNECT INTERVAL
# This option determines how often (in seconds) that the NDO NEB
# module will attempt to re-connect to the output file or socket if
# a connection to it is lost.

reconnect_interval=15



# RECONNECT WARNING INTERVAL
# This option determines how often (in seconds) a warning message will
# be logged to the Nagios log file if a connection to the output file
# or socket cannot be re-established.

reconnect_warning_interval=15
#reconnect_warning_interval=900
# These options determine what data the NDO NEB Module will process
#
acknowledgement_data=1
adaptive_contact_data=1
adaptive_host_data=1
adaptive_program_data=1
adaptive_service_data=1
aggregated_status_data=1
comment_data=1
contact_status_data=1
downtime_data=1
event_handler_data=1
external_command_data=1
flapping_data=1
host_check_data=1
host_status_data=1
log_data=1
main_config_data=1
notification_data=1
object_config_data=1
process_data=1
program_status_data=1
retention_data=1
service_check_data=1
service_status_data=1
statechange_data=1
system_command_data=1
timed_event_data=1

config_output_options=2
/var/log/messages

Code: Select all

Nov 17 09:37:53 srvldtc-nagios-ws nagios: Nagios 4.0.8 starting... (PID=22664)
Nov 17 09:37:53 srvldtc-nagios-ws nagios: Local time is Mon Nov 17 09:37:53 WET 2014
Nov 17 09:37:53 srvldtc-nagios-ws nagios: LOG VERSION: 2.0
Nov 17 09:37:53 srvldtc-nagios-ws nagios: qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized
Nov 17 09:37:53 srvldtc-nagios-ws nagios: qh: core query handler registered
Nov 17 09:37:53 srvldtc-nagios-ws nagios: nerd: Channel hostchecks registered successfully
Nov 17 09:37:53 srvldtc-nagios-ws nagios: nerd: Channel servicechecks registered successfully
Nov 17 09:37:53 srvldtc-nagios-ws nagios: nerd: Channel opathchecks registered successfully
Nov 17 09:37:53 srvldtc-nagios-ws nagios: nerd: Fully initialized and ready to rock!
Nov 17 09:37:53 srvldtc-nagios-ws nagios: wproc: Successfully registered manager as @wproc with query handler
Nov 17 09:37:53 srvldtc-nagios-ws nagios: wproc: Registry request: name=Core Worker 22668;pid=22668
Nov 17 09:37:53 srvldtc-nagios-ws nagios: wproc: Registry request: name=Core Worker 22669;pid=22669
Nov 17 09:37:53 srvldtc-nagios-ws nagios: wproc: Registry request: name=Core Worker 22667;pid=22667
Nov 17 09:37:53 srvldtc-nagios-ws nagios: wproc: Registry request: name=Core Worker 22666;pid=22666
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod: NDOMOD 2.0.0 (02-28-2014) Copyright (c) 2009 Nagios Core Development Team and Community Contributors
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod: Successfully connected to data sink.  1 queued items to flush.
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod: Successfully flushed 1 queued items to data sink.
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for process data
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for timed event data
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for log data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for system command data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for event handler data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for notification data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for service check data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for host check data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for comment data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for downtime data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for flapping data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for program status data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for host status data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for service status data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for adaptive program data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for adaptive host data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for adaptive service data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for external command data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for aggregated status data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for retention data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for contact data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for contact notification data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for acknowledgement data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for contact status data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: ndomod registered for adaptive contact data'
Nov 17 09:37:53 srvldtc-nagios-ws nagios: Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.
Nov 17 09:37:53 srvldtc-nagios-ws nagios: SERVICE FLAPPING ALERT: maqvirtual;C:\ Drive Space;STARTED; Service appears to have started flapping (22.1% change >= 20.0% threshold)
Nov 17 09:37:53 srvldtc-nagios-ws nagios: SERVICE FLAPPING ALERT: maqvirtual;Explorer;STARTED; Service appears to have started flapping (42.7% change >= 20.0% threshold)
Nov 17 09:37:53 srvldtc-nagios-ws nagios: SERVICE FLAPPING ALERT: maqvirtual;Memory Usage;STARTED; Service appears to have started flapping (41.4% change >= 20.0% threshold)
Nov 17 09:37:53 srvldtc-nagios-ws nagios: SERVICE FLAPPING ALERT: maqvirtual;W3SVC;STARTED; Service appears to have started flapping (25.3% change >= 20.0% threshold)
Nov 17 09:37:55 srvldtc-nagios-ws nagios: Successfully launched command file worker with pid 22672
Nov 17 09:37:55 srvldtc-nagios-ws nagios: SERVICE ALERT: maqvirtual;NSClient++ Version;WARNING;SOFT;2;could not fetch information from server
mysql

Code: Select all

mysql> use nagios
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from nagios_hosts;
Empty set (0.00 sec)

mysql> select * from nagios_hoststatus;
Empty set (0.00 sec)
Note: Please, use code wraps for better readability. This time I did it for you.
bruno
Posts: 3
Joined: Fri Nov 14, 2014 12:32 pm

Re: Nagios 4.0.8 not working with ndoutils 2.0

Post by bruno »

bruno wrote:nagios.cfg

Note: Please, use code wraps for better readability. This time I did it for you.
sorry and ty! :)


Problem solved!
install nagios 3.5.1 and ndoutils 1.4b9
Locked