[OpenIndiana-discuss] inetadm and svcadm

Lou Picciano loupicciano at comcast.net
Fri Jan 14 20:39:17 UTC 2011


I know nothing of nagios, but it might run under a different daemon name, no? 


And, of course, the script needn't be named anything like nagios at all! 


Lou 

----- Original Message ----- 
From: "Matt Wilby" <matthewwilby at btinternet.com> 
To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org> 
Sent: Friday, January 14, 2011 3:00:51 PM 
Subject: Re: [OpenIndiana-discuss] inetadm and svcadm 

Hi, 

Do a 'ps -ef | grep nagios'. The third column gives you parent pid. What is it? 

Matt 


On 14/01/2011 19:53, ann kok wrote: 

> Hi Matt 
> 
> I go to /etc/init.d 
> 
> There is no nagios script under this folder. 
> 
> Do you have any idea? 
> 
> Thank you 
> 
> --- On Fri, 1/14/11, Matt Wilby <matthewwilby at btinternet.com> wrote: 
> 
>> From: Matt Wilby <matthewwilby at btinternet.com> 
>> Subject: Re: [OpenIndiana-discuss] inetadm and svcadm 
>> To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org> 
>> Received: Friday, January 14, 2011, 2:25 PM 
>> SMF won't do anything with Nagios 
>> unless there is a manifest for it. 
>> 
>> Have a look in /etc/init.d, there's probably a legacy 
>> script depending on how you installed it. You can start it 
>> with /etc/init.d/nagios start. 
>> 
>> Here's a link from Google that might prove helpful. 
>> 
>> http://searchdatacenter.techtarget.com/tip/Installing-Nagios-on-Solaris-for-network-and-server-monitoring?asrc=EM_NLN_5591223&track=NL-832&ad=683882 
>> <http://searchdatacenter.techtarget.com/tip/Installing-Nagios-on-Solaris-for-network-and-server-monitoring?asrc=EM_NLN_5591223&track=NL-832&ad=683882> 
>> 
>> 
>> You may want to look at some of the Nagios related forums. 
>> 
>> Thanks. 
>> 
>> 
>> 
>> On 14/01/2011 19:18, ann kok wrote: 
>> 
>>> I can ps -ef|grep nagios 
>>> 
>>> But I can't see how to start the nagios in it 
>>> 
>>> svcs -a list | grep nagios <== nothing 
>>> 
>>> How does it start? 
>>> 
>>> Thank you 
>>> 
>>> --- On Fri, 1/14/11, Matt Wilby <matthewwilby at btinternet.com> 
>> wrote: 
>>>> From: Matt Wilby <matthewwilby at btinternet.com> 
>>>> Subject: Re: [OpenIndiana-discuss] inetadm and 
>> svcadm 
>>>> To: "Discussion list for OpenIndiana" <openindiana-discuss at openindiana.org> 
>>>> Received: Friday, January 14, 2011, 2:01 PM 
>>>> Sorry I wasn't very clear. What's the 
>>>> output of 'ps -ef | grep <what you are looking 
>> for>'? 
>>>> 
>>>> On 14/01/2011 18:56, Matt Wilby wrote: 
>>>> 
>>>>> What's the output of 'ps -ef'? 
>>>>> 
>>>>> 
>>>>> On 14/01/2011 18:51, ann kok wrote: 
>>>>> 
>>>>>> Hello 
>>>>>> 
>>>>>> How I can know the service is under 
>> inetadm or 
>>>> svcadm? 
>>>>>> I can't find service in svcs -a 
>>>>>> 
>>>>>> But I can see it in the ps -ef 
>>>>>> 
>>>>>> How do I know the service coming from? 
>>>>>> 
>>>>>> Thank you 
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> 
>> _______________________________________________ 
>>>>>> OpenIndiana-discuss mailing list 
>>>>>> OpenIndiana-discuss at openindiana.org 
>>>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss 
>>>>>> 
>> _______________________________________________ 
>>>>> OpenIndiana-discuss mailing list 
>>>>> OpenIndiana-discuss at openindiana.org 
>>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss 
>>>>> 
>>>> _______________________________________________ 
>>>> OpenIndiana-discuss mailing list 
>>>> OpenIndiana-discuss at openindiana.org 
>>>> http://openindiana.org/mailman/listinfo/openindiana-discuss 
>>>> 
>>> 
>>> _______________________________________________ 
>>> OpenIndiana-discuss mailing list 
>>> OpenIndiana-discuss at openindiana.org 
>>> http://openindiana.org/mailman/listinfo/openindiana-discuss 
>>> 
>> 
>> _______________________________________________ 
>> OpenIndiana-discuss mailing list 
>> OpenIndiana-discuss at openindiana.org 
>> http://openindiana.org/mailman/listinfo/openindiana-discuss 
>> 
> 
> 
> _______________________________________________ 
> OpenIndiana-discuss mailing list 
> OpenIndiana-discuss at openindiana.org 
> http://openindiana.org/mailman/listinfo/openindiana-discuss 
> 


_______________________________________________ 
OpenIndiana-discuss mailing list 
OpenIndiana-discuss at openindiana.org 
http://openindiana.org/mailman/listinfo/openindiana-discuss 


More information about the OpenIndiana-discuss mailing list