execvpe(/usr/lib64/nagios/plugins/check_disk.exe) failed: No such file or directory

This forum was archived to /woltlab and is now in read-only mode.
  • Icinga: 2.6.3

    Centos 7

    nagios plugins have been installed


    client version: 2.6.3

    Windows 2012 R2 Datacenter



    I have an issue with monitoring windows machines only, linux seems to be fine. It keeps saying that "execvpe(/usr/lib64/nagios/plugins/check_disk.exe) failed: No such file or directory ", I have verified that this does exist and this check does work on the windows machine. I have also verified that this path is correct in constants. Is there a log file I can look at that might shed more light? Possibly a rights issue?

  • That path would mean that your service check is executed on a Linux host (presumingly the master) instead of the Windows client.


    How does the generated service for that Windows host look like?

  • Question, how come some plugins work and some don't? For instance I can get CPU_USAGE, but not CHECK_DISK..


    Works:

    apply Service "cpu_usage" {
    import "generic-service"
    check_command = "load"
    vars.load_wload1 = "80"
    vars.load_cload1 = "95"
    command_endpoint = host.vars.remote_client
    assign where host.vars.os == "Windows"
    }


    Doesn't work:


    apply Service "check_disk" {
    import "generic-service"
    check_command = "check_disk"
    command_endpoint = host.vars.remote_client
    assign where host.vars.os == "Windows"
    }


    I have checked the documentation and found nothing on remote monitoring windows.. or remote monitoring anything for that matter. Am I missing it? I seriously doubt this is as difficult as it seems.