On 06.03.2014 21:12, Brian Dockter wrote:

On Thu, Mar 6, 2014 at 11:41 AM, Michael Friedrich <michael.friedr...@gmail.com <mailto:michael.friedr...@gmail.com>> wrote:

    On 06.03.2014 20:23, Brian Dockter wrote:

        I've recently installed Icinga2 and Icinga Web on a 64-bit
        CentOS 6.5 system.

        I have the following packages installed from the
        packages.icinga.org/epel/6/release
        <http://packages.icinga.org/epel/6/release>
        <http://packages.icinga.org/epel/6/release> repo:


        icinga2-0.0.7-1.el6.x86_64
        icinga-web-mysql-1.10.1-1.el6.noarch
        icinga-web-1.10.1-1.el6.noarch
        icinga2-common-0.0.7-1.el6.x86_64
        icinga2-ido-mysql-0.0.7-1.el6.x86_64


    You should rather use the snapshot packages, bugfixes and more are
    directly built on final merge to git next.


Thanks. I'll switch the yum repo over and update.

        When I first set Icinga, I added a comment to localhost as a
        test to make sure the command pipe was set up and working.


    How do the permissions on /var/run/icinga2/cmd and below look like?


# ls -l /var/run/icinga2/cmd
total 0
prw-rw---- 1 icinga icingacmd 0 Feb 26 17:47 icinga2.cmd


    Now, I can't get rid of the comment.


        If I try to delete the comment from the web ui, the command
        pipe hangs and no further commands get processed from the pipe
        until I restart Icinga2.


    Anything on the debug / error logs?

    # icinga2-enable-feature debuglog
    # service icinga2 restart
    # tail -f /var/log/icinga2/debug.log


I'll try and extract the useful stuff, to avoid sending thousands of lines, let me know if you need more:

[2014-03-06 11:56:22 -0800] <Command Pipe> information/compat: Executing external command: [1394135782] DEL_ALL_HOST_COMMENTS;localhost [2014-03-06 11:56:22 -0800] <Command Pipe> debug/db_ido: add external command history [2014-03-06 11:56:22 -0800] <Command Pipe> information/icinga: Removing all comments for host localhost [2014-03-06 11:56:22 -0800] <WQ #3> debug/db_ido_mysql: Query: INSERT INTO icinga_externalcommands (command_args, command_name, command_type, entry_time, instance_id) VALUES ('localhost', 'DEL_ALL_HOST_COMMENTS', '20', FROM_UNIXTIME(1394135782), 1) [2014-03-06 11:56:24 -0800] <Check Scheduler> debug/checker: Executing service check for 'localhost!ping4' [2014-03-06 11:56:26 -0800] <Q #0x7fd21d7199c8 W #0x7fd21d719ab8> debug/db_ido: add service check history for 'yet-another-host!ping4'

and the next log line containing 'localhost' is:

[2014-03-06 11:57:29 -0800] <Check Scheduler> debug/checker: Executing service check for 'localhost!users'

Odd & reproducable, but no fix yet. https://dev.icinga.org/issues/5721




        If I try to delete the record directly from MySQL, it comes back.

    That's rather obvious, as Icinga 2 only writes to the database,
    but doesn't read from it. The comment is stored in the
    icinga2.state file and re-read on startup.



        Here's another problem (that may or may not be related): If I
        remove hosts from the conf.d directory, they still show up in
        the Web UI.


    That's a known bug and fixed in current snapshot builds. Afaik
    Icinga Web 1.10.0 got an additional issue with that as well, but
    there already was a bugfix 1.10.1 release for that.

    https://dev.icinga.org/issues/5643




        Any ideas about how I can fix these problems?


    Use snapshot packages until the final stable release is out and
    help us test making it happen soon-ish by reporting bugs and
    testing fixes. ccesario (https://dev.icinga.org/users/101) is
    already doing an awesome job on that, join him :)


I'm more than willing to report issues I see. I'll read through the above page.

Thanks for the help,


Brian


_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users


--
DI (FH) Michael Friedrich

michael.friedr...@gmail.com  || icinga open source monitoring
https://twitter.com/dnsmichi || lead core developer
dnsmi...@jabber.ccc.de       || https://www.icinga.org/team
irc.freenode.net/icinga      || dnsmichi

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to