Page 1 of 1

solaris monitoring

Posted: Mon Feb 17, 2020 1:23 pm
by progressive.nagiosXI
Hi Team

we install ncpa on Solaris 10 server as per https://www.nagios.org/ncpa/getting-started.php#solaris

we dont know solaris 10 commands
  • how to check agent successfully installed or not
    how to change community_string (as done in centos via vim or vi editor)
    firewall rules if any
    restart the agent if needed
Thanks

Re: solaris monitoring

Posted: Mon Feb 17, 2020 5:16 pm
by jdunitz
For starters, there's a known issue with certain versions of NCPA on Solaris 10. Which version of the NCPA agent do you have? Yours may or may not be OK, so let us know what you have.

Most things on Solaris work pretty much the same as Linux, with a few differences.
how to check agent successfully installed or not

Code: Select all

# ls /usr/local/ncpa
Does it look like everything is in there?

Code: Select all

# ps -efa | grep ncpa
Does ncpa appear to be running?
Also, if you hit https://your-solaris-machine.whatever.it.is:5693/ in a web browser, what do you see?
how to change community_string (as done in centos via vim or vi editor)
This is the same; vi works on Solaris the same way as linux.
firewall rules if any
I will refer you to this document:

https://docs.oracle.com/cd/E19253-01 ... ndex.html
restart the agent if needed

Code: Select all

# svcs -a | grep -i ncpa
# svcadm enable ncpa
# svcadm restart ncpa  
If the output of svcs -a shows a different name for the ncpa service, use whatever is correct.

Hope that helps!