and when i now try to delete the # an take wq!
452 check_result_path=/usr/local/nagios/var/spool/checkresults
453
454
455
456
457 # MAX CHECK RESULT FILE AGE
458 # This option determines the maximum age (in seconds) which check
459 # result files are considered to be valid. Files older than this
460 # threshold will be mercilessly deleted without further processing.
"nagios.cfg" 1348L, 44829C written
E138: Cannot write viminfo file /.viminfo!
Press ENTER or type command to continue
Permissin denied commands.cfg
Re: Permissin denied commands.cfg
Your install is pretty broken, you're better off following the official guide and starting fresh - https://support.nagios.com/kb/article.p ... ategory=58 - these instructions should work like a charm.
Former Nagios Employee
Re: Permissin denied commands.cfg
Agreed. Let's start fresh and see if we get better results. For future reference you can always use a program like winscp to connect to the Nagios server with the root credentials and transfer files to your local machine.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Permissin denied commands.cfg
ok.. so you mean that i shall install ubuntu server an nagios with a fresh install? or just upgrade nagios
Re: Permissin denied commands.cfg
I'd suggest reinstalling the OS if possible just to be sure we get everything, otherwise we can just remove the /usr/local/nagios directory. Make sure to follow the steps in https://assets.nagios.com/downloads/nag ... buntu.html. It currently points at slightly older versions of the core and plugins. The latest versions can be found at https://assets.nagios.com/downloads/nag ... 3.1.tar.gz and http://nagios-plugins.org/download/nagi ... 2.0.tar.gz.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Permissin denied commands.cfg
i have now install ubuntu 16.04 abnd try to follow this
https://support.nagios.com/kb/article.p ... ategory=58
but it dosent work
when i come to this download the source
cd /tmp/nagioscore-nagios-4.3.1/
ubuntu say the file or folder not found
https://support.nagios.com/kb/article.p ... ategory=58
but it dosent work
when i come to this download the source
cd /tmp/nagioscore-nagios-4.3.1/
ubuntu say the file or folder not found
Re: Permissin denied commands.cfg
Make sure you've uncompressed the file first before trying to cd to the directory:
cd /tmp
wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/na ... 3.1.tar.gz
tar xzf nagioscore.tar.gz
If that doesn't work, provide the output of "ls -l /tmp"
cd /tmp
wget -O nagioscore.tar.gz https://github.com/NagiosEnterprises/na ... 3.1.tar.gz
tar xzf nagioscore.tar.gz
If that doesn't work, provide the output of "ls -l /tmp"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.