The instance is likely offline, please check and try again

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Re: The instance is likely offline, please check and try aga

Post by floki »

Hi,

Sorry for late reply, spent some sick leave :) anyway, this is what the command subsystem look like when I reset them:

https://drive.google.com/file/d/1wTYKNd ... sp=sharing

Still can't apply configuration. Tested other servers and they got the same message:

Code: Select all

The apply command hasn't started yet. The instance may not be online or is unreachable
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The instance is likely offline, please check and try aga

Post by scottwilkerson »

The the Job Status remain in a waiting state like in your image?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Re: The instance is likely offline, please check and try aga

Post by floki »

Yes, that's after I reset the jobs. I don't totally understand why it appears offline even though its applying the configuration to itself. I'm losing hope with this one :cry:
I just don't want the next person who will handle the nagios log server to restart logstash every time a configuration change.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The instance is likely offline, please check and try aga

Post by scottwilkerson »

If it is sticking at Waiting, it leads me to believe the cron isn't running

Can you show the output of the following

Code: Select all

service crond status
chage -l nagios
ps -ef|grep php
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Re: The instance is likely offline, please check and try aga

Post by floki »

Thanks for the response!

hmmm so here's the result of each command you posted:
https://drive.google.com/file/d/14Slg48 ... sp=sharing

That's from a test server but our licensed servers has also has the same results
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: The instance is likely offline, please check and try aga

Post by scottwilkerson »

Ok, it looks like the nagios user's password is expired.

Please run the following to set the password to not expire

Code: Select all

chage -m 0 -M 99999 -I -1 -E -1 nagios
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Re: The instance is likely offline, please check and try aga

Post by floki »

WOW! Thanks a lot! That syntax solved the problem. Thanks! :D
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: The instance is likely offline, please check and try aga

Post by cdienger »

Glad to hear!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked