Thank's Work Like a charm !!!
Cohen Yaniv > System Administrator
[EMAIL PROTECTED]
28 Brauch Hirch Bnei Barak , 51202 Israel
m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Newton
Sent: Wednesday, January 24, 2007 4:54 PM
To: General discussion of using zenoss system
Subject: Re: [zenoss-users] FW ports
The device name after the "-d" needs to be _exactly_ what Zenoss thinks
that device's name is. On my computer, localhost is often
"localhost.localdomain", so I would do this:
$ zencommand run -d localhost.localdomain -v 10
Zencommand is simply not running anything. It may be because localhost
is the wrong name. It may be because no commands have been configured
for localhost. If you see a COMMAND in the PerfConf and it has been
enabled, then you should see it run by zencommand.
-Eric
Cohen Yaniv wrote:
> Nagios plugin
>
> Hey Erik,
> After I type the command I only get :
> zencommand run -d localhost -v10
> ======================================================================
> fDEBUG:zen.zencommand:Updated configCycleInterval config to 30
> DEBUG:zen.zencommand:waiting for events to flush
> DEBUG:zen.Events:EventClassInst=Start
> DEBUG:zen.Events:update status set clearid = '0af8fe1334e1d41cfffffff'
where
> device='zenoss.netcraft.co.il' and component='zencommand' and eventKey=''
> and (eventClass='/App/Stop' or eventClass='/App/Start'): --> 0
> DEBUG:zen.Events:insert into history set
>
firstTime=1169651099.453,severity=0,component='zencommand',agent='zenprocess
>
',summary='started',dedupid='zenoss.netcraft.co.il|zencommand|/App/Start||0|
>
started',manager='zenoss.netcraft.co.il',eventKey='',device='zenoss.netcraft
>
.co.il',eventClass='/App/Start',lastTime=1169651099.453,message='started',de
> letedTime=null,evid='0af8fe1334e1d41cfffffff': --> 1
> DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
> DEBUG:zen.Events:EventClassInst=Stop
> DEBUG:zen.Events:insert into status set
>
firstTime=1169651100.131,severity=3,component='zencommand',agent='zenprocess
>
',summary='stopped',dedupid='zenoss.netcraft.co.il|zencommand|/App/Stop||3|s
>
topped',manager='zenoss.netcraft.co.il',eventKey='',device='zenoss.netcraft.
>
co.il',eventClass='/App/Stop',lastTime=1169651100.131,message='stopped',evid
> ='0af8fe1334e1d41cffffffe' on duplicate key update
> summary='stopped',count=count+1,lastTime=1169651100.131: --> 1
> DEBUG:zen.Events:DELETE FROM status WHERE clearid IS NOT NULL: --> 0
>
============================================================================
>
> Does it tell you any thing ?...
> And isn't there a way to check the state of the "check_http" plugin
> In the zenoss application?... like other services?.
>
>
> Cohen Yaniv > System Administrator
>
> [EMAIL PROTECTED]
> 28 Brauch Hirch Bnei Barak , 51202
Israel
> m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665
>
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Erik A. Dahl
> Sent: Monday, January 22, 2007 6:23 PM
> To: General discussion of using zenoss system
> Subject: Re: [zenoss-users] FW ports
>
> You can see what's going on by running zencommand in the foreground
> like this.
>
> zencommand run -d YOURBOX -v10
>
> -EAD
>
> On Jan 22, 2007, at 4:27 AM, Cohen Yaniv wrote:
>
>
>> It seem that I have a small problem....
>> After I have installed the Plugin and configure the command in
>> Zenoss --> /Devices /Server /Windows /S82410 /PerfConf /
>> Websitecheck
>> I added "/usr/local/nagios/libexec/check_http -H www.zenoss.com -
>> u / -s
>> "Aggddbout" "
>> At the command template and filled the information as from - >
>> (http://dev.zenoss.org/trac/wiki/HowToNagiosCreateTemplate)
>>
>> It doesnt give me any warning or even a sign that It's working
>> But from the command line I check it out and it's working
>>
>> The command I typed is :
>> "/usr/local/nagios/libexec/check_http -H www.zenoss.com -u / -s
>> "Aggddbout""
>>
>> Help ...?....
>> Where can I find the error output ....?
>> Thanks,
>> Cohen yaniv
>>
>>
>> Cohen Yaniv > System Administrator
>>
>> [EMAIL PROTECTED]
>> 28 Brauch Hirch Bnei Barak ,
>> 51202 Israel
>> m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665
>>
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Cohen Yaniv
>> Sent: Monday, January 22, 2007 9:50 AM
>> To: 'General discussion of using zenoss system'
>> Subject: RE: [zenoss-users] FW ports
>>
>> Thanks....
>> Ill check it [EMAIL PROTECTED]
>>
>>
>> Cohen Yaniv > System Administrator
>>
>> [EMAIL PROTECTED]
>> 28 Brauch Hirch Bnei Barak ,
>> 51202 Israel
>> m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665
>>
>>
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Erik A. Dahl
>> Sent: Monday, January 22, 2007 4:59 AM
>> To: [EMAIL PROTECTED]; General discussion of using zenoss system
>> Subject: Re: [zenoss-users] FW ports
>>
>> Also if you are using WMI you need the ports for DCOM... Can't say I
>> know what these are off the top of my head though. :)
>>
>> -EAD
>>
>> On Jan 21, 2007, at 3:47 PM, JFD wrote:
>>
>>
>>> bonjour
>>>
>>>
>>>
>>> snmp use 161
>>> traps 162
>>> if you use ssh : 22
>>>
>>> jf
>>>
>>>
>>> Le dimanche 21 janvier 2007 à 12:11 +0200, Cohen Yaniv a écrit :
>>>
>>>> Hey,
>>>>
>>>> I want to monitors a remote servers (windows) and they are behind
>>>> FW,
>>>>
>>>> I would like to now what ports should I open in the remote FW, so
>>>> ZENOSS can monitor them.
>>>>
>>>>
>>>>
>>>> Also what ports should be open in my local FW.
>>>>
>>>>
>>>>
>>>> Thanks...
>>>>
>>>>
>>>>
>>>>
>>>> Cohen Yaniv > System Administrator
>>>>
>>>>
>>>> [EMAIL PROTECTED]
>>>>
>>>> 28 Brauch Hirch Bnei Barak , 51202
>>>> Israel
>>>>
>>>> m: +972-54-8195010> p: +972-3-5786660 > f: +972-3-786665
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> zenoss-users mailing list
>>>> [email protected]
>>>> http://lists.zenoss.org/mailman/listinfo/zenoss-users
>>>>
>>>
>>
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users