Search found 24 matches

by spperry
Tue Sep 01, 2020 8:57 am
Forum: Nagios XI
Topic: Certain users get alerts even when no notifications are set
Replies: 1
Views: 204

Certain users get alerts even when no notifications are set

We have had our Nagios XI environment set up for several years. It appears that the person that set it up previously made some sort of configuration that causes certain users to get updates where the status is UNKNOWN (i.e., it can't figure out what to do). I have been troubleshooting an issue with ...
by spperry
Wed Sep 05, 2018 6:49 am
Forum: Nagios XI
Topic: Recovery notification inconsistency
Replies: 1
Views: 193

Recovery notification inconsistency

Good morning! We are running 5.5.2 of Nagios XI, and everything appears to be fine overall. We had an issue with a hung cron job a couple of weeks ago that was causing issues, but outside of that this version has been stable for us. We have noticed a couple of times that we get notifications for pro...
by spperry
Thu Aug 23, 2018 10:42 am
Forum: Nagios XI
Topic: Nagios cmdsubsys.log Growing Excessively
Replies: 27
Views: 4144

Re: Nagios cmdsubsys.log Growing Excessively

Okay, it's now been two hours and we're not getting any growth at all on that file. Is that cron job that was hung something that we would have caused somehow, or is it indicative of a bigger problem? I just want to have a root cause for it, if that's possible. Either way, I'm ecstatic it's working ...
by spperry
Thu Aug 23, 2018 9:40 am
Forum: Nagios XI
Topic: Nagios cmdsubsys.log Growing Excessively
Replies: 27
Views: 4144

Re: Nagios cmdsubsys.log Growing Excessively

I've run these commands and will keep an eye on it. It was filling the drive about once very 1.5-2 hrs, so it should be obvious pretty quickly.

I'll update once I know more. Thanks.
by spperry
Thu Aug 23, 2018 8:02 am
Forum: Nagios XI
Topic: Nagios cmdsubsys.log Growing Excessively
Replies: 27
Views: 4144

Re: Nagios cmdsubsys.log Growing Excessively

Since the original cmdsubset.log file isn't growing (it's the additional), I added the > back into the cron job piece. I have let that file grow a bit (it's only 58K), and I've added it here. This will give more than the one line from the other one.

Thanks.
Scott
by spperry
Wed Aug 22, 2018 9:30 pm
Forum: Nagios XI
Topic: Nagios cmdsubsys.log Growing Excessively
Replies: 27
Views: 4144

Re: Nagios cmdsubsys.log Growing Excessively

Just to be clear, the cmdsubset.log file doesn't grow - it's the cmdsubset.log-20180821 file that continually grows. It doesn't appear that anything else is, though. If I clear that one file with the 2018 date appended to it it drops to a reasonable number used on the volume. So, cmdsubset.log is ok...
by spperry
Wed Aug 22, 2018 6:10 pm
Forum: Nagios XI
Topic: Nagios cmdsubsys.log Growing Excessively
Replies: 27
Views: 4144

Re: Nagios cmdsubsys.log Growing Excessively

Results attached. The cmdsubset.log only has the one line...

Definitely still filling up the other file, too.
by spperry
Wed Aug 22, 2018 2:43 pm
Forum: Nagios XI
Topic: Nagios cmdsubsys.log Growing Excessively
Replies: 27
Views: 4144

Re: Nagios cmdsubsys.log Growing Excessively

I tried removing the > but it is still increasing the size of the file named: cmdsubsys.log-20180821 As far as the monitoring engine and environment, everything looks good. The only issue is that one file that grows ever larger until it fills the disk and everything stops because it can't process.
by spperry
Wed Aug 22, 2018 1:25 pm
Forum: Nagios XI
Topic: Nagios cmdsubsys.log Growing Excessively
Replies: 27
Views: 4144

Re: Nagios cmdsubsys.log Growing Excessively

This is the code from that area (just for the record):


// Verify ndo and core are running and loaded
$data = get_program_status_xml_output(array(), true);
if ($data['is_currently_running'] == 1) {
$is_running = true;
}

Lines 135-141.
by spperry
Wed Aug 22, 2018 9:31 am
Forum: Nagios XI
Topic: Nagios cmdsubsys.log Growing Excessively
Replies: 27
Views: 4144

Re: Nagios cmdsubsys.log Growing Excessively

Quick update - I tailed the log and found hundreds of lines of this repeated: PHP Notice: Uninitialized string offset: 0 in /usr/local/nagiosxi/html/includes/components/nagiosbpi/api_tool.php on line 138 PHP Warning: Illegal string offset 'is_currently_running' in /usr/local/nagiosxi/html/includes/c...