Friday, February 17, 2017

install via opencsw nagios nrpe 2.15 on solaris 10/11 sparc

 install via opencsw nagios nrpe 2.15 on solaris 10/11 sparc  
   
 if compiling is not your friend, just do opencsw.  
   
 npre  
   
 pkgadd -d http://get.opencsw.org/now  
 /opt/csw/bin/pkgutil -U  
 /opt/csw/bin/pkgutil -y -i nrpe   
 /usr/sbin/pkgchk -L CSWnrpe # list files  
   
 # svcs svc:/network/cswnrpe:default  
 online     8:14:44 svc:/network/cswnrpe:default  
 STATE     STIME  FMRI  
 online     8:14:44 svc:/network/cswnrpe:default  
   
 # cat nrpe 5666/tcp # NRPE >> /etc/services  
   
 nrpe_plugin  
   
 pkgadd -d http://get.opencsw.org/now  
 /opt/csw/bin/pkgutil -U  
 /opt/csw/bin/pkgutil -y -i nrpe_plugin   
 /usr/sbin/pkgchk -L CSWnrpe-plugin # list files  
   
 nagios_plugins  
   
 pkgadd -d http://get.opencsw.org/now  
 /opt/csw/bin/pkgutil -U  
 /opt/csw/bin/pkgutil -y -i nagios_plugins   
 /usr/sbin/pkgchk -L CSWnagios-plugins # list files  
   
 ls -la /opt/csw/libexec/nagios-plugins/  
   
 edit  
 /etc/opt/csw/nrpe.cfg  
   
 test  
 /opt/csw/libexec/nagios-plugins/check_nrpe -H localhost  
   
 easy. some nice one did everything for you.  

No comments: