Nagios ndomod not loading

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.
naund
Posts: 17
Joined: Fri Feb 21, 2014 3:13 pm

Re: Nagios ndomod not loading

Post by naund »

Same thing, no output.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagios ndomod not loading

Post 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)
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
naund
Posts: 17
Joined: Fri Feb 21, 2014 3:13 pm

Re: Nagios ndomod not loading

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Nagios ndomod not loading

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
naund
Posts: 17
Joined: Fri Feb 21, 2014 3:13 pm

Re: Nagios ndomod not loading

Post 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...
naund
Posts: 17
Joined: Fri Feb 21, 2014 3:13 pm

Re: Nagios ndomod not loading

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios ndomod not loading

Post 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
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.
naund
Posts: 17
Joined: Fri Feb 21, 2014 3:13 pm

Re: Nagios ndomod not loading

Post 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 #
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios ndomod not loading

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
naund
Posts: 17
Joined: Fri Feb 21, 2014 3:13 pm

Re: Nagios ndomod not loading

Post by naund »

I changed the permissions on the the nagios.cfg file and still do not see the ndomod in the nagios log file.
Locked