I'm trying to register & start a service using SMF on Solaris 10. It's nsca, 
part of the Nagios monitoring system. I've got nsca running fine as a detached 
process, and can manually create passive checks via send_nsca. But when I try 
to run nsca as a daemon, I need some advice.

The nsca install seemed to create /var/svc/manifest/network/nsca-tcp.xml and 
that looked ok, so I did a "svccfg import" of that file, and now I get this 
result:

#> svcs -l svc:/network/nsca/tcp:default
fmri svc:/network/nsca/tcp:default
name nsca
enabled true
state online
next_state none
state_time September 20, 2010 5:40:07 PM PDT
restarter svc:/network/inetd:default
contract_id

This looks like I'm close. The service seems enabled. Looks to me like inetd 
should start up the daemon when a request comes in. But nothing happens when I 
use send_nsca (no logfile activity, no nsca process). Do I need a script in 
/lib/svc/method ?

Thanks for any advice....Lyle
Edit/Delete Message
-- 
This message posted from opensolaris.org
_______________________________________________
sysadmin-discuss mailing list
sysadmin-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to