| 1 |
Nagios v4 Upgrade Considerations |
| 2 |
================================ |
| 3 |
|
| 4 |
This applies if you are upgrading from Nagios v2 or v3. |
| 5 |
|
| 6 |
The Nagios v2 or v3 nagios.cfg is will not pass a Nagios v4 syntax check without modification. Also note that Nagios Core v4 has more strict host/service definition requirements. |
| 7 |
The following attributes from Nagios v2 or v3 are incompatible with Nagios v4 and will generate an error. |
| 8 |
|
| 9 |
use_embedded_perl_implicitly |
| 10 |
sleep_time |
| 11 |
p1_file |
| 12 |
external_command_buffer_slots |
| 13 |
enable_embedded_perl |
| 14 |
command_check_interval |
| 15 |
|
| 16 |
In order to force a Nagios v2 or v3 nagios.cfg file to run with Nagios v4 simply comment out these nagios.cfg lines. |
| 17 |
|
| 18 |
The included script UpgradeToVersion4.sh will do this automatically for the file |
| 19 |
/etc/nagios/nagios.cfg (the standard location for the nagios.cfg file) |
| 20 |
|
| 21 |
This is a workaround and you should consider implementing the new nagios.cfg file. |
| 22 |
|