Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

critical/ConfigItem: Error: Function call 'rename' /var/spool/icinga2/tmp/service-perfdata' failed with error code 2, 'No such file or directory' #5962

Closed
cromwer opened this issue Jan 9, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@cromwer
Copy link

commented Jan 9, 2018

When reloading or restart icinga2 failes with said error .
It will restart successfully when I remove both files from /var/spool/icinga2/tmp

host-perfdata service-perfdata

I see this is addresses in 2.4.9 but appearing here in 2.6.3 ????
#4221

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

icinga2 - The Icinga 2 network monitoring daemon (version: v2.6.3)

Copyright (c) 2012-2017 Icinga Development Team (https://www.icinga.com/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Application information:
  Installation root: /usr
  Sysconf directory: /etc
  Run directory: /run
  Local state directory: /var
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

System information:
  Platform: Red Hat Enterprise Linux Server
  Platform version: 7.2 (Maipo)
  Kernel: Linux
  Kernel version: 3.10.0-327.22.2.el7.x86_64
  Architecture: x86_64

Build information:
  Compiler: GNU 4.8.5
  Build host: unknown

Disabled features: compatlog debuglog gelf graphite influxdb livestatus opentsdb statusdata syslog
Enabled features: api checker command ido-mysql mainlog notification perfdata
* Icinga Web 2 version and modules (System - About):
information/cli: Icinga application loader (version: v2.6.3)
information/cli: Loading configuration file(s).
information/ConfigItem: Committing config item(s).
information/ApiListener: My API identity: ic2.dr.bloombergpolarlake.com
warning/ApplyRule: Apply rule 'dres-DR1-health' (in /etc/icinga2/conf.d/bpl/elasticsearch/dr/dr_elastic.conf: 56:1-56:31) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'dres-DR2-health' (in /etc/icinga2/conf.d/bpl/elasticsearch/dr/dr_elastic.conf: 66:1-66:31) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'dres-DR3-health' (in /etc/icinga2/conf.d/bpl/elasticsearch/dr/dr_elastic.conf: 76:1-76:31) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'dres-DR1-health' (in /etc/icinga2/conf.d/bpl/elasticsearch/drtst/drtst_elastic.conf: 62:1-62:31) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'dres-DR2-health' (in /etc/icinga2/conf.d/bpl/elasticsearch/drtst/drtst_elastic.conf: 72:1-72:31) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'dres-DR3-health' (in /etc/icinga2/conf.d/bpl/elasticsearch/drtst/drtst_elastic.conf: 82:1-82:31) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'nfsmounts' (in /etc/icinga2/conf.d/bpl/linux/dr_nrpe_commands.conf: 69:1-69:25) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'RHEVM01-DR-Storage-Domain' (in /etc/icinga2/conf.d/bpl/rhev/rhevm01_dc2/rhevm01_commands.conf: 24:1-24:41) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'REHVM01-Hosts-Health-Default' (in /etc/icinga2/conf.d/bpl/rhev/rhevm01_dc2/rhevm01_commands.conf: 40:1-40:44) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'REHVM01-Hosts-Health-DRM3' (in /etc/icinga2/conf.d/bpl/rhev/rhevm01_dc2/rhevm01_commands.conf: 53:1-53:41) for type 'Service' does not match anywhere!
warning/ApplyRule: Apply rule 'REHVM01-Hosts-Health-INF' (in /etc/icinga2/conf.d/bpl/rhev/rhevm01_dc2/rhevm01_commands.conf: 66:1-66:40) for type 'Service' does not match anywhere!
information/ConfigItem: Instantiated 1 ApiUser.
information/ConfigItem: Instantiated 1 ApiListener.
information/ConfigItem: Instantiated 1 Zone.
information/ConfigItem: Instantiated 1 FileLogger.
information/ConfigItem: Instantiated 1 Endpoint.
information/ConfigItem: Instantiated 2506 Notifications.
information/ConfigItem: Instantiated 2 NotificationCommands.
information/ConfigItem: Instantiated 218 CheckCommands.
information/ConfigItem: Instantiated 7 HostGroups.
information/ConfigItem: Instantiated 1 IcingaApplication.
information/ConfigItem: Instantiated 228 Hosts.
information/ConfigItem: Instantiated 1 User.
information/ConfigItem: Instantiated 1 UserGroup.
information/ConfigItem: Instantiated 3 TimePeriods.
information/ConfigItem: Instantiated 10 ServiceGroups.
information/ConfigItem: Instantiated 2278 Services.
information/ConfigItem: Instantiated 1 CheckerComponent.
information/ConfigItem: Instantiated 1 ExternalCommandListener.
information/ConfigItem: Instantiated 1 IdoMysqlConnection.
information/ConfigItem: Instantiated 1 NotificationComponent.
information/ConfigItem: Instantiated 1 PerfdataWriter.
information/ScriptGlobal: Dumping variables to file '/var/cache/icinga2/icinga2.vars'
information/cli: Finished validating the configuration file(s).
  • If you run multiple Icinga 2 instances, the zones.conf file (or icinga2 object list --type Endpoint and icinga2 object list --type Zone) from all affected nodes.
@Crunsher

This comment has been minimized.

Copy link
Member

commented Jan 15, 2018

Please provide a snippet from the log with your error

@dnsmichi dnsmichi added no-issue and removed needs-feedback labels Apr 5, 2018

@dnsmichi dnsmichi closed this Apr 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.