Page 3 of 4

Re: Nagios ndomod not loading

Posted: Wed Feb 26, 2014 5:22 pm
by naund
Same thing, no output.

Re: Nagios ndomod not loading

Posted: Wed Feb 26, 2014 5:35 pm
by sreinhardt
What output do you get with the following command:

Code: Select all

/usr/local/bin/nagios /usr/local/nagios/etc/nagios.cfg
(presuming those are the correct locations)

Re: Nagios ndomod not loading

Posted: Wed Feb 26, 2014 5:41 pm
by naund
Here is the output.

Code: Select all

root@enthqdciptmon1a:/home/a.josef.gonzales # /usr/local/bin/nagios /usr/local/etc/nagios/nagios.cfg

Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL

Website: http://www.nagios.org
Nagios 3.5.1 starting... (PID=2538)
Local time is Wed Feb 26 15:40:28 MST 2014

^C

Code: Select all

root@enthqdciptmon1a:/home/a.josef.gonzales # /usr/local/bin/nagios -v /usr/local/etc/nagios/nagios.cfg

Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config directory '/usr/local/etc/nagios/global'...
Processing object config file '/usr/local/etc/nagios/global/checkcommands.cfg'...
Processing object config file '/usr/local/etc/nagios/global/contactgroups.cfg'...
Processing object config file '/usr/local/etc/nagios/global/contacts.cfg'...
Processing object config file '/usr/local/etc/nagios/global/host_templates.cfg'...
Processing object config file '/usr/local/etc/nagios/global/misccommands.cfg'...
Processing object config file '/usr/local/etc/nagios/global/service_templates.cfg'...
Processing object config file '/usr/local/etc/nagios/global/timeperiods.cfg'...
Processing object config directory '/usr/local/etc/nagios/Default_collector'...
Processing object config file '/usr/local/etc/nagios/Default_collector/hostgroups.cfg'...
Processing object config file '/usr/local/etc/nagios/Default_collector/advanced_services.cfg'...
Processing object config file '/usr/local/etc/nagios/Default_collector/hosts.cfg'...
Processing object config file '/usr/local/etc/nagios/Default_collector/host_dependencies.cfg'...
Processing object config file '/usr/local/etc/nagios/Default_collector/servicegroups.cfg'...
Processing object config file '/usr/local/etc/nagios/Default_collector/services.cfg'...
Processing object config file '/usr/local/etc/nagios/Default_collector/service_dependencies.cfg'...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
        Checked 343 services.
Checking hosts...
        Checked 332 hosts.
Checking host groups...
        Checked 63 host groups.
Checking service groups...
        Checked 4 service groups.
Checking contacts...
        Checked 7 contacts.
Checking contact groups...
        Checked 2 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 128 host dependencies.
Checking commands...
        Checked 26 commands.
Checking time periods...
        Checked 3 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   0

Things look okay - No serious problems were detected during the pre-flight check

Re: Nagios ndomod not loading

Posted: Wed Feb 26, 2014 5:56 pm
by sreinhardt
Unfortunately -v does not show modules loading, and the status of them once loaded. It looks like you stopped the output a little bit early to see the event broker modules loading. It should look something like this (note I am on core 4, so it will vary):

Code: Select all

Nagios Core 4.0.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 11-25-2013
License: GPL

Website: http://www.nagios.org
Nagios 4.0.2 starting... (PID=17844)
Local time is Wed Feb 26 16:50:03 CST 2014
nerd: Channel hostchecks registered successfully
nerd: Channel servicechecks registered successfully
nerd: Channel opathchecks registered successfully
nerd: Fully initialized and ready to rock!
wproc: Successfully registered manager as @wproc with query handler
wproc: Registry request: name=Core Worker 17845;pid=17845
wproc: Registry request: name=Core Worker 17846;pid=17846
wproc: Registry request: name=Core Worker 17847;pid=17847
wproc: Registry request: name=Core Worker 17848;pid=17848
Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully.

Re: Nagios ndomod not loading

Posted: Wed Feb 26, 2014 6:23 pm
by naund
Here is the output I get.

Code: Select all

root@enthqdciptmon1a:/home/a.josef.gonzales # /usr/local/bin/nagios /usr/local/etc/nagios/nagios.cfg

Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL

Website: http://www.nagios.org
Nagios 3.5.1 starting... (PID=8865)
Local time is Wed Feb 26 15:58:08 MST 2014
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-GRERTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-IntVPNFW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-PubSW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Infra-HQ-DC-Core1-B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Infra-HQ-DC-DMZ-Core1-B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Infra-HQ-DC-IntRTR1-B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM001-IDFWANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM010-IDFWANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM011-IDF-SW2-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM026-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM028-IDF-SW2-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM042-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM048-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM057-IDF-SW2-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM057-IDF-SW4-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM059-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM072-IDF-SW2-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: The check of service 'check_ping' on host 'Cal-REM088-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM090-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM100-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM125-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM139-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM144-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'DMZHQDCPROXY1A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'DMZHQDCWEB5A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCAD1B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCLYNC1A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCNAC1A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCRPTSP1B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCSP2B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCVM1B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'CRPHQDCAD1A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-DistSw1-B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-GRERTR1-B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-IntVPNFW1-B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Ent-HQ-DC-PubSW1-B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Infra-HQ-DC-DMZ-Core1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-Infra-HQ-DC-IntRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM001-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM011-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM011-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM028-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM028-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCVM3A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'SWM-Infra-HQ-DC-DMZ-ACE1' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: The check of service 'check_ping' on host 'Cal-REM051-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM057-IDF-SW3-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM057-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM059-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM072-IDF-WANRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM088-IDF-SW2-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM100-IDF-INTRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM121-IDF-INTRTR1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'Cal-REM125-IDF-SW1-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'DMZHQDCPROXY1B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'DMZHQDCVPNFWCM2A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCAV1A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCSP2A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCVM1A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'SWM-Infra-HQ-DC-DMZ-ACE2' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: The check of service 'check_ping' on host 'REMHQDCAD1A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'ATT AVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
/usr/local/libexec/nagios/check_snmp_int.pl: not found
/usr/local/libexec/nagios/check_snmp_int.pl: not found
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-A' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: Return code of 127 for check of service 'TWTelecom IPVPN Interface Check' on host 'Cal-Ent-HQ-DC-Dist-WANRTR1-B' was out of bounds. Make sure the plugin you're trying to run actually exists.
Warning: The check of service 'check_ping' on host 'Cal-REM089-IDF-SW2-A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCCM1A' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...
Warning: The check of service 'check_ping' on host 'ENTHQDCVM3B' looks like it was orphaned (results never came back).  I'm scheduling an immediate check of the service...

Re: Nagios ndomod not loading

Posted: Thu Feb 27, 2014 10:57 am
by naund
I have fixed the previous errors that I was getting when starting nagios. Here is the output from starting nagios. I do not see a ndomod start.

Code: Select all

root@enthqdciptmon1a:/usr/local/etc/nagios # /usr/local/bin/nagios /usr/local/etc/nagios/nagios.cfg

Nagios Core 3.5.1
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL

Website: http://www.nagios.org
Nagios 3.5.1 starting... (PID=4471)
Local time is Thu Feb 27 08:32:50 MST 2014

Re: Nagios ndomod not loading

Posted: Thu Feb 27, 2014 5:56 pm
by abrist
That output is really spartan. Could the permissions on the nagios.cfg be wrong?

Code: Select all

ls -la /usr/local/nagios/etc/nagios.cfg
Could you more than one parent nagios process running?

Code: Select all

ps -aef |grep nagios.cfg

Re: Nagios ndomod not loading

Posted: Fri Feb 28, 2014 10:56 am
by naund
Here is the output from the commands.

Code: Select all

root@enthqdciptmon1a:/usr/local/etc/nagios # ls -la /usr/local/etc/nagios/nagios.cfg
-rw-r--r--  1 root  wheel  44916 Feb 21 12:55 /usr/local/etc/nagios/nagios.cfg

Code: Select all

root@enthqdciptmon1a:/home/a.josef.gonzales # ps -waux | grep nagios.cfg
nagios           1029   0.0  0.1  18560   4480 ??  Ss    8:54AM 0:00.57 /usr/local/bin/nagios -u -x -d /usr/local/etc/nagios/nagios.cfg
nagios           2598   0.0  0.1  18560   4492 ??  S     8:56AM 0:00.00 /usr/local/bin/nagios -u -x -d /usr/local/etc/nagios/nagios.cfg
nagios           2639   0.0  0.1  18560   4492 ??  S     8:56AM 0:00.00 /usr/local/bin/nagios -u -x -d /usr/local/etc/nagios/nagios.cfg
nagios           2642   0.0  0.1  18560   4492 ??  S     8:56AM 0:00.00 /usr/local/bin/nagios -u -x -d /usr/local/etc/nagios/nagios.cfg
nagios           2645   0.0  0.1  18560   4492 ??  S     8:56AM 0:00.00 /usr/local/bin/nagios -u -x -d /usr/local/etc/nagios/nagios.cfg
nagios           2649   0.0  0.1  18560   4492 ??  S     8:56AM 0:00.00 /usr/local/bin/nagios -u -x -d /usr/local/etc/nagios/nagios.cfg
nagios           2650   0.0  0.1  18560   4492 ??  S     8:56AM 0:00.00 /usr/local/bin/nagios -u -x -d /usr/local/etc/nagios/nagios.cfg
root             2656   0.0  0.0  16312   1900  0  S+    8:56AM 0:00.00 grep nagios.cfg
root@enthqdciptmon1a:/home/a.josef.gonzales # ps -aef | grep nagios
root@enthqdciptmon1a:/home/a.josef.gonzales #

Re: Nagios ndomod not loading

Posted: Fri Feb 28, 2014 12:52 pm
by lmiltchev
-rw-r--r-- 1 root wheel 44916 Feb 21 12:55 /usr/local/etc/nagios/nagios.cfg
This file should be owned by nagios:

Code: Select all

chown nagios:nagios /usr/local/etc/nagios/nagios.cfg

Re: Nagios ndomod not loading

Posted: Mon Mar 03, 2014 8:51 am
by naund
I changed the permissions on the the nagios.cfg file and still do not see the ndomod in the nagios log file.