Bug 146081 - [MANTAINER UPDATE] net-mgmt/nagiosgraph to 1.4.2
Summary: [MANTAINER UPDATE] net-mgmt/nagiosgraph to 1.4.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-27 10:20 UTC by hizel
Modified: 2010-05-02 13:20 UTC (History)
0 users

See Also:


Attachments
file.diff (10.08 KB, patch)
2010-04-27 10:20 UTC, hizel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hizel 2010-04-27 10:20:02 UTC
* new configuration options (see nagiosgraph.conf for details):
     colormax (optional)
     colormin (optional)
     language (optional)
     showprocessingtime (optional)
     default_geometry (optional)
     cgilogfile (optional)
     authzmethod (optional)
* added access control.  there are two ways to define access controls.  the
   default is to use the access control built in to nagios.  this works for
   nagios 3 and perhaps for older nagios releases.  the other way is to use
   an access control file specific to nagiosgraph.
* added i18n.  this is a very basic, no-dependencies implementation.  the
   intent is to be completely self contained, add minimal overhead, and not
   break existing installations.  error messages are not translated.  the
   language is detected from the HTTP_ACCEPT_LANGUAGE variable.  this can
   be overridden by explicit cgi argument.  language can be forced by
   specifying it in the nagiosgraph configuration file.
* added labels file.  labels can be specified individually via cgi arguments
   or via configuration files for specific combinations of host/service/data.
   labels can be overridden for individual languages, independenly of i18n.
   labels in nagiosgraph.conf are now ignored.  move them to the labels file.
* recognize relative paths for configuration filenames.  prepend the config
   dir when relative paths are specified.
* include a line with the hostname in the input to the map rules.  this
   enables the use of map rules that are host-specific.  this is a significant
   change from the previous 3-line behavior, but it will not break existing
   map rules unless they depend on the line count.  having the host information
   also makes it easier to diagnose parsing issues when processing data.
* remove trailing newline from perfdata string.
* prevent name clashes between data set names by using qualified identifiers
   rather than just data names in graph definitions.  this enables graphing
   of data sources from multiple databases even if the data sources have the
   same name.
* optionally specify max/min colors that will be used for the withmaximums
   and withminimums services, respectively.
* optionally report processing time.  processing time does *not* include the
   time required by showgraph.cgi to generate all of the graphs.
* optionally specify a default width and height.
* hostdb.conf and servdb.conf are now optional.  if these files are not 
   specified, or if they contain no entries, then data for every service
   (showhost.cgi) and data for every host (showservice.cgi) will be
   displayed.  use the hostdb and servdb files to filter graphs and
   control the order in which graphs are shown.
* started refactoring of code to eliminate redundant trips to disk for 
   host/service/dataset listings and to enable pattern matching in
   the *db.conf files.
* contents of README.map are now in INSTALL
* display rrdgraph and other error messages if GD is installed.  log the
   error messages whether or not GD is installed.
* do not create data directories unless we really have to do so (fixes a
   longstanding permissions bug)
* use separate cgi log file to avoid permissions conflicts.  attempt to
   fallback gracefully when permissions are not configured properly.
* consolidated log file initialization.
* refactored error handling and reporting, should be more consistent now.
* refer to 'new style' and 'old style' processing as 'batch' and 'immediate'
* removed fixedscale from GUI.  it remains as a cgi argument for backward
   compatibility, but it is better to define fixed scale using rrdopts.
   the syntax is '-X 0'.
* check data source name when creating rrd files.  complain loudly and bail
   out if the name is invalid.
* be consistent in code and documentation for database and data source.
* added div to warn when nagiosgraph.js is not installed or wrong version.

Fix: Patch attached with submission follows:
Comment 1 hizel 2010-04-27 10:22:40 UTC
it's me, ok :)
Comment 2 hizel 2010-04-27 10:23:34 UTC
it's me, ok :)
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2010-04-27 16:22:42 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-05-02 13:11:13 UTC
miwi        2010-05-02 12:11:05 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/nagiosgraph Makefile distinfo pkg-plist 
    net-mgmt/nagiosgraph/files patch-etc-nagiosgraph.conf.in 
  Log:
  - Update to 1.4.2
  
  PR:             146081
  Submitted by:   Hizbulin Ildar <hizel@vyborg.ru> (maintainer)
  
  Revision  Changes    Path
  1.15      +7 -6      ports/net-mgmt/nagiosgraph/Makefile
  1.5       +3 -3      ports/net-mgmt/nagiosgraph/distinfo
  1.2       +45 -27    ports/net-mgmt/nagiosgraph/files/patch-etc-nagiosgraph.conf.in
  1.4       +22 -1     ports/net-mgmt/nagiosgraph/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2010-05-02 13:11:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!