Results 1 to 2 of 2

Thread: [Errno 2] No such file or directory on every check

  1. #1
    .Patrick
    Guest

    [Errno 2] No such file or directory on every check

    Hi all,

    Currently I am using nagios and I want to transder it all to shinken; however after the problems of installing (It was my problem not enough disc space -.-) I have it now installed and I want to convert 1 host and 3 service checks to shinken to test it;

    But as the topic title states I get this error on everything I try;
    Is this a known issue?

    I created my own command check_topdesk;
    putted it in libexec (of the shinken directory)

    But still getting the error above; I have no clue what to do what so ever; does anyone have any idea what the problem is?

    I used the curl install method so the 10 minute install wen well; but there are almost no files in de libexec location; so where can I find the command files?? is the location wrong? (/usr/local/shinken/libexec; that is what it is now)


    nagios.log:
    [1368869708] CURRENT HOST STATE: TOPDesk;DOWN;HARD;10;[Errno 2] No such file or directory
    [1368869708] CURRENT HOST STATE: localhost;DOWN;HARD;2;[Errno 2] No such file or directory
    [1368869708] CURRENT SERVICE STATE: TOPDesk;Openstaande meldingen - Allemaal;WARNING;HARD;1;
    [1368869708] CURRENT SERVICE STATE: TOPDesk;Openstaande meldingen - Eerste lijns;WARNING;HARD;1;
    [1368869708] CURRENT SERVICE STATE: TOPDesk;Openstaande meldingen - Tweede lijns;WARNING;HARD;1;
    [1368869708] CURRENT SERVICE STATE: localhost;Load;CRITICAL;HARD;2;[Errno 2] No such file or directory
    and:

    [1368869707] Info : Creating packs for realms
    [1368869707] Info : Number of hosts in the realm All: 2 (distributed in 2 linked packs)
    [1368869707] Info : Saving the distribution file pack_distribution.dat
    [1368869707] Info : Total number of hosts : 2
    [1368869707] Info : Things look okay - No serious problems were detected during the pre-flight check
    [1368869707] Info : [Arbiter] Serializing the configurations...
    [1368869707] Info : Configuration Loaded
    [1368869707] Info : Trying to initialize additional groups for the daemon
    [1368869707] Warning : Stale pidfile exists (pid=4949 not exists). Reusing it.
    [1368869707] Info : Initializing Pyro connection with host:localhost port:7770 ssl:False
    [1368869707] Warning : Printing stored debug messages prior to our daemonization
    [1368869707] Warning : IOError(2, 'No such file or directory&#039

  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: [Errno 2] No such file or directory on every check

    Look at the poller log, it will output where it is looking for the files.
    No direct support by personal message. Please open a thread so everyone can see the solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •