Re: [Nagios-users] Daily status report?

2006-08-17 Thread ThomasC.
Hi, I cant get it work with nagios running on https, i get a segmentation fault... Any suggestions? [EMAIL PROTECTED] wrote: Heh, i was about to suggest my Nagios Email reporter :-) but it seems some kind soul did the work for me! Yeah.. use version 1.3.1 Internet [EMAIL

Re: [Nagios-users] Daily status report?

2006-08-17 Thread rob . moss
What exactly is segfaulting? You haven't provided much info to work with.. The script uses some basic Perl modules (libwwwperl) , so if there's anything sefaulting it's related to your local box. Make sure that you can run the reporting CGI's and Perl works, if not, you need to fix them.

[Nagios-users] host check anly after critical service check

2006-08-17 Thread Danil Kutepkin
Hello nagios-users, How to make a host active check (ping) only after a failed service check (ping)? -- Best regards, Danil mailto:[EMAIL PROTECTED] - Using Tomcat but need to do more? Need

[Nagios-users] check_http --url and --string don't work together?

2006-08-17 Thread Hari Sekhon
I can't seem to use --url and --string together. Url seems to make it not bother checking the string. First I test the --string works as follows: check_http -S -H www.somedomain.com --string='html blah blah title The Wrong Nonexistent Web Page/title...' which returns as expected. This is what

Re: [Nagios-users] check_http --url and --string don't work together?

2006-08-17 Thread Hari Sekhon
Hari Sekhon wrote: I can't seem to use --url and --string together. Url seems to make it not bother checking the string. First I test the --string works as follows: check_http -S -H www.somedomain.com --string='html blah blah title The Wrong Nonexistent Web Page/title...' which returns

[Nagios-users] Trouble creating dependencies

2006-08-17 Thread Nick Wales
Hi, I'm having trouble creating dependencies on my fairly small scale nagios installation I am monitoring our remote office, which has a DSL link and VPN between here and there. As its DSL and on occasion goes down I'm trying to get nagios to stop monitoring the fileservers over there

[Nagios-users] check_http can't follow redirect properly, no cookies!

2006-08-17 Thread Hari Sekhon
Hi, I've got check_http doing a login which works fine and I'm using the --onredirect=follow to make sure I can fetch the secured page it's redirected to. The problem is that when the page is fetched it is fetched without the previously supplied credentials and therefore I get a login page

[Nagios-users] Check ping error code 139

2006-08-17 Thread Ilia Anokhin
Hi everyone. I've faced a strange thing using nagios - not long after primary DNS has gone down, check_ping began to return error code 139 (Return code 139 is out of bounds). Does any one know what was going on with it? -

Re: [Nagios-users] check_http can't follow redirect properly, no cookies!

2006-08-17 Thread Ton Voon
No cookies in check_http, I'm afraid. It would be a nightmare enhance it to hold sessions.If you are good with perl, look at WWW::Mechanize. This allows you to store cookies and interact with a website as if you were a browser. We use this to login to monitor a betting site and retrieve funds

Re: [Nagios-users] host check anly after critical service check

2006-08-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Danil Kutepkin Sent: Thursday, August 17, 2006 3:50 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] host check anly after critical service check Hello nagios-users,

Re: [Nagios-users] check_http can't follow redirect properly, no cookies!

2006-08-17 Thread Hari Sekhon
Ton Voon wrote: No cookies in check_http, I'm afraid. It would be a nightmare enhance it to hold sessions. If you are good with perl, look at WWW::Mechanize. This allows you to store cookies and interact with a website as if you were a browser. We use this to login to monitor a betting

Re: [Nagios-users] Check ping error code 139

2006-08-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Ilia Anokhin Sent: Thursday, August 17, 2006 8:00 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Check ping error code 139 Hi everyone. I've faced a strange

[Nagios-users] plugin timeout setting?

2006-08-17 Thread Dan Joseph
Hi, Is there a setting somewhere in the config for the plugin timeouts? We're getting some heavy traffic on a server and its timing out the plugins. CRITICAL - Plugin timed out after 10 seconds . I'd like to change that to 20 seconds if possible? -- -Dan Joseph System Administrator

Re: [Nagios-users] plugin timeout setting?

2006-08-17 Thread Guillaume
Dan Joseph a écrit : Hi, Is there a setting somewhere in the config for the plugin timeouts? We're getting some heavy traffic on a server and its timing out the plugins. CRITICAL - Plugin timed out after 10 seconds . I'd like to change that to 20 seconds if possible? Hi, You have

Re: [Nagios-users] plugin timeout setting?

2006-08-17 Thread Dan Joseph
Guillaume wrote: Is there a setting somewhere in the config for the plugin timeouts? We're getting some heavy traffic on a server and its timing out the plugins. CRITICAL - Plugin timed out after 10 seconds . I'd like to change that to 20 seconds if possible? You have to change the

[Nagios-users] nmap

2006-08-17 Thread Robin-David Hammond%KB3IEN
Has anyone used nagios to track changes in the open ports on remote hosts? I'm thinking that if the output of nmap changes one hour to the next that something ought to be investigated. Sure it might be nothing, but might be a OOh a root-kit! How Nice! moment. Robin-David Hammond KB3IEN

[Nagios-users] ARP

2006-08-17 Thread Robin-David Hammond%KB3IEN
I have a dumb-as-nails Motorola SIP adapter from certain VoIP provider. The think act closed on all tcp/udp ports and ignores ICMP echo request. Mercifully the thing is hardwired to the nagios machine. Anyone how a check_arp_tables script that will raise some kinda hell if the arp entry

Re: [Nagios-users] nmap

2006-08-17 Thread Hari Sekhon
Robin-David Hammond%KB3IEN wrote: Has anyone used nagios to track changes in the open ports on remote hosts? I'm thinking that if the output of nmap changes one hour to the next that something ought to be investigated. Sure it might be nothing, but might be a OOh a root-kit! How Nice!

Re: [Nagios-users] nmap

2006-08-17 Thread Brian Loe
Couldn't you write a script that diffs nmap results and report 0 if diff doesn't come back with anything and 1 otherwise? nmap could be cronned to run hourly - or so - and the results diffed with a baseline file resulting in the code which nagios can cat... or something. Sorry, not a developer

Re: [Nagios-users] check_http can't follow redirect properly, no cookies!

2006-08-17 Thread David Price
Hari Sekhon wrote: Ton Voon wrote: No cookies in check_http, I'm afraid. It would be a nightmare enhance it to hold sessions. If you are good with perl, look at WWW::Mechanize. This allows you to store cookies and interact with a website as if you were a browser. We use this to login to

Re: [Nagios-users] nmap

2006-08-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Brian Loe Sent: Thursday, August 17, 2006 11:01 AM Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nmap Couldn't you write a script that diffs nmap results and

Re: [Nagios-users] nmap

2006-08-17 Thread Brian Loe
On 8/17/06, Marc Powell [EMAIL PROTECTED] wrote: /nagios-plugins-1.4.3/contrib. -- [contrib]$ ./check_nmap.py --help check_nmap plugin for Nagios Copyright (c) 2000 Jacob Lundqvist ([EMAIL PROTECTED]) License: GPL Version: 1.21 SNIP If possible, supply an IP address for the host address,

Re: [Nagios-users] detect 2 DHCP Servers on network?

2006-08-17 Thread Carl Friend
Hari Sekhon wrote: [...] raise the warning code if more than 1 offer was received [...] The pitfall here is that if you're running redundant DHCP servers it's possible to receive two offers. ISC DHCPD can function in this way. A regular client would see the first offer, accept it, and

Re: [Nagios-users] check_http can't follow redirect properly, no cookies!

2006-08-17 Thread Hari Sekhon
David Price wrote: Hari Sekhon wrote: Ton Voon wrote: No cookies in check_http, I'm afraid. It would be a nightmare enhance it to hold sessions. If you are good with perl, look at WWW::Mechanize. This allows you to store cookies and interact with a website as if you were a browser. We

Re: [Nagios-users] detect 2 DHCP Servers on network?

2006-08-17 Thread Hari Sekhon
Carl Friend wrote: Hari Sekhon wrote: [...] raise the warning code if more than 1 offer was received [...] The pitfall here is that if you're running redundant DHCP servers it's possible to receive two offers. ISC DHCPD can function in this way. A regular

Re: [Nagios-users] nmap

2006-08-17 Thread Hari Sekhon
Marc Powell wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED]] On Behalf Of Brian Loe Sent: Thursday, August 17, 2006 11:01 AM Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] nmap Couldn't you write a script that

[Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Vasiliy Boulytchev
Ladies and Gents, Can someone please suggest a good Linux, and a good Mac client for Nagios? I have been using nagios-statd (python), however, it does not support any authentication mechanism :( THANK YOU VERY MUCH! :) Vasiliy Boulytchev [EMAIL PROTECTED]

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Hugo van der Kooij
On Thu, 17 Aug 2006, Vasiliy Boulytchev wrote: Ladies and Gents, Can someone please suggest a good Linux, and a good Mac client for Nagios? I have been using nagios-statd (python), however, it does not support any authentication mechanism :( I would recommend firefox. Perhaps

[Nagios-users] out of office

2006-08-17 Thread Martin Schwarz
I will be out of the office starting 15.08.2006 and will not return until 28.08.2006. I am traveling and will have no access to my mail. In urgent cases call me on my mobile ( +491728491717 ) or contact Matthias in munich ( -116 )

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Vasiliy Boulytchev
OH lol! No NO NO. I meant for the clients running on the hosts being monitored :) I need a client for our Linux environment and our Mac environment, to report CPU, mem, disk, swap... and possibly authenticate with the monitoring server... Thanks hehe Vasiliy Boulytchev [EMAIL PROTECTED]

Re: [Nagios-users] How to get stdout from event handlers into Nagiosemail messages?

2006-08-17 Thread Kelly Alexander
I was hoping that the event handler ran first, and then the notice was sent out. Guess that's not the way it works. Since it's not possible I won't worry about it anymore and will just write something that notifies me from the handler itself. --- Kelly Alexander Skyrider

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Jim Perrin
OH lol! No NO NO. I meant for the clients running on the hosts being monitored :) Still not overly clear, but I assume you mean like nrpe I need a client for our Linux environment and our Mac environment, to report CPU, mem, disk, swap... and possibly authenticate with the monitoring

Re: [Nagios-users] host check anly after critical service check

2006-08-17 Thread Tory M Blue
On 8/17/06, Marc Powell [EMAIL PROTECTED] wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED]] On Behalf Of Danil Kutepkin Sent: Thursday, August 17, 2006 3:50 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] host check anly after

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Mark Hennessy
Why not just use NRPE? -- Mark Hennessy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vasiliy Boulytchev Sent: Thursday, August 17, 2006 1:58 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Good Linux and Mac Client

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Vasiliy Boulytchev Sent: Thursday, August 17, 2006 1:22 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Good Linux and Mac Client OH lol! No NO NO. I meant for the

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Hugo van der Kooij
On Thu, 17 Aug 2006, Vasiliy Boulytchev wrote: OH lol! No NO NO. I meant for the clients running on the hosts being monitored :) They are (sometimes) refered to as agents. Which make it much clearer what way you want to go. However these agents are as diverse as the things you want to

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Vasiliy Boulytchev
Thanks Mark, How about the Macintosh agents? :) THANKS Vasiliy Boulytchev [EMAIL PROTECTED] Mark Hennessy wrote: Why not just use NRPE? -- Mark Hennessy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vasiliy Boulytchev Sent:

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Hugo van der Kooij Sent: Thursday, August 17, 2006 1:49 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Good Linux and Mac Client On Thu, 17 Aug 2006, Vasiliy Boulytchev

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Mark Hennessy
GIYF http://nrpe.darwinports.com/ -- Mark Hennessy -Original Message- From: Vasiliy Boulytchev [mailto:[EMAIL PROTECTED] Sent: Thursday, August 17, 2006 2:54 PM To: Mark Hennessy Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Good Linux and Mac Client

Re: [Nagios-users] detect 2 DHCP Servers on network?

2006-08-17 Thread Harkisoon, Sharan W.
I don't mean to be off topic, but rogue DHCP servers can be easily avoided using switches that support layer-3 ACL's to block dhcp server replies from user ports on switches that support it (all new cisco switches including the 2950's/3550's/37xx's and even smc,dlink,allied telesyn support this).

Re: [Nagios-users] Good Linux and Mac Client

2006-08-17 Thread Maxwell,Brady
SNMP will work on both and NRPE works well for Linux boxes. Not sure about Macs but since OSX is sitting on a free bsd Kernel (I think). NRPE might work well on OSX as well. Not sure. There is also NSCA which I have not had a lot of luck with except when configuring remote nagios systems to report

Re: [Nagios-users] check_http can't follow redirect properly, no cookies!

2006-08-17 Thread Steve Shipway
Check out the WebInject Nagios plugin. I have it setup to check several pages in a secure website and it handles cookies. It could save you the hassle of creating your our script. We use webinject here for precisely this reason, and it works well. It also supports MRTG format output

Re: [Nagios-users] Apache2 permission denied error

2006-08-17 Thread frank
SELinux. I don't have a specific resolution for you, but that should point you in the right direction. Curiously, a search for selinux or forbidden comes up blank in the Nagios FAQ. This is a VERY common configuration error that I see on the list at least 3 times a month. Perhaps a relevant

[Nagios-users] BUG? Segfault coredump with scheduled downtime, downtime scheduled horked

2006-08-17 Thread karl . kornel
Dear fellow Nagios users, Ever since downloading my first Nagios tarball (2.0rc2), and continuing to version 2.5, I have been noticing a big problem with downtimes. It appears that if there are more than a couple of downtimes scheduled, Nagios will crash partway through the list. This is a

Re: [Nagios-users] Apache2 permission denied error

2006-08-17 Thread Marc Powell
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of frank Sent: Thursday, August 17, 2006 5:44 PM To: Rusch, Daniel Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Apache2 permission denied error SELinux. I don't