Re: [Nagios-users] Integrating MIBs with Nagios

2008-03-07 Thread Patrick Morris
On Fri, 07 Mar 2008, Mr Manoj wrote: > Ok fine. how can i intergrate new MIBs with check_snmp. > > Say, when i receive new vendor MIB, how to comiple those to make > Nagios understand about the new MIBs. Nagios doesn't deal directly with MIBs at all -- really, all they all is a standard format

Re: [Nagios-users] check_smtp times out

2008-03-07 Thread Patrick Morris
On Fri, 07 Mar 2008, Julie S. Lin wrote: > Hi All > > for one particular server (mail.borken.com) it sporadically comes back > "Socket timeout after 10 seconds " when doing smtp_checks. however, > another server > "outside" the cisco pix firewall works fine doing the same check. other > checks

Re: [Nagios-users] Integrating MIBs with Nagios

2008-03-07 Thread Mr Manoj
Ok fine. how can i intergrate new MIBs with check_snmp. Say, when i receive new vendor MIB, how to comiple those to make Nagios understand about the new MIBs. - manu   On Thu, 06 Mar 2008 Dale J.Chatham wrote : >check_snmp >Mr Manoj wrote: > >  >Hi Friends, >Can you share your ideas on int

[Nagios-users] check_smtp times out

2008-03-07 Thread Julie S. Lin
Hi All for one particular server (mail.borken.com) it sporadically comes back "Socket timeout after 10 seconds " when doing smtp_checks. however, another server "outside" the cisco pix firewall works fine doing the same check. other checks involving mail.borken.com come back fine, so firewal

[Nagios-users] Interface traffic monitoring via snmp

2008-03-07 Thread Brian Murphy
Hi List Running nagios-3rc3 on SLES 10and looking for a cpu/time efficient way to get traffic stats from remote routers. Currently doing this in our test environment with check_iftraffic.pl but this can take over a second to execute, and given that I am anticipating 2 interfaces on each of 600

Re: [Nagios-users] check_http problem with version 3.0rc2

2008-03-07 Thread Hendrik Bäcker
Wes Hegge schrieb: Hello everyone, I have this command working on version 2 of Nagios but have not been able to get it to work on version 3.0rc2. Plugins are version 1.4.11. Here is the command: define command{ command_namecheck_http_backhaul_trango command_line$US

[Nagios-users] Motorola OIDs

2008-03-07 Thread James
I am trying to monitor the memory of a Motorola BSR64000 CMTS. I have check commands for Cisco stuff but not Motorola. The Cisco OIDs are: oid_mem5minUsed: 1.3.6.1.4.1.9.9.48.1.1.1.5.1 oid_mem5minFree: 1.3.6.1.4.1.9.9.48.1.1.1.6.1 -

[Nagios-users] check_http problem with version 3.0rc2

2008-03-07 Thread Wes Hegge
Hello everyone, I have this command working on version 2 of Nagios but have not been able to get it to work on version 3.0rc2. Plugins are version 1.4.11. Here is the command: define command{ command_namecheck_http_backhaul_trango command_line$USER1$/checkk_http -H $HOST

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Marcel
I"ve meant: "I have NOT implemented yet..." - sorry for my bad english. On Fri, Mar 7, 2008 at 3:10 PM, Marcel <[EMAIL PROTECTED]> wrote: > I guess that in 3.0rc3 you can modify service check configuration > on-demand. > > Not implemented yet, but you should be able to do something like changi

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Tom Sommer
Would this feature not be best served being in the core? Marcel wrote: > here it is: > > http://nagios.sourceforge.net/docs/3_0/adaptive.html > > > > On Fri, Mar 7, 2008 at 3:10 PM, Marcel <[EMAIL PROTECTED] > > wrote: > > I guess that in 3.0rc3 you can modify s

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Marcel
here it is: http://nagios.sourceforge.net/docs/3_0/adaptive.html On Fri, Mar 7, 2008 at 3:10 PM, Marcel <[EMAIL PROTECTED]> wrote: > I guess that in 3.0rc3 you can modify service check configuration > on-demand. > > Not implemented yet, but you should be able to do something like changing > no

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Marcel
I guess that in 3.0rc3 you can modify service check configuration on-demand. Not implemented yet, but you should be able to do something like changing normal_check_interval until it reaches an OK state. Anyone here already come up with a solution to this problem? Cheers On Fri, Mar 7, 2008 at

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Tom Sommer
Marc Powell wrote: >> Hi, >> >> I wish to setup the following check interval: >> >> Check the service every 5 minutes >> -> If down then check the service every 1 minute for 3 minutes/times >>-> If still down, notify and continue to check the service every 1 >> minute until it recovers. >> >>

Re: [Nagios-users] Probem with nrpe and sudo on rhel5 servers

2008-03-07 Thread Jonathan Mills
Huh, just as a side note, it's probably a bad idea to give the nagios user so many powers in sudo. I've limited it by doing this: nagios ALL=NOPASSWD: /sbin/service nagios restart, \ /sbin/service nagios reload, \ /sbin/service nagios check

Re: [Nagios-users] Performance tuning a host returning resultsvia NSCA

2008-03-07 Thread Frost, Mark {PBG}
>-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of Oliver Hookins >Sent: Thursday, March 06, 2008 11:57 PM >To: nagios-users@lists.sourceforge.net >Subject: Re: [Nagios-users] Performance tuning a host >returning resultsvia NSCA > >On Thu Mar 06, 200

Re: [Nagios-users] Display Error

2008-03-07 Thread Giles Coochey
> Giles, > Isn't there supposed to be a Nagios folder under /var/www/html? If so > it isn't there any more. > Mike, That would depend on installation. You might have something like: Alias /nagios /path/to/nagios/share In your http.conf which will make it work at whatever path as long as perm

Re: [Nagios-users] Display Error

2008-03-07 Thread Giles Coochey
> Giles, > It is running because I have MRTG running on the same server and I can > browse to the graphs. > OK, nice, I forgot you mentioned that. Still looks like an apache problem, I assume you are using a virtual host / host header type set up. And that would need to be checked. When Nagios

Re: [Nagios-users] Display Error

2008-03-07 Thread Giles Coochey
>I stopped and started the httpd service. Is it actually running? Linux: ps -aux | grep httpd Solaris: ps -ef | grep httpd - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 200

[Nagios-users] nagios and mod_fastcgi

2008-03-07 Thread Olivier JAN
Hi list, I was wondering if anyone has tried to setup Nagios cgis to use mod_fastcgi with Apache2 ? Is it makeable ? Are nagios cgis faster under mod_fastcgi ? ... Any feedback would help Olivier Jan http://nagios-fr.org -

Re: [Nagios-users] executing custom script as notification!!

2008-03-07 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of sachin holikar > Sent: Friday, March 07, 2008 9:17 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] executing custom script as notification!! > > Hi, > > We have th

[Nagios-users] executing custom script as notification!!

2008-03-07 Thread sachin holikar
Hi, We have this custom made script for sending alert messages to our remote Monitoring Team. Now we are required to integrate this with Nagios. Instead of sending Nagios Email alert, is there any way we can execute this custom made script by sending the parameters such as $SERVICESTATE $H

Re: [Nagios-users] Display Error

2008-03-07 Thread Michael Egan
I stopped and started the httpd service. From: Valdinger, Stephen (DOV, MSX) [mailto:[EMAIL PROTECTED] Sent: Friday, March 07, 2008 9:15 AM To: Michael Egan; nagios-users@lists.sourceforge.net Subject: RE: [Nagios-users] Display Error Did you do anything too apache? You may want to check a

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Giles Coochey > Sent: Friday, March 07, 2008 9:04 AM > To: Marc Powell; nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Retry interval on hard states > > > This is expec

Re: [Nagios-users] Email notification stopped!!

2008-03-07 Thread sachin holikar
Hi, As always you are dead right. Tried sending mail by logging in as nagios user and it gave error saying cannot write to /tmp directory. Thats strange as currently I'm the only person working on this system. And saw that /tmp permissions have changed. Changed the same and I could manage

[Nagios-users] Display Error

2008-03-07 Thread Michael Egan
We had to reboot the server that is running Nagios. Now when I try to log into the web site I get the following error: The website cannot display the page Most likely causes: The website is under maintenance The website has a programming error I have stopped and started the Nagios service

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Giles Coochey
> This is expected behavior. I'm curious, what kind of environment are you > in when up to 5 minute delay in notification of recovery is > 'substantial'? > Hi Marc, I know I'm not the target of your question, but... Some require 5 figure uptime reports for their SLAs, and a 99.999% SLA is often

Re: [Nagios-users] Monitoring Router Errors

2008-03-07 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Alex Dehaini > Sent: Friday, March 07, 2008 8:20 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring Router Errors > > Any specific OID to monitor. Pleas

Re: [Nagios-users] Retry interval on hard states

2008-03-07 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Tom Sommer > Sent: Friday, March 07, 2008 7:44 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Retry interval on hard states > > Hi, > > I wish to setup the follow

Re: [Nagios-users] Email notification stopped!!

2008-03-07 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of sachin holikar > Sent: Friday, March 07, 2008 7:44 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Email notification stopped!! > > > Hi, > > We have configured N

Re: [Nagios-users] Probem with nrpe and sudo on rhel5 servers

2008-03-07 Thread Andrew Norris
Have you tried commenting out the following line in sudoers? "Defaultsrequiretty" I got hit by that one moving ssh checks from centos4 to centos5. Nicole Hähnel wrote: > Hi, > > I wrote a plugin to check running ipsec tunnels on our gateways. > The plugin needs to have access to /proc/net/i

Re: [Nagios-users] Monitoring Router Errors

2008-03-07 Thread Giles Coochey
> Any specific OID to monitor. Please give me an example > All detailed in the IF-MIB Get the Interface MIB and walk your cisco for the OIDs RFC2020 (20-20 eyesight required for that one or google) - This SF.net email i

Re: [Nagios-users] Monitoring Router Errors

2008-03-07 Thread Alex Dehaini
Any specific OID to monitor. Please give me an example Alex On 3/7/08, Giles Coochey <[EMAIL PROTECTED]> wrote: > > > > Hi Guys, > > > > How can I use nagios to monitor if there are any errors on my cisco > > routers i.e. CRC errors, frame-relay or any sort of errors we have on > > the route

Re: [Nagios-users] Email notification stopped!!

2008-03-07 Thread Giles Coochey
TIP: If you make your configuration a CVS or SVN repository then you would be able to track exactly what configuration change you made that caused this problem. It might be related by your Nagios system unable to send emails, it might be caused by updates resulting in a change of paths to your

Re: [Nagios-users] Monitoring Router Errors

2008-03-07 Thread Giles Coochey
> > Hi Guys, > > How can I use nagios to monitor if there are any errors on my cisco > routers i.e. CRC errors, frame-relay or any sort of errors we have on > the routers. > snmp - This SF.net email is sponsored by: Microso

[Nagios-users] Retry interval on hard states

2008-03-07 Thread Tom Sommer
Hi, I wish to setup the following check interval: Check the service every 5 minutes -> If down then check the service every 1 minute for 3 minutes/times -> If still down, notify and continue to check the service every 1 minute until it recovers. I'm having a few problems with the last cond

[Nagios-users] Email notification stopped!!

2008-03-07 Thread sachin holikar
Hi, We have configured Nagios 2.9 onto Linux Box recently. In the event of an issue , Email notification is being sent to my mailbox. Everthing was setup so far. Suddenly the Email notifications have stopped coming. I checked the log files and found that notifications are getti

[Nagios-users] Monitoring Router Errors

2008-03-07 Thread Alex Dehaini
Hi Guys, How can I use nagios to monitor if there are any errors on my cisco routers i.e. CRC errors, frame-relay or any sort of errors we have on the routers. Alex -- Alex Dehaini Developer Site - www.alexdehaini.com Email - [EMAIL PROTECTED] --

Re: [Nagios-users] Probem with nrpe and sudo on rhel5 servers

2008-03-07 Thread Hari Sekhon
Nicole Hähnel wrote: > The only way to get an output is to remove sudo command, but nagios user > has no rights to read files in /proc. > So it's a wrong check result. > try logging in as the nrpe user, the running sudo ... by hand to see if it works or if it is actually still prompting for a

Re: [Nagios-users] Probem with nrpe and sudo on rhel5 servers

2008-03-07 Thread Nicole Hähnel
Hari Sekhon schrieb: > Nicole Hähnel wrote: >> Hi, >> >> I wrote a plugin to check running ipsec tunnels on our gateways. >> The plugin needs to have access to /proc/net/ipsec_eroute, so I have to >> run nrpe command with sudo. >> >> sudoers (for testing): >> nagios ALL=(ALL) NOPASSW

Re: [Nagios-users] Probem with nrpe and sudo on rhel5 servers

2008-03-07 Thread Hari Sekhon
Nicole Hähnel wrote: > Hi, > > I wrote a plugin to check running ipsec tunnels on our gateways. > The plugin needs to have access to /proc/net/ipsec_eroute, so I have to > run nrpe command with sudo. > > sudoers (for testing): > nagios ALL=(ALL) NOPASSWD: ALL > > nrpe.conf: > command

[Nagios-users] Probem with nrpe and sudo on rhel5 servers

2008-03-07 Thread Nicole Hähnel
Hi, I wrote a plugin to check running ipsec tunnels on our gateways. The plugin needs to have access to /proc/net/ipsec_eroute, so I have to run nrpe command with sudo. sudoers (for testing): nagios ALL=(ALL) NOPASSWD: ALL nrpe.conf: command[check_tunnel]=sudo /usr/lib/nagios/plug

[Nagios-users] check_http error

2008-03-07 Thread Miah, W (Wadud)
Has anyone had this error: [EMAIL PROTECTED] nagios-plugins-1.4.11]# plugins/check_http -H --ssl -C 10 CRITICAL - Cannot make SSL connection 24922:error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure:s3_pkt.c:1052:SSL alert number 40 WARNING - Certificate expires in 7 day(s)