THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
Home » Categories » Support Documents » Technical and Support Anouncements

Max check attempts required field is missing issue

Max check attempts required field is missing issue

When you create or modify a host or service, you may see an error if you did not enter anything in the Max Checks Attempt field, in the Check Settings tab. We have seen this on Nagios XI 2024R1.4.2 and XI 2024R1.4.3.

We have made some changes that validate those settings, which in turn is causing the error.

The solution, is to edit the check_settings.php file:

Edit this file:

/usr/local/nagiosxi/html/includes/components/ccm/page_templates/check_settings.php

Change Line 61 from

<input name="tfMaxCheckAttempts" class="form-control required" type="text" id="tfMaxCheckAttempts" value="<?php echo encode_form_val(grab_array_var($FIELDS, 'max_check_attempts', '    ')); ?>">

to

<input name="tfMaxCheckAttempts" class="form-control" type="text" id="tfMaxCheckAttempts" value="<?php echo encode_form_val(grab_array_var($FIELDS, 'max_check_attempts', '    ')); ?>">

Log out and back into XI, or restart Apache  for the fix to take hold.

We expect to fix this issue in an upcoming version of XI.

Please make sure to monitor our change logs for updates: https://www.nagios.com/changelog/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

5 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Error: Invalid max_check_attempts value for host
Viewed 3497 times since Thu, Nov 14, 2024
404 errors after upgrade from 2024R1.1.2 to 2024R1.1.3
Viewed 1692 times since Thu, Nov 14, 2024
Upgrade error with XI and non-standard Broker Modules
Viewed 2205 times since Thu, Nov 14, 2024
Overcoming lack of VMware SDK with VMware Wizard
Viewed 8356 times since Wed, Nov 13, 2024
Login screen flashes after upgrade to XI 2024R1.4.2
Viewed 1272 times since Mon, May 19, 2025
Linux Distributions Reaching End of Life
Viewed 5110 times since Fri, Dec 27, 2024
XI 5.10.0 and newer Postgress to MySQL Conversion
Viewed 1974 times since Fri, Mar 7, 2025
Nagios Software / Operating System (OS) compatibility matrix
Viewed 29335 times since Tue, Nov 12, 2024
/usr/local/nagiosxi/var/xi-itype: No such file or directory error
Viewed 2102 times since Thu, Nov 14, 2024