{"action":"created","issue":{"url":"https://api.github.com/repos/NagiosEnterprises/ndoutils/issues/21","repository_url":"https://api.github.com/repos/NagiosEnterprises/ndoutils","labels_url":"https://api.github.com/repos/NagiosEnterprises/ndoutils/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/NagiosEnterprises/ndoutils/issues/21/comments","events_url":"https://api.github.com/repos/NagiosEnterprises/ndoutils/issues/21/events","html_url":"https://github.com/NagiosEnterprises/ndoutils/issues/21","id":181073719,"number":21,"title":"Module ndomod.o is using an old or unspecified version of the event broker API.  Module will be unloaded.","user":{"login":"box293","id":8356113,"avatar_url":"https://avatars.githubusercontent.com/u/8356113?v=3","gravatar_id":"","url":"https://api.github.com/users/box293","html_url":"https://github.com/box293","followers_url":"https://api.github.com/users/box293/followers","following_url":"https://api.github.com/users/box293/following{/other_user}","gists_url":"https://api.github.com/users/box293/gists{/gist_id}","starred_url":"https://api.github.com/users/box293/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box293/subscriptions","organizations_url":"https://api.github.com/users/box293/orgs","repos_url":"https://api.github.com/users/box293/repos","events_url":"https://api.github.com/users/box293/events{/privacy}","received_events_url":"https://api.github.com/users/box293/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-05T06:21:28Z","updated_at":"2016-10-18T00:59:03Z","closed_at":null,"body":"I'm seeing this on FreeBSD:\r\n\r\n```\r\n[1475647908] Nagios 4.2.1 starting... (PID=565)\r\n[1475647908] Local time is Wed Oct 05 17:11:48 AEDT 2016\r\n[1475647908] LOG VERSION: 2.0\r\n[1475647908] qh: Socket '/usr/local/nagios/var/rw/nagios.qh' successfully initialized\r\n[1475647908] qh: core query handler registered\r\n[1475647908] nerd: Channel hostchecks registered successfully\r\n[1475647908] nerd: Channel servicechecks registered successfully\r\n[1475647908] nerd: Channel opathchecks registered successfully\r\n[1475647908] nerd: Fully initialized and ready to rock!\r\n[1475647908] wproc: Successfully registered manager as @wproc with query handler\r\n[1475647908] wproc: Registry request: name=Core Worker 573;pid=573\r\n[1475647908] wproc: Registry request: name=Core Worker 574;pid=574\r\n[1475647908] wproc: Registry request: name=Core Worker 575;pid=575\r\n[1475647908] wproc: Registry request: name=Core Worker 572;pid=572\r\n[1475647908] Error: Module '/usr/local/nagios/bin/ndomod.o' is using an old or unspecified version of the event broker API.  Module will be unloaded.\r\n[1475647908] Caught SIGSEGV, shutting down...\r\n```\r\n\r\nNagios 4.2.1 on FreeBSD 10.3 using NDOUtils in the maint branch."},"comment":{"url":"https://api.github.com/repos/NagiosEnterprises/ndoutils/issues/comments/254377489","html_url":"https://github.com/NagiosEnterprises/ndoutils/issues/21#issuecomment-254377489","issue_url":"https://api.github.com/repos/NagiosEnterprises/ndoutils/issues/21","id":254377489,"user":{"login":"box293","id":8356113,"avatar_url":"https://avatars.githubusercontent.com/u/8356113?v=3","gravatar_id":"","url":"https://api.github.com/users/box293","html_url":"https://github.com/box293","followers_url":"https://api.github.com/users/box293/followers","following_url":"https://api.github.com/users/box293/following{/other_user}","gists_url":"https://api.github.com/users/box293/gists{/gist_id}","starred_url":"https://api.github.com/users/box293/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/box293/subscriptions","organizations_url":"https://api.github.com/users/box293/orgs","repos_url":"https://api.github.com/users/box293/repos","events_url":"https://api.github.com/users/box293/events{/privacy}","received_events_url":"https://api.github.com/users/box293/received_events","type":"User","site_admin":false},"created_at":"2016-10-18T00:59:03Z","updated_at":"2016-10-18T00:59:03Z","body":"Yes I believe it did:\r\n```\r\nroot@core-037:/tmp/ndoutils-maint # gmake install\r\ncd ./src && gmake install\r\ngmake[1]: Entering directory '/tmp/ndoutils-maint/src'\r\n/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var\r\n/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin\r\n/usr/bin/install -c -m 755 -o nagios -g nagios ndo2db-4x /usr/local/nagios/bin/ndo2db\r\n/usr/bin/install -c -m 755 -o nagios -g nagios ndomod-4x.o /usr/local/nagios/bin/ndomod.o\r\n/usr/bin/install -c -m 774 -o nagios -g nagios file2sock /usr/local/nagios/bin\r\n/usr/bin/install -c -m 774 -o nagios -g nagios log2ndo /usr/local/nagios/bin\r\n/usr/bin/install -c -m 774 -o nagios -g nagios sockdebug /usr/local/nagios/bin\r\n\r\n  Hint: NDOUtils Installation against Nagios v4.x\r\n  completed.\r\n\r\n  If you want to install NDOUtils for Nagios v3.x\r\n  please type  'make install-3x\r\n\r\n  If you want to install NDOUtils for Nagios v2.x\r\n  please type  'make install-2x\r\n\r\n\r\n  Next step should be the database initialization/upgrade\r\n  cd into the db/ directory and either:\r\n     ./installdb  (for a new installation) or:\r\n     ./upgradedb  (for an existing one)\r\n\r\ngmake[1]: Leaving directory '/tmp/ndoutils-maint/src'\r\n\r\nMain NDOUtils components installed\r\n\r\nroot@core-037:/tmp/ndoutils-maint # \r\n```\r\n\r\nHere are all the steps performed with all the output using the maint branch:\r\n```\r\nroot@core-037:~ # cd /tmp\r\nroot@core-037:/tmp # wget https://github.com/NagiosEnterprises/ndoutils/archive/maint.zip\r\n--2016-10-18 11:50:35--  https://github.com/NagiosEnterprises/ndoutils/archive/maint.zip\r\nResolving github.com (github.com)... 192.30.253.113\r\nConnecting to github.com (github.com)|192.30.253.113|:443... connected.\r\nHTTP request sent, awaiting response... 302 Found\r\nLocation: https://codeload.github.com/NagiosEnterprises/ndoutils/zip/maint [following]\r\n--2016-10-18 11:50:36--  https://codeload.github.com/NagiosEnterprises/ndoutils/zip/maint\r\nResolving codeload.github.com (codeload.github.com)... 192.30.253.121\r\nConnecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... connected.\r\nHTTP request sent, awaiting response... 200 OK\r\nLength: unspecified [application/zip]\r\nSaving to: 'maint.zip'\r\n\r\nmaint.zip                         [                  <=>                            ]   2.28M   519KB/s   in 4.8s   \r\n\r\n2016-10-18 11:50:42 (491 KB/s) - 'maint.zip' saved [2394476]\r\n\r\nroot@core-037:/tmp # unzip maint.zip \r\nArchive:  maint.zip\r\nd ndoutils-maint\r\n extracting: ndoutils-maint/.gitignore  \r\n extracting: ndoutils-maint/Changelog  \r\n extracting: ndoutils-maint/LEGAL  \r\n extracting: ndoutils-maint/LICENSE  \r\n extracting: ndoutils-maint/Makefile.in  \r\n extracting: ndoutils-maint/README  \r\n extracting: ndoutils-maint/REQUIREMENTS  \r\n extracting: ndoutils-maint/THANKS  \r\n extracting: ndoutils-maint/TODO  \r\n extracting: ndoutils-maint/UPGRADING  \r\n extracting: ndoutils-maint/aclocal.m4  \r\n extracting: ndoutils-maint/config.guess  \r\n extracting: ndoutils-maint/config.sub  \r\nd ndoutils-maint/config\r\n extracting: ndoutils-maint/config/misccommands.cfg.in  \r\n extracting: ndoutils-maint/config/nagios.cfg.in  \r\n extracting: ndoutils-maint/config/ndo2db.cfg-sample.in  \r\n extracting: ndoutils-maint/config/ndomod.cfg-sample.in  \r\n extracting: ndoutils-maint/configure  \r\n extracting: ndoutils-maint/configure.ac  \r\nd ndoutils-maint/db\r\n extracting: ndoutils-maint/db/README  \r\n extracting: ndoutils-maint/db/installdb  \r\n extracting: ndoutils-maint/db/mysql-mods-1.4b5.sql  \r\n extracting: ndoutils-maint/db/mysql-mods-1.4b7.sql  \r\n extracting: ndoutils-maint/db/mysql-mods-1.4b8.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-1.3.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-1.4b1.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-1.4b2.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-1.4b3.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-1.4b4.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-1.4b5.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-1.4b6.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-1.4b8.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-2.0.0.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-2.0.1.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-2.1.0.sql  \r\n extracting: ndoutils-maint/db/mysql-upgrade-2.1.2.sql  \r\n extracting: ndoutils-maint/db/mysql.sql  \r\n extracting: ndoutils-maint/db/prepsql  \r\nd ndoutils-maint/db/queries\r\n extracting: ndoutils-maint/db/queries/comment_history.sql  \r\n extracting: ndoutils-maint/db/queries/comments.sql  \r\n extracting: ndoutils-maint/db/queries/contact_notification_methods.sql  \r\n extracting: ndoutils-maint/db/queries/contact_notifications.sql  \r\n extracting: ndoutils-maint/db/queries/contact_status.sql  \r\n extracting: ndoutils-maint/db/queries/contactgroup_membership.sql  \r\n extracting: ndoutils-maint/db/queries/contacts.sql  \r\n extracting: ndoutils-maint/db/queries/downtime_history.sql  \r\n extracting: ndoutils-maint/db/queries/event_handlers.sql  \r\n extracting: ndoutils-maint/db/queries/flapping_history.sql  \r\n extracting: ndoutils-maint/db/queries/host_comments.sql  \r\n extracting: ndoutils-maint/db/queries/host_downtime_history.sql  \r\n extracting: ndoutils-maint/db/queries/host_event_handlers.sql  \r\n extracting: ndoutils-maint/db/queries/host_flapping_history.sql  \r\n extracting: ndoutils-maint/db/queries/host_notifications.sql  \r\n extracting: ndoutils-maint/db/queries/host_state_history.sql  \r\n extracting: ndoutils-maint/db/queries/host_status.sql  \r\n extracting: ndoutils-maint/db/queries/hostgroup_membership.sql  \r\n extracting: ndoutils-maint/db/queries/hosts.sql  \r\n extracting: ndoutils-maint/db/queries/notifications.sql  \r\n extracting: ndoutils-maint/db/queries/scheduled_downtime.sql  \r\n extracting: ndoutils-maint/db/queries/service_comments.sql  \r\n extracting: ndoutils-maint/db/queries/service_downtime_history.sql  \r\n extracting: ndoutils-maint/db/queries/service_event_handlers.sql  \r\n extracting: ndoutils-maint/db/queries/service_flapping_history.sql  \r\n extracting: ndoutils-maint/db/queries/service_notifications.sql  \r\n extracting: ndoutils-maint/db/queries/service_state_history.sql  \r\n extracting: ndoutils-maint/db/queries/service_status.sql  \r\n extracting: ndoutils-maint/db/queries/servicegroup_membership.sql  \r\n extracting: ndoutils-maint/db/queries/services.sql  \r\n extracting: ndoutils-maint/db/queries/state_history.sql  \r\n extracting: ndoutils-maint/db/queries/timed_event_queue.sql  \r\n extracting: ndoutils-maint/db/queries/timed_events.sql  \r\n extracting: ndoutils-maint/db/upgradedb  \r\nd ndoutils-maint/docs\r\n extracting: ndoutils-maint/docs/NDOUTILS DB Model.odt  \r\n extracting: ndoutils-maint/docs/NDOUTILS DB Model.pdf  \r\n extracting: ndoutils-maint/docs/NDOUtils Documentation.odt  \r\n extracting: ndoutils-maint/docs/NDOUtils Documentation.pdf  \r\nd ndoutils-maint/docs/docbook\r\nd ndoutils-maint/docs/docbook/en-en\r\n extracting: ndoutils-maint/docs/docbook/en-en/Makefile.in  \r\n extracting: ndoutils-maint/docs/docbook/en-en/NDOUtils.xml  \r\n extracting: ndoutils-maint/docs/docbook/en-en/all-entities.ent  \r\n extracting: ndoutils-maint/docs/docbook/en-en/components.xml  \r\nd ndoutils-maint/docs/docbook/en-en/ent\r\n extracting: ndoutils-maint/docs/docbook/en-en/ent/documents.ent  \r\n extracting: ndoutils-maint/docs/docbook/en-en/ent/names.ent  \r\n extracting: ndoutils-maint/docs/docbook/en-en/ent/plugins.ent  \r\n extracting: ndoutils-maint/docs/docbook/en-en/ent/protocols.ent  \r\n extracting: ndoutils-maint/docs/docbook/en-en/ent/urls.ent  \r\n extracting: ndoutils-maint/docs/docbook/en-en/ent/version.ent  \r\n extracting: ndoutils-maint/docs/docbook/en-en/example-configs.xml  \r\n extracting: ndoutils-maint/docs/docbook/en-en/installation.xml  \r\n extracting: ndoutils-maint/docs/docbook/en-en/introduction.xml  \r\n extracting: ndoutils-maint/docs/docbook/en-en/whatsnew.xml  \r\nd ndoutils-maint/docs/docbook/images\r\n extracting: ndoutils-maint/docs/docbook/images/fig1.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig10.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig11.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig12.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig13.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig2.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig3.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig4.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig5.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig6.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig7.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig8.png  \r\n extracting: ndoutils-maint/docs/docbook/images/fig9.png  \r\n extracting: ndoutils-maint/docs/docbook/images/important.png  \r\n extracting: ndoutils-maint/docs/docbook/images/logofullsize.png  \r\n extracting: ndoutils-maint/docs/docbook/images/note.png  \r\n extracting: ndoutils-maint/docs/docbook/images/tip.png  \r\nd ndoutils-maint/docs/docbook/xsl\r\n extracting: ndoutils-maint/docs/docbook/xsl/fo.xsl  \r\n extracting: ndoutils-maint/docs/docbook/xsl/html-chunked.xsl  \r\n extracting: ndoutils-maint/docs/docbook/xsl/html-single.xsl  \r\n extracting: ndoutils-maint/docs/docbook/xsl/titlepage.xml  \r\n extracting: ndoutils-maint/docs/docbook/xsl/titlepage.xsl  \r\nd ndoutils-maint/docs/html\r\nd ndoutils-maint/docs/html/en-en\r\n extracting: ndoutils-maint/docs/html/en-en/ch01.html  \r\n extracting: ndoutils-maint/docs/html/en-en/ch02.html  \r\n extracting: ndoutils-maint/docs/html/en-en/ch03.html  \r\n extracting: ndoutils-maint/docs/html/en-en/ch04.html  \r\n extracting: ndoutils-maint/docs/html/en-en/components.html  \r\n extracting: ndoutils-maint/docs/html/en-en/example-configs.html  \r\n extracting: ndoutils-maint/docs/html/en-en/index.html  \r\n extracting: ndoutils-maint/docs/html/en-en/installation.html  \r\n extracting: ndoutils-maint/docs/html/en-en/intro.html  \r\n extracting: ndoutils-maint/docs/html/en-en/whatsnew.html  \r\nd ndoutils-maint/docs/html/images\r\n extracting: ndoutils-maint/docs/html/images/fig1.png  \r\n extracting: ndoutils-maint/docs/html/images/fig10.png  \r\n extracting: ndoutils-maint/docs/html/images/fig11.png  \r\n extracting: ndoutils-maint/docs/html/images/fig12.png  \r\n extracting: ndoutils-maint/docs/html/images/fig13.png  \r\n extracting: ndoutils-maint/docs/html/images/fig2.png  \r\n extracting: ndoutils-maint/docs/html/images/fig3.png  \r\n extracting: ndoutils-maint/docs/html/images/fig4.png  \r\n extracting: ndoutils-maint/docs/html/images/fig5.png  \r\n extracting: ndoutils-maint/docs/html/images/fig6.png  \r\n extracting: ndoutils-maint/docs/html/images/fig7.png  \r\n extracting: ndoutils-maint/docs/html/images/fig8.png  \r\n extracting: ndoutils-maint/docs/html/images/fig9.png  \r\n extracting: ndoutils-maint/docs/html/images/important.png  \r\n extracting: ndoutils-maint/docs/html/images/logofullsize.png  \r\n extracting: ndoutils-maint/docs/html/images/note.png  \r\n extracting: ndoutils-maint/docs/html/images/tip.png  \r\nd ndoutils-maint/include\r\n extracting: ndoutils-maint/include/common.h.in  \r\n extracting: ndoutils-maint/include/config.h.in  \r\n extracting: ndoutils-maint/include/db.h  \r\n extracting: ndoutils-maint/include/dbhandlers.h  \r\n extracting: ndoutils-maint/include/getheaders  \r\n extracting: ndoutils-maint/include/io.h.in  \r\nd ndoutils-maint/include/nagios-2x\r\n extracting: ndoutils-maint/include/nagios-2x/broker.h  \r\n extracting: ndoutils-maint/include/nagios-2x/cgiauth.h  \r\n extracting: ndoutils-maint/include/nagios-2x/cgiutils.h  \r\n extracting: ndoutils-maint/include/nagios-2x/comments.h  \r\n extracting: ndoutils-maint/include/nagios-2x/common.h  \r\n extracting: ndoutils-maint/include/nagios-2x/config.h  \r\n extracting: ndoutils-maint/include/nagios-2x/downtime.h  \r\n extracting: ndoutils-maint/include/nagios-2x/epn_nagios.h  \r\n extracting: ndoutils-maint/include/nagios-2x/getcgi.h  \r\n extracting: ndoutils-maint/include/nagios-2x/locations.h  \r\n extracting: ndoutils-maint/include/nagios-2x/nagios.h  \r\n extracting: ndoutils-maint/include/nagios-2x/nebcallbacks.h  \r\n extracting: ndoutils-maint/include/nagios-2x/neberrors.h  \r\n extracting: ndoutils-maint/include/nagios-2x/nebmods.h  \r\n extracting: ndoutils-maint/include/nagios-2x/nebmodules.h  \r\n extracting: ndoutils-maint/include/nagios-2x/nebstructs.h  \r\n extracting: ndoutils-maint/include/nagios-2x/objects.h  \r\n extracting: ndoutils-maint/include/nagios-2x/perfdata.h  \r\n extracting: ndoutils-maint/include/nagios-2x/snprintf.h  \r\n extracting: ndoutils-maint/include/nagios-2x/sretention.h  \r\n extracting: ndoutils-maint/include/nagios-2x/statusdata.h  \r\nd ndoutils-maint/include/nagios-3x\r\n extracting: ndoutils-maint/include/nagios-3x/broker.h  \r\n extracting: ndoutils-maint/include/nagios-3x/cgiauth.h  \r\n extracting: ndoutils-maint/include/nagios-3x/cgiutils.h  \r\n extracting: ndoutils-maint/include/nagios-3x/comments.h  \r\n extracting: ndoutils-maint/include/nagios-3x/common.h  \r\n extracting: ndoutils-maint/include/nagios-3x/compat.h  \r\n extracting: ndoutils-maint/include/nagios-3x/config.h  \r\n extracting: ndoutils-maint/include/nagios-3x/downtime.h  \r\n extracting: ndoutils-maint/include/nagios-3x/epn_nagios.h  \r\n extracting: ndoutils-maint/include/nagios-3x/getcgi.h  \r\n extracting: ndoutils-maint/include/nagios-3x/locations.h  \r\n extracting: ndoutils-maint/include/nagios-3x/logging.h  \r\n extracting: ndoutils-maint/include/nagios-3x/macros.h  \r\n extracting: ndoutils-maint/include/nagios-3x/nagios.h  \r\n extracting: ndoutils-maint/include/nagios-3x/nebcallbacks.h  \r\n extracting: ndoutils-maint/include/nagios-3x/neberrors.h  \r\n extracting: ndoutils-maint/include/nagios-3x/nebmods.h  \r\n extracting: ndoutils-maint/include/nagios-3x/nebmodules.h  \r\n extracting: ndoutils-maint/include/nagios-3x/nebstructs.h  \r\n extracting: ndoutils-maint/include/nagios-3x/netutils.h  \r\n extracting: ndoutils-maint/include/nagios-3x/objects.h  \r\n extracting: ndoutils-maint/include/nagios-3x/perfdata.h  \r\n extracting: ndoutils-maint/include/nagios-3x/shared.h  \r\n extracting: ndoutils-maint/include/nagios-3x/skiplist.h  \r\n extracting: ndoutils-maint/include/nagios-3x/snprintf.h  \r\n extracting: ndoutils-maint/include/nagios-3x/sretention.h  \r\n extracting: ndoutils-maint/include/nagios-3x/statusdata.h  \r\nd ndoutils-maint/include/nagios-4x\r\n extracting: ndoutils-maint/include/nagios-4x/broker.h  \r\n extracting: ndoutils-maint/include/nagios-4x/cgiauth.h  \r\n extracting: ndoutils-maint/include/nagios-4x/cgiutils.h  \r\n extracting: ndoutils-maint/include/nagios-4x/comments.h  \r\n extracting: ndoutils-maint/include/nagios-4x/common.h  \r\n extracting: ndoutils-maint/include/nagios-4x/config.h  \r\n extracting: ndoutils-maint/include/nagios-4x/defaults.h  \r\n extracting: ndoutils-maint/include/nagios-4x/downtime.h  \r\n extracting: ndoutils-maint/include/nagios-4x/getcgi.h  \r\nd ndoutils-maint/include/nagios-4x/lib\r\n extracting: ndoutils-maint/include/nagios-4x/lib/bitmap.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/dkhash.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/fanout.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/iobroker.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/iocache.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/kvvec.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/libnagios.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/lnag-utils.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/nsock.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/nspath.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/nsutils.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/pqueue.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/runcmd.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/skiplist.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/snprintf.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/squeue.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/t-utils.h  \r\n extracting: ndoutils-maint/include/nagios-4x/lib/worker.h  \r\n extracting: ndoutils-maint/include/nagios-4x/locations.h  \r\n extracting: ndoutils-maint/include/nagios-4x/logging.h  \r\n extracting: ndoutils-maint/include/nagios-4x/macros.h  \r\n extracting: ndoutils-maint/include/nagios-4x/nagios.h  \r\n extracting: ndoutils-maint/include/nagios-4x/nebcallbacks.h  \r\n extracting: ndoutils-maint/include/nagios-4x/neberrors.h  \r\n extracting: ndoutils-maint/include/nagios-4x/nebmods.h  \r\n extracting: ndoutils-maint/include/nagios-4x/nebmodules.h  \r\n extracting: ndoutils-maint/include/nagios-4x/nebstructs.h  \r\n extracting: ndoutils-maint/include/nagios-4x/netutils.h  \r\n extracting: ndoutils-maint/include/nagios-4x/objects.h  \r\n extracting: ndoutils-maint/include/nagios-4x/perfdata.h  \r\n extracting: ndoutils-maint/include/nagios-4x/shared.h  \r\n extracting: ndoutils-maint/include/nagios-4x/snprintf.h  \r\n extracting: ndoutils-maint/include/nagios-4x/sretention.h  \r\n extracting: ndoutils-maint/include/nagios-4x/statusdata.h  \r\n extracting: ndoutils-maint/include/nagios-4x/workers.h  \r\n extracting: ndoutils-maint/include/ndo2db.h  \r\n extracting: ndoutils-maint/include/ndomod.h  \r\n extracting: ndoutils-maint/include/protoapi.h  \r\n extracting: ndoutils-maint/include/queue.h  \r\n extracting: ndoutils-maint/include/utils.h  \r\n extracting: ndoutils-maint/install-sh  \r\nd ndoutils-maint/m4\r\n extracting: ndoutils-maint/m4/np_mysqlclient.m4  \r\nd ndoutils-maint/macros\r\n extracting: ndoutils-maint/macros/.gitignore  \r\n extracting: ndoutils-maint/macros/LICENSE  \r\n extracting: ndoutils-maint/macros/README.md  \r\n extracting: ndoutils-maint/macros/add_group_user  \r\n extracting: ndoutils-maint/macros/ax_nagios_get_distrib  \r\n extracting: ndoutils-maint/macros/ax_nagios_get_files  \r\n extracting: ndoutils-maint/macros/ax_nagios_get_inetd  \r\n extracting: ndoutils-maint/macros/ax_nagios_get_init  \r\n extracting: ndoutils-maint/macros/ax_nagios_get_os  \r\n extracting: ndoutils-maint/macros/ax_nagios_get_paths  \r\n extracting: ndoutils-maint/macros/ax_nagios_get_ssl  \r\n extracting: ndoutils-maint/make-tarball  \r\nd ndoutils-maint/src\r\n extracting: ndoutils-maint/src/Makefile.in  \r\n extracting: ndoutils-maint/src/db.c  \r\n extracting: ndoutils-maint/src/dbhandlers.c  \r\n extracting: ndoutils-maint/src/file2sock.c  \r\n extracting: ndoutils-maint/src/io.c  \r\n extracting: ndoutils-maint/src/log2ndo.c  \r\n extracting: ndoutils-maint/src/ndo2db.c  \r\n extracting: ndoutils-maint/src/ndomod.c  \r\n extracting: ndoutils-maint/src/protonum.c  \r\n extracting: ndoutils-maint/src/queue.c  \r\n extracting: ndoutils-maint/src/snprintf.c  \r\n extracting: ndoutils-maint/src/sockdebug.c  \r\n extracting: ndoutils-maint/src/utils.c  \r\nd ndoutils-maint/startup\r\n extracting: ndoutils-maint/startup/bsd-init.in  \r\n extracting: ndoutils-maint/startup/debian-init.in  \r\n extracting: ndoutils-maint/startup/default-inetd.in  \r\n extracting: ndoutils-maint/startup/default-init.in  \r\n extracting: ndoutils-maint/startup/default-service.in  \r\n extracting: ndoutils-maint/startup/default-socket-svc.in  \r\n extracting: ndoutils-maint/startup/default-socket.in  \r\n extracting: ndoutils-maint/startup/default-xinetd.in  \r\n extracting: ndoutils-maint/startup/mac-inetd.plist.in  \r\n extracting: ndoutils-maint/startup/mac-init.plist.in  \r\n extracting: ndoutils-maint/startup/newbsd-init.in  \r\n extracting: ndoutils-maint/startup/openbsd-init.in  \r\n extracting: ndoutils-maint/startup/openrc-conf.in  \r\n extracting: ndoutils-maint/startup/openrc-init.in  \r\n extracting: ndoutils-maint/startup/rh-upstart-init.in  \r\n extracting: ndoutils-maint/startup/solaris-inetd.xml.in  \r\n extracting: ndoutils-maint/startup/solaris-init.xml.in  \r\n extracting: ndoutils-maint/startup/tmpfile.conf.in  \r\n extracting: ndoutils-maint/startup/upstart-init.in  \r\n extracting: ndoutils-maint/update-version  \r\n          \r\nroot@core-037:/tmp # cd ndoutils-maint/\r\nroot@core-037:/tmp/ndoutils-maint # sed -i '' 's/-g root/-g wheel/g' Makefile.in\r\nroot@core-037:/tmp/ndoutils-maint # ./configure\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking for perl... /usr/local/bin/perl\r\nchecking build system type... x86_64-unknown-freebsd10.3\r\nchecking host system type... x86_64-unknown-freebsd10.3\r\nchecking for gcc... no\r\nchecking for cc... cc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether cc accepts -g... yes\r\nchecking for cc option to accept ISO C89... none needed\r\nchecking whether make sets $(MAKE)... yes\r\nchecking what the operating system is ... bsd\r\nchecking what the distribution type is ... freebsd\r\nchecking what init system is being used ... newbsd\r\nchecking what inetd is being used ... inetd (Not running)\r\nchecking for which paths to use ... default\r\nchecking for which init file to use ... newbsd-init\r\nchecking for which inetd files to use ... default-inetd\r\nchecking how to run the C preprocessor... cc -E\r\nchecking for grep that handles long lines and -e... /usr/bin/grep\r\nchecking for egrep... /usr/bin/grep -E\r\nchecking for ANSI C header files... yes\r\nchecking whether time.h and sys/time.h may both be included... yes\r\nchecking for sys/wait.h that is POSIX.1 compatible... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking arpa/inet.h usability... yes\r\nchecking arpa/inet.h presence... yes\r\nchecking for arpa/inet.h... yes\r\nchecking ctype.h usability... yes\r\nchecking ctype.h presence... yes\r\nchecking for ctype.h... yes\r\nchecking dirent.h usability... yes\r\nchecking dirent.h presence... yes\r\nchecking for dirent.h... yes\r\nchecking dlfcn.h usability... yes\r\nchecking dlfcn.h presence... yes\r\nchecking for dlfcn.h... yes\r\nchecking errno.h usability... yes\r\nchecking errno.h presence... yes\r\nchecking for errno.h... yes\r\nchecking fcntl.h usability... yes\r\nchecking fcntl.h presence... yes\r\nchecking for fcntl.h... yes\r\nchecking float.h usability... yes\r\nchecking float.h presence... yes\r\nchecking for float.h... yes\r\nchecking getopt.h usability... yes\r\nchecking getopt.h presence... yes\r\nchecking for getopt.h... yes\r\nchecking grp.h usability... yes\r\nchecking grp.h presence... yes\r\nchecking for grp.h... yes\r\nchecking for inttypes.h... (cached) yes\r\nchecking limits.h usability... yes\r\nchecking limits.h presence... yes\r\nchecking for limits.h... yes\r\nchecking ltdl.h usability... no\r\nchecking ltdl.h presence... no\r\nchecking for ltdl.h... no\r\nchecking math.h usability... yes\r\nchecking math.h presence... yes\r\nchecking for math.h... yes\r\nchecking netdb.h usability... yes\r\nchecking netdb.h presence... yes\r\nchecking for netdb.h... yes\r\nchecking netinet/in.h usability... yes\r\nchecking netinet/in.h presence... yes\r\nchecking for netinet/in.h... yes\r\nchecking pthread.h usability... yes\r\nchecking pthread.h presence... yes\r\nchecking for pthread.h... yes\r\nchecking pwd.h usability... yes\r\nchecking pwd.h presence... yes\r\nchecking for pwd.h... yes\r\nchecking regex.h usability... yes\r\nchecking regex.h presence... yes\r\nchecking for regex.h... yes\r\nchecking signal.h usability... yes\r\nchecking signal.h presence... yes\r\nchecking for signal.h... yes\r\nchecking socket.h usability... no\r\nchecking socket.h presence... no\r\nchecking for socket.h... no\r\nchecking stdarg.h usability... yes\r\nchecking stdarg.h presence... yes\r\nchecking for stdarg.h... yes\r\nchecking for stdint.h... (cached) yes\r\nchecking for string.h... (cached) yes\r\nchecking for strings.h... (cached) yes\r\nchecking sys/ipc.h usability... yes\r\nchecking sys/ipc.h presence... yes\r\nchecking for sys/ipc.h... yes\r\nchecking sys/mman.h usability... yes\r\nchecking sys/mman.h presence... yes\r\nchecking for sys/mman.h... yes\r\nchecking sys/msg.h usability... yes\r\nchecking sys/msg.h presence... yes\r\nchecking for sys/msg.h... yes\r\nchecking sys/poll.h usability... yes\r\nchecking sys/poll.h presence... yes\r\nchecking for sys/poll.h... yes\r\nchecking sys/resource.h usability... yes\r\nchecking sys/resource.h presence... yes\r\nchecking for sys/resource.h... yes\r\nchecking sys/sendfile.h usability... no\r\nchecking sys/sendfile.h presence... no\r\nchecking for sys/sendfile.h... no\r\nchecking sys/socket.h usability... yes\r\nchecking sys/socket.h presence... yes\r\nchecking for sys/socket.h... yes\r\nchecking for sys/stat.h... (cached) yes\r\nchecking sys/time.h usability... yes\r\nchecking sys/time.h presence... yes\r\nchecking for sys/time.h... yes\r\nchecking sys/timeb.h usability... yes\r\nchecking sys/timeb.h presence... yes\r\nchecking for sys/timeb.h... yes\r\nchecking for sys/types.h... (cached) yes\r\nchecking sys/un.h usability... yes\r\nchecking sys/un.h presence... yes\r\nchecking for sys/un.h... yes\r\nchecking for sys/wait.h... (cached) yes\r\nchecking syslog.h usability... yes\r\nchecking syslog.h presence... yes\r\nchecking for syslog.h... yes\r\nchecking tcpd.h usability... yes\r\nchecking tcpd.h presence... yes\r\nchecking for tcpd.h... yes\r\nchecking for unistd.h... (cached) yes\r\nchecking values.h usability... no\r\nchecking values.h presence... no\r\nchecking for values.h... no\r\nchecking for an ANSI C-conforming const... yes\r\nchecking whether struct tm is in sys/time.h or time.h... time.h\r\nchecking for mode_t... yes\r\nchecking for pid_t... yes\r\nchecking for size_t... yes\r\nchecking return type of signal handlers... void\r\nchecking for uid_t in sys/types.h... yes\r\nchecking type of array argument to getgroups... gid_t\r\nchecking size of int... 4\r\nchecking size of short... 2\r\nchecking size of long... 8\r\nchecking for uint32_t... yes\r\nchecking for u_int32_t... yes\r\nchecking for int32_t... yes\r\nchecking for main in -lnsl... no\r\nchecking for socket in -lsocket... no\r\nchecking for main in -lwrap... yes\r\nchecking for getopt_long... yes\r\nchecking for strdup... yes\r\nchecking for strstr... yes\r\nchecking for strtoul... yes\r\nchecking for initgroups... yes\r\nchecking for strtof... yes\r\nchecking for nanosleep... yes\r\nchecking for va_copy... yes\r\nchecking for snprintf... yes\r\nchecking for asprintf... yes\r\nchecking for type of socket size... size_t\r\nchecking for linker flags for loadable modules... -shared\r\nchecking for mysql_config... /usr/local/bin/mysql_config\r\nchecking for mysql_init in -lmysqlclient... yes\r\nMySQL library and include file(s) were found!\r\nchecking for library containing sd_listen_fds... no\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: creating src/Makefile\r\nconfig.status: creating config/ndo2db.cfg-sample\r\nconfig.status: creating config/ndomod.cfg-sample\r\nconfig.status: creating config/nagios.cfg\r\nconfig.status: creating config/misccommands.cfg\r\nconfig.status: creating docs/docbook/en-en/Makefile\r\nconfig.status: creating include/io.h\r\nconfig.status: creating include/common.h\r\nconfig.status: creating startup/bsd-init\r\nconfig.status: creating startup/debian-init\r\nconfig.status: creating startup/default-init\r\nconfig.status: creating startup/default-inetd\r\nconfig.status: creating startup/default-service\r\nconfig.status: creating startup/default-socket\r\nconfig.status: creating startup/default-socket-svc\r\nconfig.status: creating startup/default-xinetd\r\nconfig.status: creating startup/mac-init.plist\r\nconfig.status: creating startup/mac-inetd.plist\r\nconfig.status: creating startup/newbsd-init\r\nconfig.status: creating startup/openbsd-init\r\nconfig.status: creating startup/openrc-conf\r\nconfig.status: creating startup/openrc-init\r\nconfig.status: creating startup/solaris-init.xml\r\nconfig.status: creating startup/solaris-inetd.xml\r\nconfig.status: creating startup/tmpfile.conf\r\nconfig.status: creating startup/upstart-init\r\nconfig.status: creating startup/rh-upstart-init\r\nconfig.status: creating include/config.h\r\n\r\n\r\n*** Configuration summary for ndoutils 2.1.1 09-06-2016 ***:\r\n\r\n General Options:\r\n -------------------------\r\n NDO2DB user:      nagios\r\n NDO2DB group:     nagios\r\n NDO2DB tcp port:  5668\r\n\r\n\r\nReview the options above for accuracy.  If they look\r\nokay, type 'make all' to compile the NDO utilities,\r\nor type 'make' to get a list of make options.\r\n\r\nroot@core-037:/tmp/ndoutils-maint # gmake all\r\ncd ./src && gmake\r\ngmake[1]: Entering directory '/tmp/ndoutils-maint/src'\r\ncc  -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -c -o io.o io.c\r\ncc  -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -c -o utils.o utils.c\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -o file2sock file2sock.c io.o utils.o   -lm  \r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -o log2ndo log2ndo.c io.o utils.o   -lm  \r\ngmake ndo2db-2x\r\ngmake[2]: Entering directory '/tmp/ndoutils-maint/src'\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -c -o db.o db.c\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -D BUILD_NAGIOS_2X -c -o dbhandlers-2x.o dbhandlers.c\r\ndbhandlers.c:3415:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3444:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3473:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3564:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3848:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3877:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3974:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4215:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4244:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4351:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4380:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4537:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4706:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4746:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4787:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4882:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:5060:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                                        ,idi->dbinfo.instance_id\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:5071:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                                        ,idi->dbinfo.instance_id\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~\r\n18 warnings generated.\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H   -D BUILD_NAGIOS_2X -o ndo2db-2x queue.c ndo2db.c dbhandlers-2x.o  io.o utils.o db.o     -L/usr/local/lib/mysql -lmysqlclient -pthread -lm -lrt -lm \r\nqueue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n}\r\n^\r\nqueue.c:102:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]\r\n                        syslog(LOG_ERR, logmsg);\r\n                                        ^~~~~~\r\nqueue.c:122:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]\r\n                        syslog(LOG_ERR, logmsg);\r\n                                        ^~~~~~\r\n3 warnings generated.\r\ngmake[2]: Leaving directory '/tmp/ndoutils-maint/src'\r\ngmake ndo2db-3x\r\ngmake[2]: Entering directory '/tmp/ndoutils-maint/src'\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -D BUILD_NAGIOS_3X -c -o dbhandlers-3x.o dbhandlers.c\r\ndbhandlers.c:3415:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3444:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3473:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3564:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3848:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3877:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3974:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4215:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4244:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4351:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4380:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4537:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4706:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4746:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4787:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4882:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:5060:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                                        ,idi->dbinfo.instance_id\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:5071:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                                        ,idi->dbinfo.instance_id\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~\r\n18 warnings generated.\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H   -D BUILD_NAGIOS_3X -o ndo2db-3x queue.c ndo2db.c dbhandlers-3x.o  io.o utils.o db.o     -L/usr/local/lib/mysql -lmysqlclient -pthread -lm -lrt -lm \r\nqueue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n}\r\n^\r\nqueue.c:102:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]\r\n                        syslog(LOG_ERR, logmsg);\r\n                                        ^~~~~~\r\nqueue.c:122:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]\r\n                        syslog(LOG_ERR, logmsg);\r\n                                        ^~~~~~\r\n3 warnings generated.\r\ngmake[2]: Leaving directory '/tmp/ndoutils-maint/src'\r\ngmake ndo2db-4x\r\ngmake[2]: Entering directory '/tmp/ndoutils-maint/src'\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -I ../include/nagios-4x  -D BUILD_NAGIOS_4X -c -o dbhandlers-4x.o dbhandlers.c\r\ndbhandlers.c:3415:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3444:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3473:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3564:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3821:5: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                                idi->dbinfo.instance_id, service_id, member_id) == -1) {\r\n                                ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3848:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3877:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:3974:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4215:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4244:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4351:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4380:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4537:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4706:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4746:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4787:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:4882:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                            ,idi->dbinfo.instance_id\r\n                             ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:5060:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                                        ,idi->dbinfo.instance_id\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~\r\ndbhandlers.c:5071:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]\r\n                                        ,idi->dbinfo.instance_id\r\n                                         ^~~~~~~~~~~~~~~~~~~~~~~\r\n19 warnings generated.\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H   -D BUILD_NAGIOS_4X -o ndo2db-4x queue.c ndo2db.c dbhandlers-4x.o  io.o utils.o db.o     -L/usr/local/lib/mysql -lmysqlclient -pthread -lm -lrt -lm \r\nqueue.c:63:1: warning: control reaches end of non-void function [-Wreturn-type]\r\n}\r\n^\r\nqueue.c:102:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]\r\n                        syslog(LOG_ERR, logmsg);\r\n                                        ^~~~~~\r\nqueue.c:122:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security]\r\n                        syslog(LOG_ERR, logmsg);\r\n                                        ^~~~~~\r\n3 warnings generated.\r\ngmake[2]: Leaving directory '/tmp/ndoutils-maint/src'\r\ngmake ndomod-2x.o\r\ngmake[2]: Entering directory '/tmp/ndoutils-maint/src'\r\ncc  -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c  io.o utils.o -shared    \r\nndomod.c:361:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *'\r\n      [-Wnon-literal-null-conversion]\r\n        arglist[argcount]='\\x0';\r\n                          ^~~~~\r\n1 warning generated.\r\ngmake[2]: Leaving directory '/tmp/ndoutils-maint/src'\r\ngmake ndomod-3x.o\r\ngmake[2]: Entering directory '/tmp/ndoutils-maint/src'\r\ncc  -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -D BUILD_NAGIOS_3X -o ndomod-3x.o ndomod.c  io.o utils.o -shared    \r\nndomod.c:361:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *'\r\n      [-Wnon-literal-null-conversion]\r\n        arglist[argcount]='\\x0';\r\n                          ^~~~~\r\n1 warning generated.\r\ngmake[2]: Leaving directory '/tmp/ndoutils-maint/src'\r\ngmake ndomod-4x.o\r\ngmake[2]: Entering directory '/tmp/ndoutils-maint/src'\r\ncc  -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -I ../include/nagios-4x  -D BUILD_NAGIOS_4X -o ndomod-4x.o ndomod.c  io.o utils.o -shared    \r\nndomod.c:361:27: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *'\r\n      [-Wnon-literal-null-conversion]\r\n        arglist[argcount]='\\x0';\r\n                          ^~~~~\r\n1 warning generated.\r\ngmake[2]: Leaving directory '/tmp/ndoutils-maint/src'\r\ncc -fPIC -g -O2 -I/usr/local/include/mysql -DHAVE_CONFIG_H  -o sockdebug sockdebug.c io.o utils.o   -lm  \r\ngmake[1]: Leaving directory '/tmp/ndoutils-maint/src'\r\nroot@core-037:/tmp/ndoutils-maint # \r\nroot@core-037:/tmp/ndoutils-maint # gmake install\r\ncd ./src && gmake install\r\ngmake[1]: Entering directory '/tmp/ndoutils-maint/src'\r\n/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var\r\n/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin\r\n/usr/bin/install -c -m 755 -o nagios -g nagios ndo2db-4x /usr/local/nagios/bin/ndo2db\r\n/usr/bin/install -c -m 755 -o nagios -g nagios ndomod-4x.o /usr/local/nagios/bin/ndomod.o\r\n/usr/bin/install -c -m 774 -o nagios -g nagios file2sock /usr/local/nagios/bin\r\n/usr/bin/install -c -m 774 -o nagios -g nagios log2ndo /usr/local/nagios/bin\r\n/usr/bin/install -c -m 774 -o nagios -g nagios sockdebug /usr/local/nagios/bin\r\n\r\n  Hint: NDOUtils Installation against Nagios v4.x\r\n  completed.\r\n\r\n  If you want to install NDOUtils for Nagios v3.x\r\n  please type  'make install-3x\r\n\r\n  If you want to install NDOUtils for Nagios v2.x\r\n  please type  'make install-2x\r\n\r\n\r\n  Next step should be the database initialization/upgrade\r\n  cd into the db/ directory and either:\r\n     ./installdb  (for a new installation) or:\r\n     ./upgradedb  (for an existing one)\r\n\r\ngmake[1]: Leaving directory '/tmp/ndoutils-maint/src'\r\n\r\nMain NDOUtils components installed\r\n\r\nroot@core-037:/tmp/ndoutils-maint # \r\nroot@core-037:/tmp/ndoutils-maint # cd db\r\nroot@core-037:/tmp/ndoutils-maint/db # perl ./installdb -u 'ndoutils' -p 'ndoutils_password' -h 'localhost' -d nagios \r\nDBD::mysql::db do failed: Table 'nagios.nagios_dbversion' doesn't exist at ./installdb line 52.\r\n** Creating tables for version 2.0.1\r\n     Using mysql.sql for installation...\r\nmysql: [Warning] Using a password on the command line interface can be insecure.\r\n** Updating table nagios_dbversion\r\nDone!\r\nroot@core-037:/tmp/ndoutils-maint/db # cd ..\r\nroot@core-037:/tmp/ndoutils-maint # gmake install-config\r\n/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/etc\r\n/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/var\r\n/usr/bin/install -c -m 644 -o nagios -g nagios config/ndo2db.cfg-sample /usr/local/nagios/etc\r\n/usr/bin/install -c -m 644 -o nagios -g nagios config/ndomod.cfg-sample /usr/local/nagios/etc\r\n\r\n*** Config files installed ***\r\n\r\nRemember, these are *SAMPLE* config files.  You'll need to rename\r\nthe files in order to use them.\r\nPlease read the documentation to know what they are doing.\r\n\r\nroot@core-037:/tmp/ndoutils-maint # mv /usr/local/nagios/etc/ndo2db.cfg-sample /usr/local/nagios/etc/ndo2db.cfg\r\nroot@core-037:/tmp/ndoutils-maint # sed -i '' 's/^db_user=.*/db_user=ndoutils/g' /usr/local/nagios/etc/ndo2db.cfg\r\nroot@core-037:/tmp/ndoutils-maint # sed -i '' 's/^db_pass=.*/db_pass=ndoutils_password/g' /usr/local/nagios/etc/ndo2db.cfg\r\nroot@core-037:/tmp/ndoutils-maint # mv /usr/local/nagios/etc/ndomod.cfg-sample /usr/local/nagios/etc/ndomod.cfg\r\nroot@core-037:/tmp/ndoutils-maint # \r\nroot@core-037:/tmp/ndoutils-maint # gmake install-init\r\n/usr/bin/install -c -m 755 startup/newbsd-init /etc/rc.d/ndo2db\r\nroot@core-037:/tmp/ndoutils-maint # echo '/usr/local/etc/rc.d/ndo2db start' >> /etc/rc.local\r\nroot@core-037:/tmp/ndoutils-maint # \r\nroot@core-037:/tmp/ndoutils-maint # service ndo2db start\r\nStarting ndo2db.\r\nroot@core-037:/tmp/ndoutils-maint # printf \"\\n\\n# NDOUtils Broker Module\\n\" >> /usr/local/nagios/etc/nagios.cfg\r\nroot@core-037:/tmp/ndoutils-maint # printf \"broker_module=/usr/local/nagios/bin/ndomod.o config_file=/usr/local/nagios/etc/ndomod.cfg\\n\" >> /usr/local/nagios/etc/nagios.cfg \r\nroot@core-037:/tmp/ndoutils-maint # \r\nroot@core-037:/tmp/ndoutils-maint #  service nagios restart\r\nRunning configuration check...\r\nStopping nagios:. done.\r\nStarting nagios: done.\r\nroot@core-037:/tmp/ndoutils-maint # service nagios status\r\nnagios (pid 2987) is running...\r\nroot@core-037:/tmp/ndoutils-maint # \r\nroot@core-037:/tmp/ndoutils-maint #  service ndo2db status\r\nndo2db is running as pid 2941.\r\nroot@core-037:/tmp/ndoutils-maint # grep ndo /usr/local/nagios/var/nagios.log\r\n[1476751997] Error: Module '/usr/local/nagios/bin/ndomod.o' is using an old or unspecified version of the event broker API.  Module will be unloaded.\r\nroot@core-037:/tmp/ndoutils-maint # \r\nroot@core-037:/tmp/ndoutils-maint # echo 'select * from nagios.nagios_logentries;' | mysql -u ndoutils -p'ndoutils_password'\r\nmysql: [Warning] Using a password on the command line interface can be insecure.\r\nroot@core-037:/tmp/ndoutils-maint # \r\nroot@core-037:/tmp/ndoutils-maint # service ndo2db stop\r\nStopping ndo2db.\r\nroot@core-037:/tmp/ndoutils-maint # service ndo2db status\r\nndo2db is not running.\r\nroot@core-037:/tmp/ndoutils-maint # service ndo2db start\r\nStarting ndo2db.\r\nroot@core-037:/tmp/ndoutils-maint # service ndo2db restart\r\nStopping ndo2db.\r\nStarting ndo2db.\r\nroot@core-037:/tmp/ndoutils-maint # service ndo2db status\r\nndo2db is running as pid 3040.\r\nroot@core-037:/tmp/ndoutils-maint # \r\n```"}}
{"actor":{"display_login":"box293"}}