Fusion 4 data pulling issue from nagios core 4.3.2

This support forum board is for questions relating to Nagios Fusion.
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Fusion 4 data pulling issue from nagios core 4.3.2

Post by bheden »

None of your cron jobs are running - not only that but it looks like the last time any system grabbed any data was August 16th.

When did you install Fusion 4? Let me see the contents of /etc/cron.d/nagiosfusion.

If you have an install.log or an upgrade.log that would be good, too.

Can I get a screen shot of your entire "Manage Servers" page, as well? And I mean the entire page - all the way from the lower left hand corner including the version info and the upper right hand corner including the logout link.

Thanks.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
jiec168
Posts: 26
Joined: Thu May 19, 2016 10:55 am

Re: Fusion 4 data pulling issue from nagios core 4.3.2

Post by jiec168 »

Thank you all for your help. It works now. :D :D :D

With the hints from @bheden, I checked the cron log and found
Aug 31 15:35:01 smf-tools-011 CROND[12985]: (CRON) ERROR chdir failed (/home/nagios): No such file or directory

So I mkdir /home/nagios subdir and chown it to nagios:nagios. Immediately I could see the followings in the /var/log/cron
Aug 31 15:36:01 smf-tools-011 CROND[13013]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/cmd_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/cmd_subsys.log 2>&1)
Aug 31 15:36:01 smf-tools-011 CROND[13014]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/log_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/log_subsys.log 2>&1)
Aug 31 15:36:01 smf-tools-011 CROND[13017]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/poll_subsys.php --max-time=60 --master-poll >>/usr/local/nagiosfusion/var/log/poll_subsys.log 2>&1)
Aug 31 15:36:01 smf-tools-011 CROND[13018]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/auth_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/auth_subsys.log 2>&1)
Aug 31 15:36:01 smf-tools-011 CROND[13019]: (nagios) CMD (/usr/bin/php -q /usr/local/nagiosfusion/cron/sysstat_subsys.php --max-time=60 >>/usr/local/nagiosfusion/var/log/sysstat_subsys.log 2>&1)
bheden
Product Development Manager
Posts: 179
Joined: Thu Feb 13, 2014 9:50 am
Location: Nagios Enterprises

Re: Fusion 4 data pulling issue from nagios core 4.3.2

Post by bheden »

Glad to hear it - it's a weird that the nagios user didn't have a home directory, though. I'm guessing this was an upgrade from a previous version of Fusion?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Nagios Enterprises
Senior Developer
jiec168
Posts: 26
Joined: Thu May 19, 2016 10:55 am

Re: Fusion 4 data pulling issue from nagios core 4.3.2

Post by jiec168 »

bheden wrote:Glad to hear it - it's a weird that the nagios user didn't have a home directory, though. I'm guessing this was an upgrade from a previous version of Fusion?
No, it was a first time clean installation. I was following all the instructions. I am curious too why the /home/nagios directory was not created since nagios user and group were created during the installation process.
Locked