208 Commits

Author SHA256 Message Date
043e75192c Accepting request 1313907 from server:monitoring
- Fix query handler socket location (BNC #1234612)
- Fix unit file ExecStart (BNC #1251905)

OBS-URL: https://build.opensuse.org/request/show/1313907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=31
2025-10-28 13:47:02 +00:00
f019826c21 fix changelog
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=308
2025-10-27 17:12:42 +00:00
eaa384db03 - Fix query handler socket location (BNC #1234612)
- Fix unit file ExecStart (BNC #1251905)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=307
2025-10-27 11:36:06 +00:00
2fde494acd Accepting request 1255920 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1255920
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=30
2025-03-25 21:12:22 +00:00
b18f8c4f66 - remove unused pcre build dependency
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=306
2025-03-25 10:54:08 +00:00
e092efe44b Accepting request 1194312 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1194312
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=29
2024-08-17 10:41:15 +00:00
Lars Vogdt
52eb813578 - update to 4.5.4
* Fix inconsistent links for 'View {Trends,Alert Histogram} For 
  This {Host,Service}' (Mauricio Faria de Oliveira)
* Fix broken links from removing AngularJS pages in 4.5.3 (Dylan Anderson)

  * Update jQuery (#960) (Dylan Anderson)
  * Remove pages using outdated AngularJS framework (#960) (Dylan Anderson)
  * Fix html encoding of some ascii characters (#813) (Dylan Anderson)
  * Updated several page links to use 'nofollow' (#965) - (Griffin Westerman)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=305
2024-08-16 14:12:03 +00:00
ec82d4408f Accepting request 1183445 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1183445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=28
2024-06-27 14:02:46 +00:00
Lars Vogdt
7cb11929a4 - update to 4.5.3
* Update jQuery (#960) (Dylan Anderson)
* Remove pages using outdated AngularJS framework (#960) (Dylan Anderson)
* Fix html encoding of some ascii characters (#813) (Dylan Anderson)
* Updated several page links to use 'nofollow' (#965) - (Griffin Westerman)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=304
2024-06-19 13:12:31 +00:00
a0449ef614 Accepting request 1173606 from server:monitoring
- update to 4.5.2
  * Fix handling of timeperiods w/ downtime availability calculations 
    in the Availability CGI report (Sebastian Wolf)
  * Fix build when compiling against musl libc (#952) (Sebastian Wolf)
  * Fix downtime comment using current time instead of the downtime's 
    entry time (#910) (Dylan Anderson)

OBS-URL: https://build.opensuse.org/request/show/1173606
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=27
2024-05-13 15:58:20 +00:00
Lars Vogdt
f46c5fa5b7 - update to 4.5.2
* Fix handling of timeperiods w/ downtime availability calculations 
    in the Availability CGI report (Sebastian Wolf)
  * Fix build when compiling against musl libc (#952) (Sebastian Wolf)
  * Fix downtime comment using current time instead of the downtime's 
    entry time (#910) (Dylan Anderson)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=303
2024-05-13 09:08:56 +00:00
53c72ed175 Accepting request 1168505 from server:monitoring
- update to 4.5.1
  * Fix text rendering in Configuration -> Command Expansion when the 
    command ends in whitespace 
    (Thanks Joran LEREEC for reporting this issue)
- from 4.5.0
  Note: this release is backward-compatible, but does include updates 
  to the header files.
  If you are using any NEB modules in your monitoring solution, you will 
  need to recompile them with the new nagios-4.5.0 headers to avoid 
  segmentation faults.
  ENHANCEMENTS
  * Add event_handler_period configuration option to hosts and services (#913)
  * Add external commands CHANGE_HOST_EVENT_HANDLER_TIMEPERIOD 
    and CHANGE_SVC_EVENT_HANDLER_TIMEPERIOD (#913)
  * Added support for separating your build directory from your 
    source directory (#867)
- from older versions:
  * Fix missing macros when running performance data commands (#904)
  * Fix broken logo images in status pages (regression from 4.4.12) (#917)
  * Clean up most compiler warnings on GCC and clang (#901)
  * Fix incorrect HTML entity escaping in CGIs (#907, #902)
  * Fix issue where predictive dependency checks were not being scheduled for services (#908)
  * Fix several typos (#898, #884)
  * Fix incorrect error message in preflight check (#865)
  * Fix use-after-free in qh_deregister_handler (#866)
  * Fix memory leak in qh_deregister_handler (#866)
  * Fix mismatched host/service behavior when changing from SOFT to HARD state (#891)
  * Minor performance improvements in CGI utility functions (#866)
  * Fix memory leak in nagiostats.c when using -c, -s, -d, or -D multiple times (#888)
  * Improve service scheduling at startup (#887)

OBS-URL: https://build.opensuse.org/request/show/1168505
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=26
2024-04-17 12:46:13 +00:00
Lars Vogdt
377d22a31a * nagios-exec-start-post - obsolete (fixes bsc#1202929)
* nagios-exec-start-pre  - obsolete (fixes bsc#1202929)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=302
2024-04-17 10:11:22 +00:00
Lars Vogdt
074bedf889 - update to 4.5.1
* Fix text rendering in Configuration -> Command Expansion when the 
    command ends in whitespace 
    (Thanks Joran LEREEC for reporting this issue)
- from 4.5.0
  Note: this release is backward-compatible, but does include updates 
  to the header files.
  If you are using any NEB modules in your monitoring solution, you will 
  need to recompile them with the new nagios-4.5.0 headers to avoid 
  segmentation faults.
  ENHANCEMENTS
  * Add event_handler_period configuration option to hosts and services (#913)
  * Add external commands CHANGE_HOST_EVENT_HANDLER_TIMEPERIOD 
    and CHANGE_SVC_EVENT_HANDLER_TIMEPERIOD (#913)
  * Added support for separating your build directory from your 
    source directory (#867)
- from older versions:
  * Fix missing macros when running performance data commands (#904)
  * Fix broken logo images in status pages (regression from 4.4.12) (#917)
  * Clean up most compiler warnings on GCC and clang (#901)
  * Fix incorrect HTML entity escaping in CGIs (#907, #902)
  * Fix issue where predictive dependency checks were not being scheduled for services (#908)
  * Fix several typos (#898, #884)
  * Fix incorrect error message in preflight check (#865)
  * Fix use-after-free in qh_deregister_handler (#866)
  * Fix memory leak in qh_deregister_handler (#866)
  * Fix mismatched host/service behavior when changing from SOFT to HARD state (#891)
  * Minor performance improvements in CGI utility functions (#866)
  * Fix memory leak in nagiostats.c when using -c, -s, -d, or -D multiple times (#888)
  * Improve service scheduling at startup (#887)

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=301
2024-04-16 22:26:42 +00:00
Lars Vogdt
737233fc2d Modified via webui
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=299
2024-04-16 14:09:56 +00:00
bc4a07b85b Accepting request 1156087 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/1156087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=25
2024-03-07 21:02:02 +00:00
4fa405b160 Accepting request 1149469 from home:dimstar:rpm4.20:n
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1149469
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=298
2024-03-07 17:32:59 +00:00
e0cd459af2 Accepting request 1145456 from server:monitoring
- remove some old rpmlintrc entries
- remove old (< 12.0) SUSE macros from spec file
- nagios-dch and nagios-contrib can be noarch
- use autopatch macro
- set right permission and ownership for /var/log/nagios/config.err
  even if this file is just a ghost file in RPM
- use /run/nagios instead of /var/run/nagios for pid file
- get rid of really old (SLE9) fix for nagios command group (was 
  group www at that time). Since SLE10, we use and own group 
  (nagcmd) instead. As we do not support to migrate from SLE9 to 
  SLE11 and beyond directly, this migration should have been done 
  long time ago already

- Do not provide user/group symbols and actually stop generating
  those users/groups alltogether. The package system-user-nagios is
  taking care of the user setup.

- provide user(nagios), group(nagios), group(wwwrun), user(nagcmd)
  bsc#1219600

OBS-URL: https://build.opensuse.org/request/show/1145456
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=24
2024-02-09 22:54:58 +00:00
Lars Vogdt
7cec0926ab - remove some old rpmlintrc entries
- remove old (< 12.0) SUSE macros from spec file
- nagios-dch and nagios-contrib can be noarch
- use autopatch macro
- set right permission and ownership for /var/log/nagios/config.err
  even if this file is just a ghost file in RPM
- use /run/nagios instead of /var/run/nagios for pid file
- get rid of really old (SLE9) fix for nagios command group (was 
  group www at that time). Since SLE10, we use and own group 
  (nagcmd) instead. As we do not support to migrate from SLE9 to 
  SLE11 and beyond directly, this migration should have been done 
  long time ago already

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=297
2024-02-09 14:50:08 +00:00
6abe305ec3 Accepting request 1145110 from home:dimstar:Factory
- Do not provide user/group symbols and actually stop generating
  those users/groups alltogether. The package system-user-nagios is
  taking care of the user setup.

OBS-URL: https://build.opensuse.org/request/show/1145110
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=296
2024-02-09 14:04:28 +00:00
bf09e38729 Accepting request 1144491 from home:msmeissn:branches:server:monitoring
- provide user(nagios), group(nagios), group(wwwrun), user(nagcmd)
  bsc#1219600

OBS-URL: https://build.opensuse.org/request/show/1144491
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=295
2024-02-08 09:37:52 +00:00
1c5a6cf982 Accepting request 1005468 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1005468
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=23
2022-09-23 12:15:12 +00:00
Lars Vogdt
acbf052f0e - do not change ownership of resource_file (/etc/nagios/resource.cfg)
during (re-)start: nagios does not have enough permissions to do 
  it anyway. 
  Fixes bsc#1192316 - thanks to Kai Lappalainen

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=294
2022-09-15 17:27:37 +00:00
6672cdd2fe Accepting request 979137 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/979137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=22
2022-05-25 18:35:03 +00:00
eb0117b1aa Accepting request 977081 from home:klaernie:branches:server:monitoring
- 4.4.7 - 2022-04-14
  FIXES
  * Fixed checkboxes in jsonquery.html (#778) (Rfferrao87)
  * Added SSL support for version update check (Sebastian Wolf)
  * Note: NEB modules using the priority/scheduling queues in libnagios may need to update headers due to symbol conflicts with OpenSSL.
  * Fixed XSS in homepage when displaying update check results (Sebastian Wolf)
  * Fixed allocation error in getcgi.c (#820) (Ariadne Conill)
  * Fixed Error: NULL variable for lines of spaces in resource.cfg (#814) (Ralf Herrmann)
  * Fixed crash when handling large check output (#825, #828) (Kilvador)
  * Update packaging instructions for RPM/EPEL (#850) (T.J. Yang)
  * Include packaging instructions for DEB (#842) (Catfriend1)
  * Fixed CGI object processing when names end in \ (#819) (Sebastian Wolf)
  * $SERVICEPROBLEMID$ now accessible when notifications are sent (#688) (Sebastian Wolf)

OBS-URL: https://build.opensuse.org/request/show/977081
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=293
2022-05-25 07:24:00 +00:00
d675ea8545 Accepting request 928140 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/928140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=21
2021-10-29 20:34:36 +00:00
Lars Vogdt
b5987b2f0f Accepting request 925377 from home:jsegitz:branches:systemdhardening:server:monitoring
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort

OBS-URL: https://build.opensuse.org/request/show/925377
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=292
2021-10-29 13:54:27 +00:00
2d085d1be2 Accepting request 893800 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/893800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=20
2021-05-17 16:45:42 +00:00
Lars Vogdt
1824bdf35e add missing SUSE bugzilla number bsc#989759
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=291
2021-05-10 15:15:53 +00:00
Lars Vogdt
05b3c014f9 fix CVE number: (CVE-2020-13977, bsc#1172794)
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=290
2021-05-10 15:14:34 +00:00
Lars Vogdt
d8d8b98637 just adding missing SUSE bugzilla numbers
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=289
2021-05-10 15:10:58 +00:00
Lars Vogdt
535bd5024b - new nagios-exec-start-post script to fix bsc#1003362
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=288
2021-05-10 14:54:23 +00:00
Lars Vogdt
3f896befef fix the man page as well....
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=287
2021-05-10 11:36:17 +00:00
Lars Vogdt
7339bea2be - fix nagios_upgrade.sh writing to log file in user controlled
directory (bsc#1182398). The nagios_upgrade.sh script writes the 
  logfile directly below /var/log/

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=286
2021-05-10 11:31:10 +00:00
73bdc4c68f Accepting request 811250 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/811250
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=19
2020-06-04 15:55:19 +00:00
Lars Vogdt
36d3092d01 Accepting request 811168 from home:jsjhb:branches:server:monitoring
- 4.4.6
* Fixed Map display in Internet Explorer 11 (#714)
* Fixed duplicate properties appearing in statusjson.cgi (#718)
* Fixed NERD not building when enabled in ./configure (#723)
* Fixed build process when using GCC 10 (#721)
* Fixed postauth vulnerabilities in histogram.js, map.js, trends.js 
  (CVE-2020-1408)
* When using systemd, configuration will be verified before
  reloading (#715)
* Fixed HARD OK states triggering on the maximum check attempt (#757)

OBS-URL: https://build.opensuse.org/request/show/811168
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=285
2020-06-03 22:54:43 +00:00
6860a66829 Accepting request 793008 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/793008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=18
2020-04-14 13:09:26 +00:00
Lars Vogdt
ecd09d6089 Accepting request 792345 from home:rfrohl:branches:server:monitoring
add missing bug numbers, found in Leap submission

OBS-URL: https://build.opensuse.org/request/show/792345
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=284
2020-04-11 04:46:59 +00:00
230ff74b94 Accepting request 791853 from server:monitoring
- fix boo#1156309, CVE-2019-3698 : Symbolic Link (Symlink) following vulnerability in the cronjob allows local attackers to cause cause DoS or potentially escalate privileges by winning a race.
- enhance systemd service: check nagios config before reloading
- enable build for SLE11 by excluding some special macros and directories via 'sles_version != 11' condition
- add nagios-archive.service and nagios-archive.timer as replacement for the script in cron.weekly: no need for cron on systemd systems
- run set_permissions and verifyscript for /etc/cron.weekly on those  distributions that need it
- enhance rpmlint: ignore empty htpasswd file
- enable php apache module and not php5 on newer distributions
- try to harden the rcnagios script

OBS-URL: https://build.opensuse.org/request/show/791853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=17
2020-04-07 08:31:53 +00:00
Lars Vogdt
22d72b0d6b - enable build for SLE11 by excluding some special macros and
directories via 'sles_version != 11' condition
- add nagios-archive.service and nagios-archive.timer as replacement 
  for the script in cron.weekly: no need for cron on systemd systems
- run set_permissions and verifyscript for /etc/cron.weekly on those
  distributions that need it
- enhance rpmlint: ignore empty htpasswd file
- enable php apache module and not php5 on newer distributions
- try to harden the rcnagios script

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=283
2020-04-06 20:05:04 +00:00
Lars Vogdt
1fef56c2cb - enhance systemd service: check nagios config before reloading
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=282
2020-04-06 16:43:27 +00:00
Lars Vogdt
bcedfd92a4 - fix boo#1156309, CVE-2019-3698 : Symbolic Link (Symlink) following
vulnerability in the cronjob allows local attackers to cause cause 
  DoS or potentially escalate privileges by winning a race.

OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=281
2020-04-06 16:35:21 +00:00
2885f5d87e Accepting request 769779 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/769779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=16
2020-02-04 18:55:04 +00:00
Lars Vogdt
ab6348633c Accepting request 769646 from home:dimstar:Factory
Shortcut through -mini

OBS-URL: https://build.opensuse.org/request/show/769646
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=279
2020-02-03 19:42:08 +00:00
d025ee21e8 Accepting request 759028 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/759028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=15
2019-12-24 13:30:18 +00:00
Lars Vogdt
c778e0db4a Accepting request 758509 from home:jsjhb:branches:server:monitoring
- 4.4.5
* Reverted changes related to #625 due to CPU load issues
* Partially reverted changes for #647 due to CPU load issues
* Fixed "Quick Search" so that leading/trailing whitespace doesn't affect output (#681) (Sebastian Wolf)
* Fixed build issues on non-RPM-based platforms (#617) (T.J. Yang)
- 4.4.4 
* Fixed log rotation logic to not repeatedly schedule rotation on a DST change (#610, #626) (Jaroslav Jindrak & Sebastian Wolf)
* Fixed $SERVICEPROBLEMID$ to be reset after service recovery (#621) (Sebastian Wolf)
* Fixed defunct worker processes appearing after nagios was reloaded (#441, #620) (Sebastian Wolf)
* Fixed main nagios thread to release nagios.qh on a closed connection (#635) (Sebastian Wolf)
* Fixed semicolon escaping to remove prepended backslash (\) (#643) (Sebastian Wolf)
* Fixed 'Checks of this host have been disabled' message showing on passive-only hosts (#632) (Vojtěch Širůček & Sebastian Wolf)
* Fixed last_hard_state showing the current hard state when service status is brokered (#633) (Sebastian Wolf)
* Fixed long plugin output (>8KB) occasionally getting truncated (#625) (Sebastian Wolf)
* Fixed check scheduling for objects with large check_intervals and small timeperiods (#647) (Sebastian Wolf)
* Fixed SOFT recoveries sending when services had HARD recovery some time after host recovery (#651) (Sebastian Wolf)
* Fixed incorrect permissions on debugging builds of FreeBSD (#420) (Sebastian Wolf)
* Fixed NEB callback lists being partially orphaned when multiple modules subscribe to one callback (#590) (Sebastian Wolf)
* Fixed memory leaks in run_async_service_check(), run_async_host_check() when checks are brokered (#664) (Sebastian Wolf)
* Fixed potential XSS in main.php, map.php (#671, #672) (Jak Gibb)
* Removed NEB brokering for nagios daemonization, since daemonization occurs before NEB initialization (#591) (Sebastian Wolf)

OBS-URL: https://build.opensuse.org/request/show/758509
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=277
2019-12-23 20:16:43 +00:00
16f2e65e48 Accepting request 749850 from server:monitoring
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/749850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=14
2019-11-20 11:38:13 +00:00
60ec4d368b - compile with -ffat-lto-objects to prevent build failure
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=275
2019-11-13 08:31:21 +00:00
746c2abd97 Accepting request 728283 from server:monitoring
OBS-URL: https://build.opensuse.org/request/show/728283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nagios?expand=0&rev=13
2019-09-05 10:44:41 +00:00
caf1d18dae Accepting request 724762 from home:kukuk:cron
- Add /etc/cron.weekly to filelist, as this is now part of cron,
  which we don't want to require

OBS-URL: https://build.opensuse.org/request/show/724762
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/nagios?expand=0&rev=273
2019-09-04 12:44:08 +00:00