On Tue, Sep 21, 2010 at 12:22 PM, Lyle Ryan <[email protected]> wrote: > 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 ?
Perhaps tcp wrappers is enabled and blocking connections. Are there any relevant entries in /var/adm/messages? What does "inetadm -l ncsa" say? -- Mike Gerdts http://mgerdts.blogspot.com/ _______________________________________________ sysadmin-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss
