Xymon Mailing List Archive search

Asterisk Phone System Monitoring

17 messages in this thread

list Rafal Roginela · Tue, 9 Sep 2008 11:57:44 -0500 ·
Hi All,

 
Have a Asterisk box running on CentOS (FreePBX is the GUI). Just asking
to see if anyone is using Hobbit to monitor their Asterisk server and if
so if you could pass along any helpful tid bits to get the most out of
Hobbit monitoring of this box (procs , logs , files to watch?).  Already
have Hobbit monitoring the Win boxes and a ESX box and all is well. Any
help would be appreciated.

 
Thank you,

 
Rafal Roginela
Network Engineer

AmeriCash Loans, LLC
XXX Lee Street, Suite XXX
Des Plaines, IL XXXXX

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

user-5b0d0daed758@xymon.invalid <mailto:user-5b0d0daed758@xymon.invalid> 

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
list Thomas Laurids Pedersen · Wed, 10 Sep 2008 20:51:30 +0200 ·
I have it monitoring the standard checks; proc, cpu, disk etc and have
written 2 extensions monitoring the IAX trunks and ISDN PRI line. Fairly
simple checks "iax2 show peers" and then cut until it is given that all
lines are ok.

I have been looking at Nagios which has a sip_check script as I would like
to have a test on asterisk actually running, but I havent gotten around to
do it.


             "Rafal Roginela"                                              
             <Rafal.Roginela at A                                             
             meriCashLoans.net                                          To 
                        <user-ae9b8668bcde@xymon.invalid>                    
                                                                        cc 
             09-09-2008 18:57                                              
                                                                   Subject 
                                       [hobbit] Asterisk Phone System      
             Please respond to         Monitoring                          
              user-ae9b8668bcde@xymon.invalid                                               
quoted from Rafal Roginela
                                                                           
                                                                           
Hi All,

Have a Asterisk box running on CentOS (FreePBX is the GUI). Just asking to
see if anyone is using Hobbit to monitor their Asterisk server and if so if
you could pass along any helpful tid bits to get the most out of Hobbit
monitoring of this box (procs , logs , files to watch?).  Already have
Hobbit monitoring the Win boxes and a ESX box and all is well. Any help
would be appreciated.

Thank you,

Rafal Roginela
Network Engineer

AmeriCash Loans, LLC
XXX Lee Street, Suite XXX
Des Plaines, IL XXXXX

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

user-5b0d0daed758@xymon.invalid

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
list Josh Luthman · Wed, 10 Sep 2008 15:24:21 -0400 ·
Has anyone thought of using Hobbit and Asterisk for an alert type?
Festival and an email turning into a phone call would be very cool :)
quoted from Thomas Laurids Pedersen


On 9/10/08, Thomas Laurids Pedersen <user-934e986710b3@xymon.invalid> wrote:
I have it monitoring the standard checks; proc, cpu, disk etc and have
written 2 extensions monitoring the IAX trunks and ISDN PRI line. Fairly
simple checks "iax2 show peers" and then cut until it is given that all
lines are ok.

I have been looking at Nagios which has a sip_check script as I would like
to have a test on asterisk actually running, but I havent gotten around to
do it.


             "Rafal Roginela"
             <Rafal.Roginela at A
             meriCashLoans.net                                          To
                        <user-ae9b8668bcde@xymon.invalid>
                                                                        cc
             09-09-2008 18:57
                                                                   Subject
                                       [hobbit] Asterisk Phone System
             Please respond to         Monitoring
              user-ae9b8668bcde@xymon.invalid


Hi All,

Have a Asterisk box running on CentOS (FreePBX is the GUI). Just asking to
see if anyone is using Hobbit to monitor their Asterisk server and if so if
you could pass along any helpful tid bits to get the most out of Hobbit
monitoring of this box (procs , logs , files to watch?).  Already have
Hobbit monitoring the Win boxes and a ESX box and all is well. Any help
would be appreciated.

Thank you,

Rafal Roginela
Network Engineer

AmeriCash Loans, LLC
XXX Lee Street, Suite XXX
Des Plaines, IL XXXXX

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

user-5b0d0daed758@xymon.invalid

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

-- 

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Rafal Roginela · Wed, 10 Sep 2008 16:50:15 -0500 ·
Thank You Thomas! Installed the client and started to do some initial
configurations. If you have some extensions you can pass along I would
be grateful!

 
Rafal Roginela
signature

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

 This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

quoted from Thomas Laurids Pedersen
From: Thomas Laurids Pedersen [mailto:user-934e986710b3@xymon.invalid] 
Sent: Wednesday, September 10, 2008 1:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Asterisk Phone System Monitoring

 
I have it monitoring the standard checks; proc, cpu, disk etc and have
written 2 extensions monitoring the IAX trunks and ISDN PRI line. Fairly
simple checks "iax2 show peers" and then cut until it is given that all
lines are ok.

I have been looking at Nagios which has a sip_check script as I would
like to have a test on asterisk actually running, but I havent gotten
around to do it.

 "Rafal Roginela" <user-744e62462615@xymon.invalid>


"Rafal Roginela" <user-744e62462615@xymon.invalid> 

09-09-2008 18:57 

Please respond to
user-ae9b8668bcde@xymon.invalid

 
To

 
<user-ae9b8668bcde@xymon.invalid>


cc


Subject


[hobbit] Asterisk Phone System Monitoring
quoted from Josh Luthman

 
Hi All,

Have a Asterisk box running on CentOS (FreePBX is the GUI). Just asking
to see if anyone is using Hobbit to monitor their Asterisk server and if
so if you could pass along any helpful tid bits to get the most out of
Hobbit monitoring of this box (procs , logs , files to watch?). Already
have Hobbit monitoring the Win boxes and a ESX box and all is well. Any
help would be appreciated.

Thank you,

Rafal Roginela
Network Engineer

AmeriCash Loans, LLC
XXX Lee Street, Suite XXX
Des Plaines, IL XXXXX

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

user-5b0d0daed758@xymon.invalid <mailto:user-5b0d0daed758@xymon.invalid> 

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
list Ralph Mitchell · Wed, 10 Sep 2008 17:10:08 -0500 ·
Some folks using MisterHouse for Home Automation are doing voice messages
via Asterisk, for things like reminders and alarm trips .  This link came up
on the MisterHouse mailing list a couple of days ago:

   http://www.xapautomation.org/index.php?title=Asterisk_Unattended_Dialout

The email included this Perl fragment:

      my $notify_number = '1888xxxxxxx';
      my $notify_msg = 'This is a test';
      # don't modify the following unless the xAP target for your
      # axc instance is different from liming.axc.house
      &xAP::sendXap('liming.axc.house', 'messenger.event',
         'Message.Receive' => { from => 'mh',
         body => "axc-notify $notify_number $notify_msg" });

for sending an example test message.

I don't have Asterisk, so I have no idea how easy/hard it would be to
integrate with Hobbit, but I suspect the above info would go some way
towards making it work...  :)

Ralph Mitchell


On Wed, Sep 10, 2008 at 2:24 PM, Josh Luthman
quoted from Rafal Roginela
<user-4c45a83f15cb@xymon.invalid>wrote:
Has anyone thought of using Hobbit and Asterisk for an alert type?
Festival and an email turning into a phone call would be very cool :)


On 9/10/08, Thomas Laurids Pedersen <user-934e986710b3@xymon.invalid> wrote:
I have it monitoring the standard checks; proc, cpu, disk etc and have
written 2 extensions monitoring the IAX trunks and ISDN PRI line. Fairly
simple checks "iax2 show peers" and then cut until it is given that all
lines are ok.

I have been looking at Nagios which has a sip_check script as I would
like
to have a test on asterisk actually running, but I havent gotten around
to
do it.


             "Rafal Roginela"
             <Rafal.Roginela at A
             meriCashLoans.net
 To
                        <user-ae9b8668bcde@xymon.invalid>
cc
             09-09-2008 18:57
 Subject
                                       [hobbit] Asterisk Phone System
             Please respond to         Monitoring
              user-ae9b8668bcde@xymon.invalid


Hi All,

Have a Asterisk box running on CentOS (FreePBX is the GUI). Just asking
to
see if anyone is using Hobbit to monitor their Asterisk server and if so
if
you could pass along any helpful tid bits to get the most out of Hobbit
monitoring of this box (procs , logs , files to watch?).  Already have
Hobbit monitoring the Win boxes and a ESX box and all is well. Any help
would be appreciated.

Thank you,

Rafal Roginela
Network Engineer

AmeriCash Loans, LLC
XXX Lee Street, Suite XXX
Des Plaines, IL XXXXX

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

user-5b0d0daed758@xymon.invalid

This e-mail may contain confidential and/or privileged information. If
you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

list Josh Luthman · Wed, 10 Sep 2008 18:16:04 -0400 ·
I used Asterisk a few years ago and from what I know it should be quite
simple.  Again, like Ralph, I don't use Asterisk at this time =(
signature
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer


quoted from Ralph Mitchell
On Wed, Sep 10, 2008 at 6:10 PM, Ralph Mitchell <user-00a5e44c48c0@xymon.invalid>wrote:
Some folks using MisterHouse for Home Automation are doing voice messages
via Asterisk, for things like reminders and alarm trips .  This link came up
on the MisterHouse mailing list a couple of days ago:


http://www.xapautomation.org/index.php?title=Asterisk_Unattended_Dialout

The email included this Perl fragment:

      my $notify_number = '1888xxxxxxx';
      my $notify_msg = 'This is a test';
      # don't modify the following unless the xAP target for your
      # axc instance is different from liming.axc.house
      &xAP::sendXap('liming.axc.house', 'messenger.event',
         'Message.Receive' => { from => 'mh',
         body => "axc-notify $notify_number $notify_msg" });

for sending an example test message.

I don't have Asterisk, so I have no idea how easy/hard it would be to
integrate with Hobbit, but I suspect the above info would go some way
towards making it work...  :)

Ralph Mitchell


On Wed, Sep 10, 2008 at 2:24 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid
quoted from Ralph Mitchell
wrote:
Has anyone thought of using Hobbit and Asterisk for an alert type?
Festival and an email turning into a phone call would be very cool :)


On 9/10/08, Thomas Laurids Pedersen <user-934e986710b3@xymon.invalid> wrote:
I have it monitoring the standard checks; proc, cpu, disk etc and have
written 2 extensions monitoring the IAX trunks and ISDN PRI line. Fairly
simple checks "iax2 show peers" and then cut until it is given that all
lines are ok.

I have been looking at Nagios which has a sip_check script as I would
like
to have a test on asterisk actually running, but I havent gotten around
to
do it.


             "Rafal Roginela"
             <Rafal.Roginela at A
             meriCashLoans.net
 To
                        <user-ae9b8668bcde@xymon.invalid>
cc
             09-09-2008 18:57
 Subject
                                       [hobbit] Asterisk Phone System
             Please respond to         Monitoring
              user-ae9b8668bcde@xymon.invalid


Hi All,

Have a Asterisk box running on CentOS (FreePBX is the GUI). Just asking
to
see if anyone is using Hobbit to monitor their Asterisk server and if so
if
you could pass along any helpful tid bits to get the most out of Hobbit
monitoring of this box (procs , logs , files to watch?).  Already have
Hobbit monitoring the Win boxes and a ESX box and all is well. Any help
would be appreciated.

Thank you,

Rafal Roginela
Network Engineer

AmeriCash Loans, LLC
XXX Lee Street, Suite XXX
Des Plaines, IL XXXXX

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

user-5b0d0daed758@xymon.invalid

This e-mail may contain confidential and/or privileged information. If
you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

list Vernon Everett · Thu, 11 Sep 2008 13:17:07 +0800 ·
Hi
 
Does anybody know the current email address of Gildas Le Nadan, author
of the lsf_mon.pl and lsf_queues.pl on the Shire?
My colleague managed to make a few improvements to these excellent
scripts, and it might be good to fold the changes back into the code.
 
One of the changes he made, was if you run a test (from command line
perhaps) and the $BB* variables are not defined, and you are on a
terminal, then run and display output to standard-out.
He does this for most of the things he writes that are to be included
into hobbit, and I believe it is a good idea, and should be adopted for
all Hobbit script writers.
 
It's a little more difficult if the script is reliant on $BBHOME to
access files, but if there is a way to run from command line, it should.

 
Regards
     Vernon
 
 
NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
list Lars Ebeling · Thu, 11 Sep 2008 08:47:52 +0200 ·
Try this:

user-231cb1cfd8a8@xymon.invalid

-- 
Regards
Lars Ebeling

http://leopg9.no-ip.org
Hobbithobbyist

"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt."
-- Mark Twain


  ----- Original Message -----   From: Everett, Vernon   To: user-ae9b8668bcde@xymon.invalid   Sent: Thursday, September 11, 2008 7:17 AM
  Subject: [hobbit] LSF tests on Shire
quoted from Vernon Everett


  Hi

  Does anybody know the current email address of Gildas Le Nadan, author of the lsf_mon.pl and lsf_queues.pl on the Shire?
  My colleague managed to make a few improvements to these excellent scripts, and it might be good to fold the changes back into the code.

  One of the changes he made, was if you run a test (from command line perhaps) and the $BB* variables are not defined, and you are on a terminal, then run and display output to standard-out.
  He does this for most of the things he writes that are to be included into hobbit, and I believe it is a good idea, and should be adopted for all Hobbit script writers.

  It's a little more difficult if the script is reliant on $BBHOME to access files, but if there is a way to run from command line, it should. 
  Regards
       Vernon

 NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Vernon Everett · Thu, 11 Sep 2008 14:51:44 +0800 ·
We did, it bounced. :-(
quoted from Lars Ebeling


From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid] Sent: Thursday, 11 September 2008 2:48 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] LSF tests on Shire


Try this:
 user-231cb1cfd8a8@xymon.invalid
 -- 
Regards
Lars Ebeling
 http://leopg9.no-ip.org
Hobbithobbyist
 "It is better to keep your mouth shut and appear stupid than to open it
and remove all doubt."
-- Mark Twain
 
 

	----- Original Message ----- 	From: Everett, Vernon <mailto:user-9da1a1882f49@xymon.invalid>  	To: user-ae9b8668bcde@xymon.invalid 	Sent: Thursday, September 11, 2008 7:17 AM
quoted from Lars Ebeling
	Subject: [hobbit] LSF tests on Shire

	Hi
	 	Does anybody know the current email address of Gildas Le Nadan,
author of the lsf_mon.pl and lsf_queues.pl on the Shire?
	My colleague managed to make a few improvements to these
excellent scripts, and it might be good to fold the changes back into
the code.
	 	One of the changes he made, was if you run a test (from command
line perhaps) and the $BB* variables are not defined, and you are on a
terminal, then run and display output to standard-out.
	He does this for most of the things he writes that are to be
included into hobbit, and I believe it is a good idea, and should be
adopted for all Hobbit script writers.
	 	It's a little more difficult if the script is reliant on $BBHOME
to access files, but if there is a way to run from command line, it
should. 	 	Regards
	     Vernon
	 

NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Eric Meddaugh · Thu, 11 Sep 2008 08:03:11 -0400 ·
This works well, and it runs on the hobbit server to test it remotely:

 
http://www.trantor.org/theshire/doku.php/monitors:asterisk-iax2

 
http://www.trantor.org/theshire/doku.php/monitors:asterisk-sip

 
I've been using these for a while now.  The latest Asterisk 1.4.21.2
seems to have a small problem with the IAX2 one, someone else has a
problem with the SIP one.  UDP test are harder to reliably test.

 
---Eric
quoted from Rafal Roginela

 
From: Rafal Roginela [mailto:user-744e62462615@xymon.invalid] 
Sent: Wednesday, September 10, 2008 17:50
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Asterisk Phone System Monitoring

 
Thank You Thomas! Installed the client and started to do some initial
configurations. If you have some extensions you can pass along I would
be grateful!

 
Rafal Roginela

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

 This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

From: Thomas Laurids Pedersen [mailto:user-934e986710b3@xymon.invalid] 
Sent: Wednesday, September 10, 2008 1:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Asterisk Phone System Monitoring

 
I have it monitoring the standard checks; proc, cpu, disk etc and have
written 2 extensions monitoring the IAX trunks and ISDN PRI line. Fairly
simple checks "iax2 show peers" and then cut until it is given that all
lines are ok.

I have been looking at Nagios which has a sip_check script as I would
like to have a test on asterisk actually running, but I havent gotten
around to do it.

 "Rafal Roginela" <user-744e62462615@xymon.invalid>

"Rafal Roginela" <user-744e62462615@xymon.invalid> 

09-09-2008 18:57 

Please respond to
user-ae9b8668bcde@xymon.invalid

 
To

 
<user-ae9b8668bcde@xymon.invalid>


cc


Subject


[hobbit] Asterisk Phone System Monitoring

 
Hi All,

Have a Asterisk box running on CentOS (FreePBX is the GUI). Just asking
to see if anyone is using Hobbit to monitor their Asterisk server and if
so if you could pass along any helpful tid bits to get the most out of
Hobbit monitoring of this box (procs , logs , files to watch?). Already
have Hobbit monitoring the Win boxes and a ESX box and all is well. Any
help would be appreciated.

Thank you,

Rafal Roginela
Network Engineer

AmeriCash Loans, LLC
XXX Lee Street, Suite XXX
Des Plaines, IL XXXXX

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

user-5b0d0daed758@xymon.invalid <mailto:user-5b0d0daed758@xymon.invalid> 

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
list Galen Johnson · Thu, 11 Sep 2008 08:43:39 -0400 ·
Feel free to ahead and make the changes on The Shire...it's really just a wiki (dokuwiki to be exact).  If this is something you've found helpful, feel free to create a tutorial on the tutorials page as well.

=G=
quoted from Vernon Everett

From: Everett, Vernon [mailto:user-9da1a1882f49@xymon.invalid]
Sent: Thursday, September 11, 2008 2:52 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] LSF tests on Shire

We did, it bounced. :-(

From: Lars Ebeling [mailto:user-1fecd3eafd52@xymon.invalid]
Sent: Thursday, 11 September 2008 2:48 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] LSF tests on Shire
Try this:

user-231cb1cfd8a8@xymon.invalid<mailto:user-231cb1cfd8a8@xymon.invalid>
quoted from Vernon Everett

--
Regards
Lars Ebeling

http://leopg9.no-ip.org
Hobbithobbyist

"It is better to keep your mouth shut and appear stupid than to open it and remove all doubt."
-- Mark Twain


----- Original Message -----
From: Everett, Vernon<mailto:user-9da1a1882f49@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid<mailto:user-ae9b8668bcde@xymon.invalid>
Sent: Thursday, September 11, 2008 7:17 AM
Subject: [hobbit] LSF tests on Shire

Hi

Does anybody know the current email address of Gildas Le Nadan, author of the lsf_mon.pl and lsf_queues.pl on the Shire?
My colleague managed to make a few improvements to these excellent scripts, and it might be good to fold the changes back into the code.

One of the changes he made, was if you run a test (from command line perhaps) and the $BB* variables are not defined, and you are on a terminal, then run and display output to standard-out.
He does this for most of the things he writes that are to be included into hobbit, and I believe it is a good idea, and should be adopted for all Hobbit script writers.

It's a little more difficult if the script is reliant on $BBHOME to access files, but if there is a way to run from command line, it should.

Regards
     Vernon


NOTICE: This email and any attachments are confidential.

They may contain legally privileged information or

copyright material. You must not read, copy, use or

disclose them without authorisation. If you are not an

intended recipient, please contact us at once by return

email and then delete both messages and all attachments.
list Tom Kauffman · Thu, 11 Sep 2008 11:46:59 -0400 ·
We had an 'event' earlier in the week where a file ended as zero-length, so I want to monitor it with hobbit.

Unfortunately, it is mode 600 owned by root, in a directory mode 600 owned by root.

I'd like to report this under the 'files' column, but I'd rather not do logfetch as suid rot.

Has anyone had luck using the file:command interface to use sudo?

Any other suggestions?


TIA

Tom Kauffman
list Rafal Roginela · Thu, 11 Sep 2008 10:47:03 -0500 ·
Thank You!!!

 
Rafal Roginela

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

 This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

From: Eric Meddaugh [mailto:user-4e1e735fdc96@xymon.invalid] 
Sent: Thursday, September 11, 2008 7:03 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Asterisk Phone System Monitoring

 
This works well, and it runs on the hobbit server to test it remotely:

 
http://www.trantor.org/theshire/doku.php/monitors:asterisk-iax2

 
http://www.trantor.org/theshire/doku.php/monitors:asterisk-sip

 
I've been using these for a while now.  The latest Asterisk 1.4.21.2
seems to have a small problem with the IAX2 one, someone else has a
problem with the SIP one.  UDP test are harder to reliably test.

 
---Eric

 
From: Rafal Roginela [mailto:user-744e62462615@xymon.invalid] 
Sent: Wednesday, September 10, 2008 17:50
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Asterisk Phone System Monitoring

 
Thank You Thomas! Installed the client and started to do some initial
configurations. If you have some extensions you can pass along I would
be grateful!

 
Rafal Roginela

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

 This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

From: Thomas Laurids Pedersen [mailto:user-934e986710b3@xymon.invalid] 
Sent: Wednesday, September 10, 2008 1:52 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Asterisk Phone System Monitoring

 
I have it monitoring the standard checks; proc, cpu, disk etc and have
written 2 extensions monitoring the IAX trunks and ISDN PRI line. Fairly
simple checks "iax2 show peers" and then cut until it is given that all
lines are ok.

I have been looking at Nagios which has a sip_check script as I would
like to have a test on asterisk actually running, but I havent gotten
around to do it.

 "Rafal Roginela" <user-744e62462615@xymon.invalid>

"Rafal Roginela" <user-744e62462615@xymon.invalid> 

09-09-2008 18:57 

Please respond to
user-ae9b8668bcde@xymon.invalid

 
To

 
<user-ae9b8668bcde@xymon.invalid>


cc


Subject


[hobbit] Asterisk Phone System Monitoring

 
Hi All,

Have a Asterisk box running on CentOS (FreePBX is the GUI). Just asking
to see if anyone is using Hobbit to monitor their Asterisk server and if
so if you could pass along any helpful tid bits to get the most out of
Hobbit monitoring of this box (procs , logs , files to watch?). Already
have Hobbit monitoring the Win boxes and a ESX box and all is well. Any
help would be appreciated.

Thank you,

Rafal Roginela
Network Engineer

AmeriCash Loans, LLC
XXX Lee Street, Suite XXX
Des Plaines, IL XXXXX

Office (XXX) XXX-XXXX x109
Fax (XXX) XXX-XXXX

user-5b0d0daed758@xymon.invalid <mailto:user-5b0d0daed758@xymon.invalid> 

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.
list T.J. Yang · Thu, 11 Sep 2008 12:59:37 -0500 ·
we have hobbit  client depend on sudo software and create an sudo entry in sudoer file to specify which command hobbit client can run as root.

T.J. Yang
quoted from Tom Kauffman

From: user-3feba9e60a8b@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Date: Thu, 11 Sep 2008 11:46:59 -0400
Subject: [hobbit] need help checking a file status


We had an ‘event’ earlier in
the week where a file ended as zero-length, so I want to monitor it with
hobbit.

 
Unfortunately, it is mode 600 owned by
root, in a directory mode 600 owned by root.

 
I’d like to report this under the ‘files’
column, but I’d rather not do logfetch as suid rot.

 
Has anyone had luck using the file:command
interface to use sudo?

 
Any other suggestions?

 
TIA

 
Tom Kauffman


Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
list Rolf Schrittenlocher · Fri, 12 Sep 2008 07:47:18 +0200 ·
Hi Tom,

what about a cronjob copying the file every minute and changing the rights of the copy? Then you may monitor the copy.

Rolf
quoted from T.J. Yang
We had an ‘event’ earlier in the week where a file ended as zero-length, so I want to monitor it with hobbit.

Unfortunately, it is mode 600 owned by root, in a directory mode 600 owned by root.

I’d like to report this under the ‘files’ column, but I’d rather not do logfetch as suid rot.

Has anyone had luck using the file:command interface to use sudo?

Any other suggestions?

TIA

Tom Kauffman
-- 

Mit freundlichen Gruessen
Rolf Schrittenlocher

Bitte beachten Sie die neue Emailadresse!

HeBIS-IT, Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-ea9d95bffcf0@xymon.invalid
list Tom Kauffman · Fri, 12 Sep 2008 09:45:57 -0400 ·
Well, among other things - the file that went missing was a crontab . . .

I've built a small perl script to get the data and dump it out to the client data stream; hobbit runs it via sudo. I'm also looking at logfetch.c, the hobbit program that does the process. I can see Henrik has thought about this, because the code to get and drop root permissions is present - bracketed by ifdefs for 'BIG_SECURITY_HOLE'.

I need to satisfy myself about the logfetch code, and then I think a recompile may be in order.

(Complicating the issue, AIX does not have a 'stat' command, and the 'istat' command does not give similar output).

Tom
quoted from Rolf Schrittenlocher

-----Original Message-----
From: Rolf Schrittenlocher [mailto:user-ea9d95bffcf0@xymon.invalid]
Sent: Friday, September 12, 2008 1:47 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] need help checking a file status

Hi Tom,

what about a cronjob copying the file every minute and changing the
rights of the copy? Then you may monitor the copy.

Rolf
We had an 'event' earlier in the week where a file ended as
zero-length, so I want to monitor it with hobbit.

Unfortunately, it is mode 600 owned by root, in a directory mode 600
owned by root.

I'd like to report this under the 'files' column, but I'd rather not
do logfetch as suid rot.

Has anyone had luck using the file:command interface to use sudo?

Any other suggestions?

TIA

Tom Kauffman
--
Mit freundlichen Gruessen
Rolf Schrittenlocher

Bitte beachten Sie die neue Emailadresse!

HeBIS-IT, Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-ea9d95bffcf0@xymon.invalid
list Henrik Størner · Tue, 30 Sep 2008 13:34:14 +0000 (UTC) ·
quoted from Tom Kauffman
In <user-3cd401e9a937@xymon.invalid> "Kauffman, Tom" <user-3feba9e60a8b@xymon.invalid> writes:
Well, among other things - the file that went missing was a crontab . . .
I've built a small perl script to get the data and dump it out to the clien=
t data stream; hobbit runs it via sudo. I'm also looking at logfetch.c, the=
hobbit program that does the process. I can see Henrik has thought about t=
his, because the code to get and drop root permissions is present - bracket=
ed by ifdefs for 'BIG_SECURITY_HOLE'.
I need to satisfy myself about the logfetch code, and then I think a recomp=
ile may be in order.
The BIG_SECURITY_HOLE shows up because logfetch has no way of validating
that it is using a configuration file that hasn't been tampered with. So
if you run logfetch as root, you can feed it a config file listing secret
files that you want to read (like /etc/shadow), and it will happily read them
for you and put the contents into the Hobbit client-message. Not good ...

A custom status-check might be the simplest way of doing what you want.


Henrik