GrexAut Trainee

  • Member since Jun 14th 2016
  • Last Activity:
Posts
22
Likes Received
3
Points
153
Profile Hits
58
  • GrexAut

    Replied to the thread using ssh private key.
    Post
    (Quote from Wolfgang)

    Ok, now I know why it has not worked. To set the env variables of the beginning of the script is a good idea! - Thank you.
  • GrexAut

    Replied to the thread using ssh private key.
    Post
    Hello,

    I have CentOS 7.3, I wrote nagios, but i meant icinga. Sorry for that, I have no nagios user :)

    I tried it with icinga user on bash, it works. Is it possible, that variable $HOME will not set, when icinga run check commands?

    EDIT: I can use now…
  • GrexAut

    Like (Post)
    Include that detail next time in your initial post, makes it easier to solve.
  • GrexAut

    Posted the thread using ssh private key.
    Thread
    Hello,

    I want to use the plugin check_3par from https://github.com/qaxi/nagios-check_3par.
    The problem is, I cannot set the private key at the command, it uses from homeDirectory/.ssh/id_rsa, I put the private key to /var/spool/icinga/.ssh and changed…