Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: [OK] Shinken 2.0 - Localhost DOWN / Details CRITICAL

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

    Re: Shinken 2.0 - Localhost DOWN / Details CRITICAL

    yes, they are the same, we didn't change them. If you got an 1.4 installation you can just copy them
    No direct support by personal message. Please open a thread so everyone can see the solution

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

    Re: Shinken 2.0 - Localhost DOWN / Details CRITICAL

    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #13

    Re: Shinken 2.0 - Localhost DOWN / Details CRITICAL

    I've just copy/paste all files from Shinken1.4/libexec into the same folder in my Shinken2.0

    >> It just miss net/snmp.pm and Syteme_log_health.

    But the others are in "Permission Denied" (new point)
    with same community configured on hosts and shinken.

    SNMPWALK test pass from shinken server to hosts but not in the WebUI


    EDIT: arbiter.log says that my receiver (on port 7773) can't connect : connection refused. I was having same problems with all other parts of shinken till I've uplaod shinken 1.4 .pl files.
    Receiver 7773 seems to be the last in the log with "connection refused"

  4. #14

    Re: Shinken 2.0 - Localhost DOWN / Details CRITICAL

    I've saw a topic talking about permissions.

    But there are a strange deal here :

    If user "root" is the ownner of scripts >> "Permission Denied"
    If user "Shinken" (as created in the 10min guide) is the owner of scripts >> "need to be run as root or setuid root"

    Same for group mix...

    For the logs:

    My Arbiter says it can't connect to the receiver (7773) : connection refused
    My receiver nor broker send any error

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

    Re: Shinken 2.0 - Localhost DOWN / Details CRITICAL

    what are the rights of your scripts?
    No direct support by personal message. Please open a thread so everyone can see the solution

  6. #16

    Re: Shinken 2.0 - Localhost DOWN / Details CRITICAL

    9391 232 -rwxrwxrwx 1 shinken shinken 235790 mar 10 10:54 check_icmp
    >> ERR: "need to be run as root or setuid root"

    OR
    9391 232 -rwxrwxrwx 1 root root 235790 mar 10 10:54 check_icmp
    >> ERR: "Permission Denied"

    The strange thing is that in twice case, script has 777...

  7. #17

    Re: Shinken 2.0 - Localhost DOWN / Details CRITICAL

    Problem solved !

    >> Script were needed the "S" perm node

  8. #18
    Junior Member
    Join Date
    Mar 2014
    Posts
    3

    Re: [OK] Shinken 2.0 - Localhost DOWN / Details CRITICAL

    Can you elaborate on what you did to get the scripts' permissions right? What do you mean by "S" perm node? I'm having the same issue(s). I can use the linux-snmp pack to poll services but the node itself is down.

    Please advise.

    Thanks!

  9. #19

    Re: [OK] Shinken 2.0 - Localhost DOWN / Details CRITICAL

    Sorry Eleven for the delay.

    What I've done :

    Go into to libexec folder
    # cd /var/lib/shinken/libexec

    Give all perms to shinken on all scripts
    # chown shinken:shinken *

    Give rights on specific files to root
    #chown root:root check_icmp

    Give S perms to check_icmp
    # chmod 4777 check_icmp

    All were CRITICAL because it was unable to use "check_icmp" so shinken, in case "check_icmp" failde,
    Shinken will not check for snmp parts.

    >> those steps worked for me

Posting Permissions

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