Hello community,

here is the log from the commit of package ndoutils for openSUSE:Factory 
checked in at 2014-03-10 12:38:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ndoutils (Old)
 and      /work/SRC/openSUSE:Factory/.ndoutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ndoutils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ndoutils/ndoutils.changes        2013-08-13 
10:47:30.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.ndoutils.new/ndoutils.changes   2014-03-10 
12:38:48.000000000 +0100
@@ -1,0 +2,19 @@
+Sun Mar  2 17:12:29 UTC 2014 - [email protected]
+
+- update to 2.0.0:
+  + Updated database schema upgrade script to support multiple 
+    updates (Eric Stanley, Scott Wilkerson)
+  + Added data serialization functions (Eric Stanley)
+  + Added new Nagios Core 4 attributes: importance values, 
+    service parents (Eric Stanley)
+  + Resolved tracker items #374 and #118 by adding auto-trimming 
+    options (Mike Guthrie)
+  + Replaced ndomod.cfg data_processing_options variable with 
+    single options (Mike Guthrie)
+  + Updated to work with Nagios Core 4 (Eric Stanley)
+  + Replaced ndomod.cfg data_processing_options variable with single 
+    options for easier customization (See README) (Mike Guthrie)
+  + Added missing maintenance options for table trimming (Mike Guthrie)
+- refreshed patches
+
+-------------------------------------------------------------------

Old:
----
  ndoutils-1.4b9-libpq-fe-include.patch
  ndoutils-1.5-return-non-void-queue.patch
  ndoutils-1.5.2.tar.gz
  ndoutils-README.SuSE

New:
----
  ndoutils-2.0.0-libpq-fe-include.patch
  ndoutils-2.0.0-return-non-void-queue.patch
  ndoutils-2.0.0.tar.bz2
  ndoutils-README.SUSE

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ndoutils.spec ++++++
--- /var/tmp/diff_new_pack.ncYj0L/_old  2014-03-10 12:38:49.000000000 +0100
+++ /var/tmp/diff_new_pack.ncYj0L/_new  2014-03-10 12:38:49.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ndoutils
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,17 +20,17 @@
 Summary:        Nagios v3.x Data Output Utilities
 License:        GPL-2.0+
 Group:          System/Monitoring
-Version:        1.5.2
+Version:        2.0.0
 Release:        0
 Url:            http://www.nagios.org/
-Source0:        %{name}-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.bz2
 
 Source1:        %{name}-init
-Source2:        ndoutils-README.SuSE
+Source2:        ndoutils-README.SUSE
 Source3:        ndoutils-rpmlintrc
 # PATCH-MISSING-TAG -- See 
http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines
-Patch0:         ndoutils-1.4b9-libpq-fe-include.patch
-Patch1:         ndoutils-1.5-return-non-void-queue.patch
+Patch0:         ndoutils-2.0.0-libpq-fe-include.patch
+Patch1:         ndoutils-2.0.0-return-non-void-queue.patch
 Requires(pre):  %insserv_prereq
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  nagios-rpm-macros
@@ -76,9 +76,9 @@
 
 %prep
 %setup -q
-%patch0
+%patch0 -p1
 %patch1
-install -m644 %{SOURCE2} README.SuSE
+install -m644 %{SOURCE2} README.SUSE
 ## rpmlint
 # wrong-file-end-of-line-encoding
 pushd docs/docbook/en-en

++++++ ndoutils-1.4b9-libpq-fe-include.patch -> 
ndoutils-2.0.0-libpq-fe-include.patch ++++++
--- /work/SRC/openSUSE:Factory/ndoutils/ndoutils-1.4b9-libpq-fe-include.patch   
2011-09-23 02:14:20.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.ndoutils.new/ndoutils-2.0.0-libpq-fe-include.patch  
    2014-03-10 12:38:48.000000000 +0100
@@ -1,6 +1,8 @@
---- include/config.h.in.orig   2009-09-15 12:04:35.000000000 +0000
-+++ include/config.h.in        2009-12-20 18:51:44.311189984 +0000
-@@ -265,7 +265,7 @@
+Index: ndoutils-2.0.0/include/config.h.in
+===================================================================
+--- ndoutils-2.0.0.orig/include/config.h.in
++++ ndoutils-2.0.0/include/config.h.in
+@@ -265,7 +265,7 @@ typedef int int32_t;
  #undef HAVE_PGSQL
  #ifdef USE_PGSQL
  #define HAVE_PGSQL 1

++++++ ndoutils-1.5-return-non-void-queue.patch -> 
ndoutils-2.0.0-return-non-void-queue.patch ++++++
--- 
/work/SRC/openSUSE:Factory/ndoutils/ndoutils-1.5-return-non-void-queue.patch    
    2013-08-13 10:47:30.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.ndoutils.new/ndoutils-2.0.0-return-non-void-queue.patch
 2014-03-10 12:38:48.000000000 +0100
@@ -1,6 +1,8 @@
---- src/queue.c.orig   2012-06-07 06:21:50.000000000 -0400
-+++ src/queue.c        2013-03-09 14:15:32.455341470 -0500
-@@ -32,7 +32,7 @@
+Index: src/queue.c
+===================================================================
+--- src/queue.c.orig
++++ src/queue.c
+@@ -32,7 +32,7 @@ void del_queue() {
        }
  }
  
@@ -9,9 +11,11 @@
        key_t key = ftok(NDO_QUEUE_PATH, NDO_QUEUE_ID+id);
  
        if ((queue_id = msgget(key, IPC_CREAT | 0600)) < 0) {
---- include/queue.h.orig       2012-02-03 11:53:16.000000000 -0500
-+++ include/queue.h    2013-03-09 14:15:45.971602027 -0500
-@@ -16,7 +16,7 @@
+Index: include/queue.h
+===================================================================
+--- include/queue.h.orig
++++ include/queue.h
+@@ -16,7 +16,7 @@ struct queue_msg
  void del_queue();
  
  /* initialize new queue or open existing */

++++++ ndoutils-1.5.2.tar.gz -> ndoutils-2.0.0.tar.bz2 ++++++
++++ 17770 lines of diff (skipped)

++++++ ndoutils-README.SUSE ++++++
Hi

Please note, that ndoutils is currently not really 
in a stable state!

To check the status of the ndo2db daemon, just try 
one of the tips from Tom Throckmorton:

"I'm using check_mysql_query to check that db updates aren't stale:

  check_mysql_query -H naghost -d <nagios_db> -u <readonlyuser> -p <somepass> \
  -q "SELECT NOW() - status_update_time FROM nagios_programstatus" -w 120 -c 300

If ndo2db is dead/failed to start, or there are other issues (corrupt tables),
I believe this will catch it.  You could also do something like watch the 
nagios.log
for the dreaded "unable to connect to data sink" message, or check that the
ndo2db process is running, though I'm finding that checking the db for
freshness is a good indicator."

Have a lot of fun!

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to