[icinga-users] icinga2 agent error on Ubuntu 14.04

Michael Friedrich Michael.Friedrich at netways.de
Tue Nov 10 13:07:31 CET 2015


> On 10 Nov 2015, at 12:29, Bertalan Voros <bertalan.voros at gmail.com> wrote:
>
> Hello All,
>
> Because of a recurring problem with incorrect alerts from a certain ubuntu host I attemped to remove and reinstall the agent to see if that makes a difference.
>
> The following process was used to uninstall the agent.
>
> apt-get purge icinga2

That will remove the meta package icinga2, but not the remaining packages.

> apt-get autoremove
>
> Then any remaining folders with the name icinga2 in them were manually deleted.

That’s fairly evil. I remember seeing a similar thread on the forums.

http://monitoring-portal.org/wbb/index.php?page=Thread&postID=221785#post221785

Kind regards,
Michael

>
> The node was also removed form the server.
>
> icinga2 node remove AffectedNodeHere
> icinga2 node update-config
> service icinga2 reload
>
> After having reinstalled icinga2 on the node the following errors could be seen during the node wizard:
>
> information/cli: Disabling the Notification feature.
> critical/cli: Cannot disable feature 'notification'. Target file '/etc/icinga2/features-enabled/notification.conf' does not exist.
> critical/cli: Cannot disable feature(s): notification
> information/cli: Enabling the Apilistener feature.
> critical/cli: Cannot enable feature 'api'. Source file '/etc/icinga2/features-available/api.conf' does not exist.
> critical/cli: Cannot enable feature(s): api
> information/cli: Generating local zones.conf.
> information/cli: Dumping config items to file '/etc/icinga2/zones.conf'.
> critical/cli: chown() failed with error code 2, "No such file or directory"
> warning/cli: Cannot set ownership for user 'nagios' group 'nagios' on path '/etc/icinga2'. Verify it yourself!
> information/cli: Updating constants.conf.
> information/cli: Updating constants file '/etc/icinga2/constants.conf'.
> information/cli: Updating constants file '/etc/icinga2/constants.conf'.
> Done.
>
> Has anyone had a similar problem before?
>
> The original problem was that the apt probe was generating an endless stream of flapping between critical and warning even though there were no outstanding packages.
>
> Any help will be appreciated,
> Bertalan
> _______________________________________________
> icinga-users mailing list
> icinga-users at lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users


-- 
Michael Friedrich, DI (FH)
Senior Developer

NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
Tel: +49 911 92885-0 | Fax: +49 911 92885-77
GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
http://www.netways.de | Michael.Friedrich at netways.de

** OSMC 2015 - November - netways.de/osmc **
** OSDC 2016 - April – netways.de/osdc **


More information about the icinga-users mailing list