Forum Discussion

Troy_93881's avatar
Troy_93881
Icon for Nimbostratus rankNimbostratus
Apr 01, 2011

Monitor using "grep"

All,

 

 

Looking for a little guidance. I would like to know if I can set up a monitor ( multiple monitors ) that would run a "grep" command and based on results -- mark a member up or down.

 

 

Appreciate and help anyone can provide,

 

 

Thanks

 

 

  • Do you get the same delay when you SSH without the script? It's possible that the SSH server is configured to do a reverse lookup of the client IP. If so, you can disable that on the server by setting UseDNS to no in the sshd_config file.

     

     

    If you're using SSH from a monitor, you should do key based auth so you don't need to hard code a user/pass somewhere:

     

     

    https://help.ubuntu.com/community/SSH/OpenSSH/Keys

     

     

    Aaron