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 880 Lee Street, Suite 302 Des Plaines, IL 60016
Office (847) 827-9740 x109 Fax (847) 493-8031
rroginela at americashloans.net <mailto:rroginela at americashloans.net>
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.
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
> <hobbit at hswn.dk>
cc
09-09-2008 18:57
Subject
[hobbit] Asterisk Phone System
Please respond to Monitoring
hobbit at hswn.dk
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 880 Lee Street, Suite 302 Des Plaines, IL 60016
Office (847) 827-9740 x109 Fax (847) 493-8031
rroginela at americashloans.net
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.
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 <tlp at mach.com> 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 > <hobbit at hswn.dk> cc 09-09-2008 18:57 Subject [hobbit] Asterisk Phone System Please respond to Monitoring hobbit at hswn.dkHi 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 880 Lee Street, Suite 302 Des Plaines, IL 60016
Office (847) 827-9740 x109 Fax (847) 493-8031
rroginela at americashloans.net
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: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
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 <josh at imaginenetworksllc.com>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 <tlp at mach.com> 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.netTo > <hobbit at hswn.dk>
cc
09-09-2008 18:57Subject
[hobbit] Asterisk Phone System Please respond to Monitoring hobbit at hswn.dkHi 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 880 Lee Street, Suite 302 Des Plaines, IL 60016
Office (847) 827-9740 x109 Fax (847) 493-8031
rroginela at americashloans.net
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: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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 =( Josh Luthman Office: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
On Wed, Sep 10, 2008 at 6:10 PM, Ralph Mitchell <ralphmitchell at gmail.com>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 <josh at imaginenetworksllc.com
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 <tlp at mach.com> 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.netTo > <hobbit at hswn.dk>
cc
09-09-2008 18:57Subject
[hobbit] Asterisk Phone System Please respond to Monitoring hobbit at hswn.dkHi 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 880 Lee Street, Suite 302 Des Plaines, IL 60016
Office (847) 827-9740 x109 Fax (847) 493-8031
rroginela at americashloans.net
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: 937-552-2340 Direct: 937-552-2343 1100 Wayne St Suite 1337 Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
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.
Try this:
gn1 at sanger.ac.uk
-- 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: hobbit at hswn.dk 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.
We did, it bounced. :-(
From: Lars Ebeling [mailto:lars.ebeling at leopg9.no-ip.org] Sent: Thursday, 11 September 2008 2:48 PM To: hobbit at hswn.dk Subject: Re: [hobbit] LSF tests on Shire
Try this:
gn1 at sanger.ac.uk
-- 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:Vernon.Everett at woodside.com.au>
To: hobbit at hswn.dk
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.
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=
From: Everett, Vernon [mailto:Vernon.Everett at woodside.com.au] Sent: Thursday, September 11, 2008 2:52 AM To: hobbit at hswn.dk Subject: RE: [hobbit] LSF tests on Shire
We did, it bounced. :-(
From: Lars Ebeling [mailto:lars.ebeling at leopg9.no-ip.org] Sent: Thursday, 11 September 2008 2:48 PM To: hobbit at hswn.dk Subject: Re: [hobbit] LSF tests on Shire Try this:
gn1 at sanger.ac.uk<mailto:gn1 at sanger.ac.uk>
-- 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:Vernon.Everett at woodside.com.au> To: hobbit at hswn.dk<mailto:hobbit at hswn.dk> 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.
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 (847) 827-9740 x109 Fax (847) 493-8031
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:tlp at mach.com] Sent: Wednesday, September 10, 2008 1:52 PM To: hobbit at hswn.dk 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" <Rafal.Roginela at AmeriCashLoans.net>
"Rafal Roginela" <Rafal.Roginela at AmeriCashLoans.net>
09-09-2008 18:57
Please respond to hobbit at hswn.dk
To
<hobbit at hswn.dk>
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 880 Lee Street, Suite 302 Des Plaines, IL 60016
Office (847) 827-9740 x109 Fax (847) 493-8031
rroginela at americashloans.net <mailto:rroginela at americashloans.net>
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.
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:Rafal.Roginela at AmeriCashLoans.net] Sent: Wednesday, September 10, 2008 17:50 To: hobbit at hswn.dk 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 (847) 827-9740 x109 Fax (847) 493-8031
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:tlp at mach.com] Sent: Wednesday, September 10, 2008 1:52 PM To: hobbit at hswn.dk 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" <Rafal.Roginela at AmeriCashLoans.net>
"Rafal Roginela" <Rafal.Roginela at AmeriCashLoans.net>
09-09-2008 18:57
Please respond to hobbit at hswn.dk
To
<hobbit at hswn.dk>
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 880 Lee Street, Suite 302 Des Plaines, IL 60016
Office (847) 827-9740 x109 Fax (847) 493-8031
rroginela at americashloans.net <mailto:rroginela at americashloans.net>
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.
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
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
From: KauffmanT at nibco.com To: hobbit at hswn.dk 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!55...
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: (49) 69 - 798 28908 Fax: (49) 69 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de Persoenlich: schritte at hebis.uni-frankfurt.de
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
-----Original Message----- From: Rolf Schrittenlocher [mailto:schritte at hebis.uni-frankfurt.de] Sent: Friday, September 12, 2008 1:47 AM To: hobbit at hswn.dk 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: (49) 69 - 798 28908 Fax: (49) 69 798 28817 LBS: lbs-f at mlist.uni-frankfurt.de Persoenlich: schritte at hebis.uni-frankfurt.de
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
In <EC70BBBBD43A8B468D2460FE1CFAAA2614885107 at EX1.nibco.com> "Kauffman, Tom" <KauffmanT at nibco.com> 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
Thank You!!!
Rafal Roginela
Office (847) 827-9740 x109 Fax (847) 493-8031
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:etmsys at rit.edu] Sent: Thursday, September 11, 2008 7:03 AM To: hobbit at hswn.dk 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:Rafal.Roginela at AmeriCashLoans.net] Sent: Wednesday, September 10, 2008 17:50 To: hobbit at hswn.dk 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 (847) 827-9740 x109 Fax (847) 493-8031
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:tlp at mach.com] Sent: Wednesday, September 10, 2008 1:52 PM To: hobbit at hswn.dk 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" <Rafal.Roginela at AmeriCashLoans.net>
"Rafal Roginela" <Rafal.Roginela at AmeriCashLoans.net>
09-09-2008 18:57
Please respond to hobbit at hswn.dk
To
<hobbit at hswn.dk>
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 880 Lee Street, Suite 302 Des Plaines, IL 60016
Office (847) 827-9740 x109 Fax (847) 493-8031
rroginela at americashloans.net <mailto:rroginela at americashloans.net>
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.
participants (12)
-
etmsys@rit.edu
-
Galen.Johnson@sas.com
-
henrik@hswn.dk
-
josh@imaginenetworksllc.com
-
KauffmanT@nibco.com
-
lars.ebeling@leopg9.no-ip.org
-
Rafal.Roginela@AmeriCashLoans.net
-
ralphmitchell@gmail.com
-
schritte@hebis.uni-frankfurt.de
-
tj_yang@hotmail.com
-
tlp@mach.com
-
Vernon.Everett@woodside.com.au