Closed matteocorti closed 8 years ago
Original reporter: matteo@corti.li
Dear Roland,
The behavior of the plugin is normal and expected.
yum blocks when another instance is running and waits for the other instance to finish.
This means that if another check or an update is running, the plugin, which uses yum, will wait that the other yum process is finished.
Depending on your system this could take more time than the timeout you specified. If the timeout is reached the plugin will exit with a status UNKNOWN. Since this happens only from time to time the exit status of the plugin will switch from OK to UNKNOWN and back from time to time: hence the flapping status.
The only solution would be either:
Original reporter: roland.wolters@credativ.de
I use this plugin on CentOS 6.3 machines. If new updates occur, the plugin sometimes flapps in Icinga. If I call the plugin in a while loop I indeed see output indicating that yum blocks itself: