Error deploying 5.8.1
-
infofedsec
- Posts: 32
- Joined: Wed Apr 17, 2019 5:28 am
Error deploying 5.8.1
To be compliant with the corporate standards we have had to deploy Nagios via puppet. We have managed to get it installed and the web interface running however the monitoring engine and performance grapher will not run. Additionally when i went download a system profile for this ticket i got profile build failed, code 1.
Re: Error deploying 5.8.1
Nagios XI requires a specific set of permissions in order to work correctly. Some operations will fail intermittently if the permissions are not set properly.
Try running this on the command line (as root):
Try running this on the command line (as root):
Code: Select all
cd /usr/local/nagiosxi/scripts
./reset_config_perms.sh
chown -R nagios:nagios /usr/local/nagios/libexec
chmod -R 755 /usr/local/nagios/libexecIf you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
-
infofedsec
- Posts: 32
- Joined: Wed Apr 17, 2019 5:28 am
Re: Error deploying 5.8.1
I ran this and nothing changed. The monitoring engine and performance grapher still won't run and profiledownload gives the same error
Re: Error deploying 5.8.1
If you're unable to generate the the profile through the web interface, please try generating it from the command line by running these commands as root:
Then send me the resulting /usr/local/nagiosxi/var/components/profile.zip file.
If the profile script fails, please include the ENTIRE output.
Code: Select all
rm -rf /usr/local/nagiosxi/var/components/profile*
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORTIf the profile script fails, please include the ENTIRE output.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Error deploying 5.8.1
MySQL is running, but I saw this error when the database was starting up:
Can you verify that directory exists on your nagios xi machine and that it's chowned to mysql:mysql?
Code: Select all
210228 1:53:10 [ERROR] mysqld: Can't create/write to file '/var/run/mariadb/mariadb.pid' (Errcode: 2)
210228 1:53:10 [ERROR] Can't start server: can't create PID file: No such file or directoryIf you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
-
infofedsec
- Posts: 32
- Joined: Wed Apr 17, 2019 5:28 am
Re: Error deploying 5.8.1
i can confirm its definitely there
Re: Error deploying 5.8.1
I noticed you're also missing some Perl libraries: SOAP::Lite should be installed and isn't. Needed for /usr/local/nagios/libexec/sn_ticketer.pl.
What's the output from the following command:
What's the output from the following command:
Code: Select all
service nagios restartIf you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Re: Error deploying 5.8.1
I found more errors:
Apparently some of the database tables are missing. Perhaps a re-creation of the database is necessary.
Code: Select all
<p><pre>SQL Error [ndoutils] : Table 'nagios.nagios_servicestatus' doesn't exist</pre></p>
<p><pre>SQL Error [ndoutils] : Table 'nagios.nagios_hoststatus' doesn't exist</pre></p>
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
-
infofedsec
- Posts: 32
- Joined: Wed Apr 17, 2019 5:28 am
Re: Error deploying 5.8.1
Whats the best way to do the recreation? I feel like the repair commands will only repair what exists