AIX Agent
Re: AIX Agent
We have a doc covering aix:
http://assets.nagios.com/downloads/nagi ... Nagios.pdf
http://assets.nagios.com/downloads/nagi ... Nagios.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: AIX Agent
I'm looking at the check_by_SSH monitor for monitoring 2000+ Unix / Linux servers. A mixture of AIX, SUN and Redhat. Since we are a retailer and du to the whole Target mess setup of Pre- shared keys is now off the table. I would like to use Nagios with XI to monitor and want a agentless implementations. Can the SSH monitor be confiture to use a login and password? (no key)
BTW you guys do a great job with the online support. Answers are quick and to the point. If I can over-come these technical challenges I'm recommending the full purchase of this tool..
BTW you guys do a great job with the online support. Answers are quick and to the point. If I can over-come these technical challenges I'm recommending the full purchase of this tool..
Re: AIX Agent
No. But you could make a plugin that does it quite easily - though it would (without further scripting) store the password in plaintext on the XI server. Not sure if that is better than pre-shared keys though.DanZ wrote:Can the SSH monitor be confiture to use a login and password? (no key)
You would make a shell script plugin using sshpass and pass the command string through a parameter.
If this is a requirement, we can most definitely help you create this script.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: AIX Agent
We will require account with our own naming convention and not use the shared key. IF you have a white paper on how to create the sshpass plug in. I can try that before I get your gut to help us.. Thanks again.
Re: AIX Agent
We do not provide a document for using sshpass to create a plugin. It would be rather simple though:
check_by_sshpass.sh:
Run it with:
check_by_sshpass.sh:
Code: Select all
#!/bin/bash
HOST=$1
USER=$2
PASS=$3
COMMAND=$4
sshpass -p$PASS ssh -o StrictHostKeyChecking=no $USER@$HOST "$COMMAND"Code: Select all
./check_by_sshpass.sh <hostname> <username> <password> "<command>"Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: AIX Agent
OK so once I create this check_by_sshpass.sh what path on the XI server do I put it in. and how in the XI UI do I tell it to use this on the ssh monitor setups instead of its normail check_by_ssh?
Re: AIX Agent
As with any other plugin in nagios, you will need to install the plugin, test it from the CLI, define a command, and add a service. Please, review the following document, which describes how to manage plugins on your XI system:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: AIX Agent
Thanks for all the help thus far. I was able to create a plugin to do what we need. The last part of this POC is to configure Nagios to send a SNMP TRAP to our SNMP management server. I'm still looking but have not yet found documentation on how to set this up. Can you point me in the right direction?
Re: AIX Agent
I've been doing the same thing. Look in the XI Administrators Guide under Advanced Topics, SNMP Trap Integration. There is an snmp trap sender component. Or direct link to instructions: http://assets.nagios.com/downloads/nagi ... ios_XI.pdfDanZ wrote:Thanks for all the help thus far. I was able to create a plugin to do what we need. The last part of this POC is to configure Nagios to send a SNMP TRAP to our SNMP management server. I'm still looking but have not yet found documentation on how to set this up. Can you point me in the right direction?