Search found 105 matches

by gwesterman
Wed May 15, 2024 12:39 pm
Forum: Open Source Nagios Projects
Topic: "disable" monitoring for one node in Nagios Core.
Replies: 1
Views: 46

Re: "disable" monitoring for one node in Nagios Core.

Hi @ptsmit, If I am understanding your question correctly, you should be able to accomplish this by adding the unwanted host to the service's config entry with an "!" before it. This post gives a more concrete example of this process in action. If this wasn't exactly what you're looking fo...
by gwesterman
Fri May 10, 2024 9:16 am
Forum: Nagios XI
Topic: Need assistance with adding in passwords for dbmaint
Replies: 4
Views: 89

Re: Need assistance with adding in passwords for dbmaint

Hi @Psihawk, These are defined in /usr/local/nagiosxi/html/config.inc.php. I am not sure why dbmaint.php would not be able to access them, but hopefully this will help you figure it out on your side. Does running the script give you anything other than these two notices? Please let us know what you ...
by gwesterman
Thu May 09, 2024 9:33 am
Forum: Nagios XI
Topic: Multiple Tables Corrupted Issue
Replies: 3
Views: 96

Re: Multiple Tables Corrupted Issue

Hi @kenneth59,

What lead you to believe that multiple tables are corrupted? Are you getting any errors? Please provide additional context so we can better address your issue.

Thank you!
by gwesterman
Mon May 06, 2024 9:11 am
Forum: Nagios XI
Topic: Nagios Privilege
Replies: 7
Views: 201

Re: Nagios Privilege

Hi @kenneth59,

Have you tried restarting the monitoring engine and the performance grapher (either via the GUI or the CLI)?

If that isn't working, what is the output of:

Code: Select all

systemctl restart nagios
and

Code: Select all

systemctl restart npcd
?

Let us know what you find.

Thank you!
by gwesterman
Fri May 03, 2024 9:14 am
Forum: Nagios XI
Topic: Nagios showing services as hosts
Replies: 8
Views: 1047

Re: Nagios showing services as hosts

You may have a corrupted MYSQL database. Try running the following: systemctl stop nagios echo 'truncate nagios_hoststatus; truncate nagios_hosts; truncate nagios_services; truncate nagios_servicestatus; truncate nagios_servicechecks; truncate nagios_hostchecks; truncate nagios_downtimehistory; trun...
by gwesterman
Wed May 01, 2024 9:23 am
Forum: Nagios XI
Topic: PHP error with bulk modification tool
Replies: 13
Views: 23438

Re: PHP error with bulk modification tool

Hi @naggyohs, I am fairly certain this is a known bug that has been fixed in the next release. If you're comfortable modifying php files, you can try to fix it by changing lines 388 and 402 in nagiosxi/html/includes/components/bulkmodifications/bulkmodifications.php from "$value = escape_sql_st...
by gwesterman
Mon Apr 29, 2024 9:24 am
Forum: Nagios XI
Topic: Nagios showing services as hosts
Replies: 8
Views: 1047

Re: Nagios showing services as hosts

Hi @apiedrakamai, I have a few clarifying questions: 1. Are the hosts and services both correct in the CCM? You mentioned that the services aren't "showing up" in the CCM. Are you referring to the services that shouldn't be showing up, or do you have no services showing in the CCM? 2. Are ...
by gwesterman
Mon Apr 29, 2024 9:17 am
Forum: Nagios XI
Topic: repair database issue
Replies: 2
Views: 194

Re: repair database issue

Glad you found the solution!

Let us know if you have any other questions.

Thank you!
by gwesterman
Wed Apr 24, 2024 9:07 am
Forum: Nagios XI
Topic: Nagios Core 4.4.5 Just not Starting
Replies: 10
Views: 1040

Re: Nagios Core 4.4.5 Just not Starting

Glad I could help! I should have mentioned trying nagios:nagios if nagios:nagcmd didn't work - I wasn't certain which permissions were most correct.

Please reach out if you run into any other issues.

Thank you!
by gwesterman
Mon Apr 22, 2024 9:15 am
Forum: Nagios XI
Topic: Nagios Core 4.4.5 Just not Starting
Replies: 10
Views: 1040

Re: Nagios Core 4.4.5 Just not Starting

Do you have the folder /usr/local/nagios/var/rw/? If not, you might be able to just make it and set the permissions. Start by snapshotting your server. Then run: mkdir -p /usr/local/nagios/var/rw/ chmown nagios:nagcmd /usr/local/nagios/var/rw/ systemctl restart nagios Let us know if this works and i...