Revisions of pnp4nagios

Eric Schirra's avatar Eric Schirra (ecsos) accepted request 1150788 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 108)
- Adjustments patch macro for rpm 4.20.
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 612917 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 107)
- Drop external kohana/koseven package and use instead kohana from
  pnp4nagios itself, because kohana is
  deprecated and koseven brings errors.
- fix build error for Tumbleweed and Leap 15.0 to use icinga2
  instead icinga.
Ruediger Oertel's avatar Ruediger Oertel (oertel) committed (revision 106)
- drop xinetd snippet for sle15
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 594856 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 105)
- fix build error for leap 42.3
- fix error message "cannot verify" at install time 
- switch from kohana2 to koseven
- fix build error for Leap 15.0 and Tumbleweed
- change url in spec to http://docs.pnp4nagios.org/
- update to 0.6.26
  * Bugfix: Use complete option arguments for compatibility with 
    rrdtool 1.6.0 (sbraz)
  * Bugfix: Zoom on a special template not possbile (stinnux)
  * Update: Update for FPDF (1.81) and FPDI (1.6.1) (Jan T. Bein )
  * Bugfix: address behaviour of rrdtool1.5+ tp not export timestamp by default 
  * Feature: Template for icinga2's built-in icinga check (Tontonitch)
  * Bugfix: fix non well formed numeric value encountered (sni)
- removed git-0a539e1c7ab03ec015c27e4ad0fe16343a98c269.patch
- removed pnp4nagios-0.6.25-missing-call-to-setgroups-before-setuid.patch
- fix build error for Factory and Tumbleweed
- add git-0a539e1c7ab03ec015c27e4ad0fe16343a98c269.patch
  for compatibility with rrdtool-1.6.0 
- Updated pnp4nagios-httpd.conf to support Apache 2.4 access control
  directives
- fix usermod by using the nagios-rpm-macros
- remove rpmlintrc warning
  - dangling symlink rcnpcd, rcpnp_gearman_worker
  - add missing pre and post for npcd, pnp_gearman_worker
  - uniform gearmon to gearman in all files
- add systemd specific files and build options
- the npcd init script should require the virtual monitoring_daemon
  instead of nagios to be able to run with icinga
- fix build error for multible choise of webfrontend
    (don't need prefer in project config)
- fix rpmlint warnings
  - set_permissions
  - verifyscript
- add BuildRequires: -post-build-checks < 1310 to build
  openSUSE <=13.1 in pnp4nagios-nagios and pnp4nagios-icincga
- add missing permissions for pnp4nagios_perfdata_spooldir
  im permissions files
- add creating missing usergroup command_group
- update to 0.6.25:
  + Update: FPDF Update to Version 1.7
  + Bugfix: Default source fixed by AWiddersheim
  + Bugfix: Fixed urlencoding of Host- and Servicenames by Andreas Doehler
  + Bugfix: Fixed Timeranges by AWiddersheim
- removed pnp4nagios-0.6.24_fix_custom_timeframe.diff (fix upstream)
- added pnp4nagios-0.6.25-missing-call-to-setgroups-before-setuid.patch
  to circumvent possible problems with the setsid() call
- fix spelling of SUSE README files
- directories of special subpackages should belong to the "command group"
  not the user group of icinga or nagios itself
- fix build error for opensuse, because of multible choise 
  of webfrontend
- fix custom timerange handling (upstream bug #82/84)
- package pnp_gearmon_worker files in a separate package and make
  the requirement to perl(Gearman::Worker) a hard one
- added pnp_gearmon_worker init script and sysconfig file (as we 
  want to define the user process_perfdata.pl is running as not 
  inside the init script). Also added a short section about this
  in the README.SUSE file.
- recommend perl(Gearman::Worker) as this is needed for 
  pnp_gearmon_worker 
- BuildRequire the more generic monitoring_webfrontend instead of 
  the dropped nagios-www (use the OBS prjconf to define the one 
  which is choosen)
- update to 0.6.24:
  + Bugfix:  Fixed some more XSS issues
  + Bugfix:  Fixed PHP issue while running on PHP 5.6
- rename nagios-plugins-pnp_rrds to monitoring-plugins-pnp_rrds
- also package the verify_pnp_config script in bindir
- update to 0.6.22:
  + Bugfix: Fixed livestatus socket parsing ( Pekka Panula )
  + Bugfix: Update check_mssql_health.php ( Miriam Zenk )
  + Feature: Add “version=tiny” to got get a stripped down version
             of graph ( Ricardo Bartels )
  + feature: Add STDIN Mode to process_perfdata.pl ( Robert Steininger )
  + Bugfix: XSS issue fixed by Mikael Falkvidd. This issue was 
            detected by Peter Österberg at Hexbit AB in a security
            assessment of op5 Monitor 6.3 on assignment by op5 AB.
- fix build errors by running 09-check-packaged-twice
- create two new subpackages for Icinga and Nagios users:
  pnp4nagios-icinga and pnp4nagios-nagios contain the directories 
  (and files) that are different as result of different users and 
  groups of those two main monitoring packages
- remove logrotate source file and create it inside the spec file
  instead 
- added permissions file for Icinga users 
  (/var/lib/pnp4nagios* should be owned by icinga in this case)
- added logrotate snipplet for perfdata.log (which is disabled 
  by default)
- added README.SuSE-Icinga
- fix path to livestatus socket in config*.php
- update to 0.6.21:
  + Feature: Helper functions rrd::alerter and rrd:alerter_gr both 
             supports treshold detection
  + Update:  jQuery Mobile update to 1.3.0
- update to 0.6.20:
  + Feature: Support check_mk Multisite Cookie Auth (Lars Michelsen)
  + Feature: Allow RRD unknown values (Simon Meggle)
  + feature: Interactive delete mode added to check_rrds.pl (Simon Meggle)
  + Bugfix:  Allow multiple gearman servers (Craig Barraclough)
  + Bugfix:  Fixed Graph Search (Stefan Triep)
  + Update:  jQuery update to 1.8.1
  + Update:  jQueryUI update to 1.8.23 
- fix the apache configuration to work as include also with enabled
  SSL 
- fix wrong rewrite base PKG_NAME in apache config
- update to 0.6.19:
  + Bugfix:  socketDOMAIN changed to AF_INET while using livstatus 
             tcp socket ( Rene Koch )
  + Fix:     simplify/improve apache rules (Christoph Anton Mitterer)
  + Fix:     Check for missing PHP GD functions
  + Feature: Parameter "width" added to popup controller (Andreas Doehler)
- only place check_pnp_rrds.pl in nagios-plugins-pnp_rrds
- update to 0.6.18:
  * Bugfix:  Fixed STORAGE_TYPE and CUSTOM_TEMPLATE vars used in 
             custom templates
  * Bugfix:  Blank screen on PHP 5.4 fixed
  * Feature: Allow multiple gearman job servers
  * Feature: New helper function rrd::debug()
  * Feature: New templates check_jmx4perl_*.php
- update to 0.6.17:
  * Bugfix: Fixed rrd_convert.pl while running with –dry-run
  * Bugfix: logging.c include missing header files ( Lars Vogdt )
  * Bugfix: Check if pnp4nagios/etc/rra.cfg is readable
  * Bugfix: rrd_convert.pl use XML tag TEMPLATE instead of 
            CHECKCOMMAND to selects RRDs ( Sven Velt )
  * Feature: npcdmod.o increase perfdata buffer and log discarded 
             perfdata ( Birger Schmidt )
  * Feature: rrd_modify.pl to change number of data sources of an 
             RRD file
  * Feature: New template check_apachestatus_auto.php
  * Feature: Implement etc/config.d to place config snippets 
             ( Lars Michelsen ) 
- disabled recommendation of nagios-www as pnp4nagios can also be 
  installed with icinga. But the recommends triggers the installation 
  of nagios even in this case.
  We might think about a virtual "Provides: monitoring" later, but 
  first fix the current problem.
- print a warning, if old /etc/nagios/pnp directory is still there
- update to 0.6.16:
  * Bugfix:  Fixed single quoted check_multi labels 
             (Reported by Matthias Flacke)
  * Bugfix:  Append missing slash to perfdata_spool_dir 
             (Reported by Juergen-Michael Radtke)
  * Bugfix:  Fixed jQuery-ui multisite theme
  * Feature: PDF margins are now adjustable via config.php 
             (Thomas Witzenrath)
  * Feature: Support for PDF size 'letter' added ( Robert Becht )
- use nagios-rpm-macros to export some internal directories and 
  filenames used/defined during build, so other applications can 
  make use of them
- just recommend nagios-www to allow clean icinga installation
- use macros from nagios-rpm-macros package
- added xinetd file
- rework patches
- update to 0.6.15:
  + new Webinterface for mobile devices based on jQuery Mobile
  + Zoom based on jQuery plugin imgAreaSelect
  + New template check_mssql_health.php
  + "Clear basket" button added
  + New helper function "rrd::alerter_gr()"
  + Helper rrd::vdef() fixed
  + Fixed Overview link 
  + Fixed zoom popup
  + Fixed double urlencode() 
- rewrite of the package:
  + use /etc/pnp4nagios as config directory
  + webui is now located in /usr/share/pnp4nagios
  + use own logdir /var/log/pnp4nagios
  + use own spooldir /var/spool/pnp4nagios
  + use own dir for rrds /var/lib/pnp4nagios
- update to 0.6.13:
  + New option --ignore-hosts added to check_pnp_rrds.pl
  + New options zgraph_width and zgraph_height in config.php
  + rrd_convert.pl: parse_xml_filename() regex fix
  + mod_gearman support added
  + rrd_convert.pl is now able to convert all RRDs from 
    RRD_STORAGE_TYPE=SINGLE to RRD_STORAGE_TYPE=MULTIPLE
  + New template check_gearman.php
  + rrd_convert.pl is now able to parse xml dumps created 
    by rrdtool 1.4.x
  + process_perfdata.pl default timeout value set to 15 seconds
- remove duplicated Alias definition from apache config
- enable pnp4nagios in apache during first install
- update to 0.6.4:
  + Update: jQuery Update to 1.4.2
  + Update: jQuery-ui Update to 1.8
  + Feature: New configure Option --with-base-url
  + Template: New template check_ntp_time.php (Mathias Kettner)
  + Feature: New i18n files for fr_FR (Yannig Parre)
  + Feature: New jQuery Theme 'multisite'
- rebased patches
- added Should-Stop to init script
- update to 0.6.3:
  + Feature: New helper script libexec/rrd_convert.pl
  + Feature: XML_WRITE_DELAY option added to process_perfdata.cfg 
    as suggested by Mathias Kettner
  + Feature: New template integer.php 
  + Feature: PNP will now work with lighttpd and php-cgi
  + Feature: PNP will now work without mod_rewrite 
  + Update: FPDI update to 1.3.1
  + Template: check_mk-ps.perf.php added ( by Mathias Kettner )
  * Template: New template check_hpasm.php
  * Template: Updates for check_openmanage.php, check_hp_bladecenter.php 
              and check_dell_baldecenter.php
  * Workaround: Allow "trailing unfilled semicolons". 
                Workaround for nsclient++
  * Bugfix: Installer now checks for json_decode()
  * Bugfix: Ignore old XML files while building the service list
  + Bugfix: Wrong pdf link used on site 'pages' and 'basket'
  + Bugfix: Incorrect group permissions on spool directory
- update to 0.6.1
  + Webfrontend based on http://www.kohanaphp.com (separate package)
  + Javascript-functions using jQuery plugins
  + process_perfdata.pl will be able to use one RRD database 
    per datasource
  + RRDtool errors are now displayed as images. no more missing images
  + PNP templates cannot overwrite internal variables anymore
  + PNP templates of version 0.4.x can still be used
  + PDF functions recoded
  + Template default.php optimized
  + Export from RRD databases into XML, CSV and JSON format using the 
    RRDtool "xport" function
  + Page functions recoded
  + Error pages links to online FAQ
  + Mouseover Popup in Nagios frontend via jQuery.clueTip plugin
  + Full support of rrdcached
  + RRD heartbeat per check_command -> tpl_custom
  + New config.php option pdf_graph_opt
  + Recognize the 'background_pdf' option in page definitions
  + Recognize the 'source' option in page definitions
  + Array $TIMERANGE now available for templates
  + Store internal runtime statistics on a per minute base
  + Added two widgets views/widget_menu.php and views/widget_graph.php
- improved apache include config
- pnp4nagios requires kohana now
- update to 0.4.14:
  + Use Nagios TIMET Macro while creating new RRD Databases.
  + New config option enable_recursive_template_search.
  + Better signal handling in process_perfdata.pl
  + FIX: Optimized check_multi detection.
  + FIX: Popups are now working with IE.
  + RRA config per check_command.
- recommend dejavu
- enhance the command template for users using NPCD to process
  their performance data.
- update to 0.4.13:
  + Overlib 4.21 included http://www.bosrup.com/web/overlib/
  + Prototype Ajax Framework 1.6.0.3 included http://www.prototypejs.org/
  + Script.aculo.us Update to 1.8.1
  + FIX: Function rrd_fetch renamed to rrdtool_fetch to avoid 
    naming conflict
  + Experimental: New npcd Event Broker Module - handle with care
  + Experimental: New special templates stored in templates.special
  + FIX: autoconf detection for getloadavg() - ignore 
    loadthreshold if not available
  + FIX: Host OS Detection for mod_cflags/mod_ldflags
 
- update to 0.4.12:
  + Remove Call-time pass-by-reference 
  + FIX: Fixed wrong check_multi service description 
  + FIX: Fixed page config parser 
- add <IfDefine PNP4NAGIOS> to the apache configuration to 
  avoid startup problems if SSL is enabled and no SSLKey is 
  available for this config.
- update to 0.4.10:
  + BUGFIX: Fixed wrong link to avail.cgi used on pages.
  + BUGFIX: Don´t exit process_perfdata.pl when process_perfdata.cfg 
    is missig.
  + Report missing RRDs Perl Modules.
- update to 0.4.9:
  + process_perfdata.pl results in timeouts and broken XML files 
    caused by missing RRDs Perl Modules
- removed pnp-0.4.7-buffer_overflow.patch
- update to 0.4.8:
  + New process_perfdata.pl option -c [–config] to specify an 
    alternate config file. 
  + France Translation added by Jean-Marie Le Borgne 
  + XML Encoding can now be changed by using XML_ENC in 
    process_perfdata.cfg 
  + Set SetAutoPageBreak() in doPDF function. 
  + New Option background_pdf can be used in page definitions to 
    override the defaults. 
  + process_perfdata.cfg: Option RRD_HEARTBEAT added. 
  + New NPCD Option: sleep_time 
  + Fixed process_perfdata.pl race condition: config file timeout 
    now won't be ignored 
  + Backslashes used in service descriptions are now substituted 
    to underscores.
- fix directory ownership
- fix execute bits for process_perfdata.pl
- safe_mode must currently be off to keep it easily running
- added nagios-pnp.cfg containing command definitions
- update to 0.4.7:
  + Fixed compiler errors on Solaris
  + Switched to autoconf 2.61
  + Fixed is_file() on older SuSE releases
- update to 0.4.6:
  + XML Tag <RRD> reflects the last rrdtool returncode and text.
  + parse_xml() cleanup.
  + Improved check_multi support.
  + Calendar added to all views.
  + New Icons based on KDE Theme nuvoX.
  + Fixed libpng write errors.
  + Added suport for threshold range format
  + New Template check_snmp_int-bits.php. 
    Output is displayed in Bits/s
  + NPCD now takes care about the exit status 
    of the executed command
  + No more PID File creation without Daemon Mode
  + Load thresholding through config file (experimental)
  + No try to write PID File after a HUP Signal
  + File Log is now ready for testing
  + Rotation of logfile
  + New configure option: –with-perfdata-spool-dir
  + Stay in the current timerange when switching between pages
  + New Configure Option –with-init-dir
- initial release 0.4.3
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 589654 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 104)
- fix error message "cannot verify" at install time 
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 588564 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 103)
- switch from kohana2 to koseven
kohana is dead.
Koseven is a PHP framework based on defunct Kohana 3.3.X . Fully compatible with Kohana and updated to work with PHP7
Eric Schirra's avatar Eric Schirra (ecsos) committed (revision 102)
Eric Schirra's avatar Eric Schirra (ecsos) committed (revision 101)
Eric Schirra's avatar Eric Schirra (ecsos) committed (revision 100)
Eric Schirra's avatar Eric Schirra (ecsos) committed (revision 99)
Lars Vogdt's avatar Lars Vogdt (lrupp) committed (revision 98)
really remove upstreamed patch
Lars Vogdt's avatar Lars Vogdt (lrupp) committed (revision 97)
- update to 0.6.26
  * Bugfix: Use complete option arguments for compatibility with 
    rrdtool 1.6.0 (sbraz)
  * Bugfix: Zoom on a special template not possbile (stinnux)
  * Update: Update for FPDF (1.81) and FPDI (1.6.1) (Jan T. Bein )
  * Bugfix: address behaviour of rrdtool1.5+ tp not export timestamp by default 
  * Feature: Template for icinga2's built-in icinga check (Tontonitch)
  * Bugfix: fix non well formed numeric value encountered (sni)
- removed git-0a539e1c7ab03ec015c27e4ad0fe16343a98c269.patch
- removed pnp4nagios-0.6.25-missing-call-to-setgroups-before-setuid.patch
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 506384 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 96)
fix build error for Factory and Tumbleweed
Ruediger Oertel's avatar Ruediger Oertel (oertel) committed (revision 95)
- add git-0a539e1c7ab03ec015c27e4ad0fe16343a98c269.patch
  for compatibility with rrdtool-1.6.0
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 344715 from Lenz Grimmer's avatar Lenz Grimmer (LenzGr) (revision 94)
Updated pnp4nagios-httpd.conf to support Apache 2.4 access control directives.
Lars Vogdt's avatar Lars Vogdt (lrupp) committed (revision 93)
- fix usermod by using the nagios-rpm-macros
Eric Schirra's avatar Eric Schirra (ecsos) accepted request 283263 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 92)
- remove rpmlintrc warning
  - dangling symlink rcnpcd, rcpnp_gearman_worker
  - add missing pre and post for npcd, pnp_gearman_worker
  - uniform gearmon to gearman in all files
Lars Vogdt's avatar Lars Vogdt (lrupp) committed (revision 91)
- add systemd specific files and build options
- the npcd init script should require the virtual monitoring_daemon
  instead of nagios to be able to run with icinga
Lars Vogdt's avatar Lars Vogdt (lrupp) accepted request 281582 from Eric Schirra's avatar Eric Schirra (ecsos) (revision 90)
You are right lrupp. Now i added again. And i fix some more failure with rights.

- fix build error for multible choise of webfrontend
    (don't need prefer in project config)
- fix rpmlint warnings
  - set_permissions
  - verifyscript
- add BuildRequires: -post-build-checks < 1310 to build
  openSUSE <=13.1 in pnp4nagios-nagios and pnp4nagios-icincga
- add missing permissions for pnp4nagios_perfdata_spooldir
  im permissions files
- add creating missing usergroup command_group

I find no other solutions as "BuildRequires: -post-build-checks" to build package for openSUSE_13.1. The build errror for 13.1 comes in check 09-check-packaged-twice. But only in 13.1, not in 13.2 or factory.
Lars Vogdt's avatar Lars Vogdt (lrupp) committed (revision 89)
- update to 0.6.25:
  + Update: FPDF Update to Version 1.7
  + Bugfix: Default source fixed by AWiddersheim
  + Bugfix: Fixed urlencoding of Host- and Servicenames by Andreas Doehler
  + Bugfix: Fixed Timeranges by AWiddersheim
- removed pnp4nagios-0.6.24_fix_custom_timeframe.diff (fix upstream)
- added pnp4nagios-0.6.25-missing-call-to-setgroups-before-setuid.patch
  to circumvent possible problems with the setsid() call
- fix spelling of SUSE README files
- directories of special subpackages should belong to the "command group"
  not the user group of icinga or nagios itself
Displaying revisions 1 - 20 of 108
openSUSE Build Service is sponsored by