# Problems with configuration of check\_disk at director

**URL:** <https://community.icinga.com/t/problems-with-configuration-of-check-disk-at-director/7222>\
**Category:** Icinga Director\
**Tags:** check\_disk\
**Created:** [April 30, 2021, 9:26am UTC](https://community.icinga.com/t/problems-with-configuration-of-check-disk-at-director/7222 "2021-04-30T09:26:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenya](https://community.icinga.com/letter_avatar_proxy/v4/letter/k/c5a1d2/32.png) [@kenya](https://community.icinga.com/u/kenya)\
**Post date:** [April 30, 2021, 9:26am UTC](https://community.icinga.com/t/problems-with-configuration-of-check-disk-at-director/7222/1 "2021-04-30T09:26:22Z")

</div>

Hello,  
first my installation looks like this:

> System information:  
> Platform: Debian GNU/Linux  
> Platform version: 10 (buster)  
> Kernel: Linux  
> Kernel version: 4.19.0-16-amd64  
> Architecture: x86\_64
> 
> Build information:  
> Compiler: GNU 8.3.0  
> Build host: anubis
> 
> Application information:
> 
> General paths:  
> Config directory: /etc/icinga2  
> Data directory: /var/lib/icinga2  
> Log directory: /var/log/icinga2  
> Cache directory: /var/cache/icinga2  
> Spool directory: /var/spool/icinga2  
> Run directory: /run/icinga2
> 
> Old paths (deprecated):  
> Installation root: /usr  
> Sysconf directory: /etc  
> Run directory (base): /run  
> Local state directory: /var
> 
> Internal paths:  
> 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
> 
> Icingaweb2-modules: director

I have installed a first service template “disk-check” and use it at the local master-zone (Icinga2 server itself). Now I see the whole time at “Overview/Services” this service as “unknown”. The response of the plugin is still “check\_disk: Timeout interval muss ein positiver Integer sein - 1m”.  
I tried several things: timeout with “1”, “60s”, “1m” etc., but the error doesn’t disappear.

Meanwhile I found under “Troubleshooting” of this service “Inspect”. There is the executed command shown:  
`'/usr/lib/nagios/plugins/check_disk' '-c' '50%' '-w' '40%' '-X' 'none' '-X' 'tmpfs' '-X' 'sysfs' '-X' 'proc' '-X' 'configfs' '-X' 'devtmpfs' '-X' 'devfs' '-X' 'mtmfs' '-X' 'tracefs' '-X' 'cgroup' '-X' 'fuse.gvfsd-fuse' '-X' 'fuse.gvfs-fuse-daemon' '-X' 'fdescfs' '-X' 'overlay' '-X' 'nsfs' '-X' 'squashfs' '-m' '-t' '1m' '-p' '/'`  
I use it on my bash konsole:  
# /usr/lib/nagios/plugins/check\_disk -c 50% -w 40% -X none -X tmpfs -X sysfs -X proc -X configfs -X devtmpfs -X devfs -X mtmfs -X tracefs -X cgroup -X fuse.gvfsd-fuse -X fuse.gvfs-fuse-daemon -X fdescfs -X overlay -X nsfs -X ‘squashfs’ -m -t 1m -p /  
check\_disk: Timeout interval muss ein positiver Integer sein - 1m  
Only on this way it runs correctly:  
# /usr/lib/nagios/plugins/check\_disk -c 50% -w 40% -X none -X tmpfs -X sysfs -X proc -X configfs -X devtmpfs -X devfs -X mtmfs -X tracefs -X cgroup -X fuse.gvfsd-fuse -X fuse.gvfs-fuse-daemon -X fdescfs -X overlay -X nsfs -X ‘squashfs’ -m -p /  
DISK OK - free space: / 138231 MB (97% inode=98%);| /=3322MB;89520;74600;0;149201  
Only if the option “-t 1m” fails the command runs right. If I set the field “timeout” blank, the system fill up it with “-t 1m” per default.  
How can I solve it on the Icinga2 director?  
Greetings  
Andreas

---

<div class="post-metadata">

**Author:** ![kenya](https://community.icinga.com/letter_avatar_proxy/v4/letter/k/c5a1d2/32.png) [@kenya](https://community.icinga.com/u/kenya)\
**Post date:** [April 30, 2021, 9:41am UTC](https://community.icinga.com/t/problems-with-configuration-of-check-disk-at-director/7222/2 "2021-04-30T09:41:16Z")

</div>

With  
`check_timeout	10`  
it runs well.
