How 2 create Datasoure 2 monitor a solaris device via ssh

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sathishakh
Posts: 3
Joined: Fri Feb 01, 2013 7:58 am

How 2 create Datasoure 2 monitor a solaris device via ssh

Post by sathishakh »

How to monitor solaris device using ssh in nagios. please help me in monitoring of cpu, swap, disk and uptime using ssh.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How 2 create Datasoure 2 monitor a solaris device via ss

Post by abrist »

Have you read through the following document?

http://exchange.nagios.org/directory/Ad ... rd/details
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.
sathishakh
Posts: 3
Joined: Fri Feb 01, 2013 7:58 am

Re: How 2 create Datasoure 2 monitor a solaris device via ss

Post by sathishakh »

thanks abrist. let me configure it and get back to u if i found any issue.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How 2 create Datasoure 2 monitor a solaris device via ss

Post by slansing »

Excellent, let us know if you need help.
sathishakh
Posts: 3
Joined: Fri Feb 01, 2013 7:58 am

Re: How 2 create Datasoure 2 monitor a solaris device via ss

Post by sathishakh »

Hi Buddy,

after i followed the http://exchange.nagios.org/directory/Ad ... rd/details, i added the solaris device through ssh. there is a error like
Return code of 127 is out of bounds - plugin may be missing for Root Disk Space.

i have mentioned the following things to monitor Disk space in "Monitor the service with this command..."
check_xi_service_snmp_linux_storage!-C secret --v1c -m "^/$" -w 90 -c 95 -f!!!!!!!

Please help.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: How 2 create Datasoure 2 monitor a solaris device via ss

Post by slansing »

Are you able to run the check command manually from the command line of your Nagios XI server? I would recommend doing this, though you will likely get the same error, in this case, make sure that the correct ports are opened and definitions made on the remote system. Also make sure that the plugin is in fact executable.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: How 2 create Datasoure 2 monitor a solaris device via ss

Post by abrist »

sathishakh wrote: check_xi_service_snmp_linux_storage!-C secret --v1c -m "^/$" -w 90 -c 95 -f!!!!!!!

Code: Select all

"^/$"
There was a bug in the ccm that replaced quotes with the html """. If you have not yet updated to 2012r1.6, please do so. You will have to correct the quotes for any service check you have set up after the upgrade.
Upgrade XI
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.
Locked