Re: [Nagios-users] Notifications and Escalations and Notification_intervals, oh my!

2010-11-19 Thread Martin Melin
val values that are all valid, Nagios will use the smallest interval. http://nagios.sourceforge.net/docs/3_0/escalations.html Regards Martin Melin -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5

Re: [Nagios-users] Notifications on passive service checks

2010-11-16 Thread Martin Melin
Just use the built in feature for this: is_volatile. See http://nagios.sourceforge.net/docs/2_0/volatileservices.html Regards, Martin Melin On Tue, Nov 16, 2010 at 10:41 PM, Alberto Menichetti wrote: > Hi all, > > I noticed the same strange behavior, but I don't think it's t

Re: [Nagios-users] Macros in notes?

2010-11-16 Thread Martin Melin
all custom macro names are converted to uppercase. If that's done when defining custom macros but not when referring to macros, $_HOSTprnMake$ should instead be $_HOSTPRNMAKE$. Let me know if that works. Cheers, Martin Melin -

Re: [Nagios-users] nagios.cmd permission issue

2010-10-03 Thread Martin Melin
/docs/2_0/commandfile.html>Best regards, Martin Melin On Sun, Oct 3, 2010 at 3:48 PM, Ilan Berkner wrote: > Did not work, probably b/c I'm restarting the service as root? > > Is there a way to tell under which user nagios is trying to access the > nagios.cmd file? > > >

Re: [Nagios-users] Trigger notification mail

2010-09-24 Thread Martin Melin
This is not something that you should have Nagios do. Nagios is not a reporting system. Your plugin is a program/script just like any other. Simply schedule a daily run in cron that will send a report every 24 hours. Best regards, Martin Melin On Fri, Sep 24, 2010 at 3:05 PM, sandma

Re: [Nagios-users] part of plugin output not displaying in status info

2010-08-07 Thread Martin Melin
On Sat, Aug 7, 2010 at 4:51 PM, wrote: > Does nagios user have permissions to execute garfunkel? Oh, yeah, this is definitely the problem. Your script doesn't check that you have anything in $dirtypages and you don't check the result of open(). When testing Nagios plugins from the command line

Re: [Nagios-users] part of plugin output not displaying in status info

2010-08-07 Thread Martin Melin
chomp $_; >   if (/^Prct Dirty Cache Pages =/) { >     $dirtypages = (split / +/, $_)[5]; >   } > } > chomp $dirtypages; > print "Percent Dirty Pages $dirtypages"; > > Any help would be greatly appreciated. > > jd Interesting. Can you add some static te

Re: [Nagios-users] setting up nagios to monitor other systems load, mem, disk

2010-08-06 Thread Martin Melin
e right document for this. NRPE is what you want: http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf NRPE and the nagios-plugins package + any custom plugins you want to use is usually what you want distributed to your monitored hosts. Best regard

Re: [Nagios-users] Executing a script based on text from a web page

2010-08-06 Thread Martin Melin
ebpage, or do you also want to check if the site is down before restarting? Best regards Martin Melin -- This SF.net email is sponsored by Make an app they can't live without Enter the B

Re: [Nagios-users] Recommended network map software

2010-07-29 Thread Martin Melin
Have a look at http://www.nagvis.org/ Best regards Martin Melin On Thu, Jul 29, 2010 at 6:50 PM, Kaplan, Andrew H. wrote: > Hi there -- > > I am running Nagios 3.1.2, and I am looking to have a network map of the > nodes that are being monitored as one of the > available sc

Re: [Nagios-users] host escalation!

2010-07-29 Thread Martin Melin
Escalations don't overwrite the standard notification behavior. My bet is that you 1) have your contact included in a contact_group that's in a template used by all hosts or 2) that your email address is in another contact definition as well. Best regards Martin Melin On Thu, Jul 29,

Re: [Nagios-users] Nagios Services

2010-07-16 Thread Martin Melin
in addition to, the host_name directive. Source: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service Regards Martin Melin -- This SF.net email is sponsored by Sprint What will you do first wit

Re: [Nagios-users] Nagios notifications

2010-07-07 Thread Martin Melin
ve a dedicated "on call" email and/or phone number. Best regards Martin Melin -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G ph

Re: [Nagios-users] [Q] Service config, go critical:HARD; Alert every 5 minutes until non-critical

2010-06-14 Thread Martin Melin
ill not re-notify contacts about problems for this service - only one problem notification will be sent out. This should be enough to get you up and running :-) If you still have problems, post your config to the list. Regards Martin Melin ---

Re: [Nagios-users] Large Installation

2010-06-11 Thread Martin Melin
On Thu, Jun 10, 2010 at 21:55, Kevin Keane wrote: > Config file maintenance can be improved to some extent with careful design > of the config files, as well as tools. It is an issue that I am running into > with a relatively small installation with 80+ hosts and 400+ services. My > installation

Re: [Nagios-users] check_ganglia.py: UNKNOWN: Error while getting value "Host/value not found"?

2010-06-09 Thread Martin Melin
húc là một ly Cafe và nhạc Trịnh --- > > > The service definition you sent will execute the plugin with -h localhost, but you show output with -h adtech100. Try running the plugin from the command line with -h localhost and you will probably get the same error. Regards Martin Melin ---

Re: [Nagios-users] CGI Permissions issue

2010-06-09 Thread Martin Melin
e? > > Thanks! > You probably have a contact with the name "dave" and that has can_submit_commands set to 0. That will take precedence over CGI permissions. Regards Martin Melin -- ThinkGeek and WIRED

Re: [Nagios-users] CGI Permissions issue

2010-06-09 Thread Martin Melin
ot), but both jack and dave can view the configuration. >> >> What is going on with dave?  Can I enable some logging perhaps to help >> determine the root cause? >> >> Thanks! >> You have a contact with a contact_name of "dave", that has can_submit_c

Re: [Nagios-users] Reporting for redundant hosts

2010-05-20 Thread Martin Melin
The data is > all there, it just has to be evaluated. I really can't believe, that I'm > the only one with this problem? I'm not sure if there is an easy way to do just this for vanilla Nagios, but op5:s Ninja project includes S

Re: [Nagios-users] Escalation question

2010-05-19 Thread Martin Melin
definitions. This should be done to ensure that anyone who gets notified of a problem continues to get notified as the problem is escalated. " Best regards, Martin Melin -- ___

Re: [Nagios-users] Custom Notification Time

2010-04-23 Thread Martin Melin
1 >     retry_check_interval    1 >     contact_groups  Monitoring-alerts >     notification_options    w,u,c,r >     notification_interval   60 >     notification_period 24x7 >     register 

Re: [Nagios-users] Nagios Appender 1.5.1

2010-03-24 Thread Martin Melin
ng. > > > This appears to me that there is nothing wrong with it at all, but for some > reason Nagios doesn’t like it. Can someone please help me on why this isn’t > working? Or possibly point me in the direction of some documentation on how > to install this App

Re: [Nagios-users] init.d/nagios

2010-03-19 Thread Martin Melin
because the init script says: NagiosRunFile=${prefix}/var/nagios.lock But your pid file is called nagios.pid. So either recompile Nagios, or edit your init script to look in the nagios.pid file instead (probably the easier route, eh? :-) -- Martin Melin May your delusions be benign and your compu

Re: [Nagios-users] Multiple instances of same service for a host

2010-03-19 Thread Martin Melin
ing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --

Re: [Nagios-users] nagios alert

2010-03-19 Thread Martin Melin
___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >

Re: [Nagios-users] Inverting check_snmp status

2010-03-11 Thread Martin Melin
[ $RESULT =~ "Unknown" ]]; then exit 1 fi exit 0 Of course, you could make the text output make more sense with sed et. al., but Nagios itself is happy with the above. HTH, -- Martin Melin Ma

Re: [Nagios-users] Monitor Remote Windows Machine with Nagios Core

2010-03-11 Thread Martin Melin
os version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Martin Melin May your delusions be benign and your compulsions have utility op5

Re: [Nagios-users] Streamline Alerts/Notifications for user group

2010-03-09 Thread Martin Melin
On Tue, Mar 9, 2010 at 7:57 AM, Juki wrote: > Hi list, > > I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 platform. > I have setup both e-mail and sms notifications for different groups of users > based on the instructions here; > > http://nagios.sourceforge.net/docs/3_0/quicksta

Re: [Nagios-users] Getting Notifications Outside of Defined Time Periods

2010-03-02 Thread Martin Melin
o the backup process, I have to down my mail server. So you can imagine > that I'm getting dozens of emails at very early times in the morning. Any > ideas? > > -- Martin Melin May your delusions be benign and your compulsions have utility op5 AB htt

Re: [Nagios-users] Re-send: Notificaitons after the commit

2010-03-02 Thread Martin Melin
ification that was been occuring > every 24hours before then > suddenly stopped. So, I doubted the restart procedure if this is doing > something wrond. > Check your retention settings in nagios.cfg, especially retention_update_interval and retain_state_information. -- Martin Mel

Re: [Nagios-users] check_tcp

2010-02-26 Thread Martin Melin
OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Martin Melin op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ -

Re: [Nagios-users] How do I know *who* ack'd an alert?

2010-02-12 Thread Martin Melin
Come on. You got the link to the macro list in the previous thread, couldn't you be bothered to even look at that? Hint: the macro names end with AUTHOR. Regards Martin Melin On Fri, Feb 12, 2010 at 6:23 PM, Andrew Davis wrote: > This is a follow-up to my question about including com

Re: [Nagios-users] Scheduled downtime for 1 host and its services

2010-02-08 Thread Martin Melin
r example "schedule downtime for all services in this servicegroup, and all their hosts too". -- Martin Melin op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ --

Re: [Nagios-users] event handlers and Schedule Downtime

2010-01-29 Thread Martin Melin
ge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Martin Melin op5 AB

Re: [Nagios-users] Service Escalation

2010-01-29 Thread Martin Melin
_ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk bein

Re: [Nagios-users] hosts showing up as down even though they are not being monitored

2010-01-28 Thread Martin Melin
services without long-term contracts > Personal 24x7 support from experience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://list

Re: [Nagios-users] Need to monitor Nagios Service Automatically

2010-01-27 Thread Martin Melin
On Wed, Jan 27, 2010 at 10:39 AM, Asrai khn wrote: > > > On Wed, Jan 27, 2010 at 12:54 PM, Martin Melin wrote: > >> On Wed, Jan 27, 2010 at 8:30 AM, Sunny Soung wrote: >> >>> Hi everyone, >>> >>> I'm using Nagios to monitor some servers.

Re: [Nagios-users] Need to monitor Nagios Service Automatically

2010-01-27 Thread Martin Melin
ersion, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Martin Melin op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monitor/nagios/ --

Re: [Nagios-users] Overloaded master

2010-01-26 Thread Martin Melin
n server - so I could have > separate and discrete notification escalations for different service states > - which would also let me fire off one notification with just the contents > of $ENV{NAGIOS_*}.. Perhaps that's my best option? > > Martin Melin wrote: > >> What kind

Re: [Nagios-users] Virtual Machines - define as parent or as host dependency...

2010-01-26 Thread Martin Melin
xperience hosting pros just a phone call away. > http://p.sf.net/sfu/theplanet-com > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nag

Re: [Nagios-users] Checking Asterisk Call Availability

2010-01-25 Thread Martin Melin
> Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /

Re: [Nagios-users] Problems using check _ yum on sles11

2010-01-25 Thread Martin Melin
ios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Martin Melin op5 AB http://www.op5.com http://www.op5.org/ http://www.op5.com/op5/products/network-monit

Re: [Nagios-users] Overloaded master

2010-01-25 Thread Martin Melin
ge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to

Re: [Nagios-users] How to stop sending notification after 3 times?

2010-01-25 Thread Martin Melin
; Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Martin

Re: [Nagios-users] best expression of a timeperiod with same hours every day

2010-01-24 Thread Martin Melin
gt; ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without s

Re: [Nagios-users] I get emails but I can't fill them with any information from the specific alarms

2009-12-29 Thread Martin Melin
If your nagios.cfg sets enable_environment_macros to 0, that would be the problem. Otherwise, possibly HOSTADDRESS does not have a value for this service. Have you tried sending just $SERVICESTATE$ instead? (a service notification will always have a value for the macro) Regards Martin Melin On

Re: [Nagios-users] peer review debian check

2009-12-29 Thread Martin Melin
n logic will consider the last 21 days of results) HTH, Martin Melin On Tue, Dec 29, 2009 at 12:38 PM, Brent Clark wrote: > Hiya > > I was hoping someone would be kind to peer review my service check. > > I got a nrpe check to check that the debian packages on my servers are >

Re: [Nagios-users] Service dependencies

2009-12-28 Thread Martin Melin
. If the host check_command fails, notifications for all services on the host are suppressed until the host check_command clears which is what you want in this case. Regards Martin Melin On Mon, Dec 28, 2009 at 8:26 PM, Brandino Andreas wrote: > Are you sure that it works that way?? > I di

Re: [Nagios-users] Dynamic host, hostgroup and service addition/subtraction

2009-12-23 Thread Martin Melin
in a subdirectory. Have cron send Nagios a HUP to reload the config every 5 or 10 minutes, and you should be good to go. Use regex matching with host and service group names to get nice dynamic group memberships etc. Good luck! Best regards, Martin Melin On Wed, Dec 23, 2009 at 10:58 PM, Lee

Re: [Nagios-users] Notification period inheritance problem

2009-12-16 Thread Martin Melin
On Wed, Dec 16, 2009 at 11:05 AM, Gordon Messmer wrote: > On 12/15/2009 11:03 PM, Martin Melin wrote: >> I don't understand why this is confusing. >> > ... >> By setting "notification_period null" in your service definition, you >> are explicitly ov

Re: [Nagios-users] Notification period inheritance problem

2009-12-15 Thread Martin Melin
template. This would allow you to let the "null notification period" template inherit from your normal template. Best regards, Martin Melin On Wed, Dec 16, 2009 at 12:26 AM, Gordon Messmer wrote: > On 12/15/2009 01:38 PM, Marc Powell wrote: >> On Dec 15, 2009, at 2:04

Re: [Nagios-users] Notification period inheritance problem

2009-12-15 Thread Martin Melin
Have you tried leaving out the notification_period line from the service definition? I think, but don't have time to verify, that by saying "notification_period null" you are actually overriding all inherited values for notification_period and setting it to null instead. Best

Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Martin Melin
, Martin Melin On Fri, Dec 11, 2009 at 12:56 PM, Chris Blake wrote: > On Fri, Dec 11, 2009 at 12:18 PM, Martin Melin wrote: >> From the quickstart: >> >> "5) Configure the Web Interface >> >> [...] >> >> Create a nagiosadmin account for logging into

Re: [Nagios-users] Unable to log in to Nagios

2009-12-11 Thread Martin Melin
Your htpasswd file probably either does not contain what you think it does, or is not where it should be. Try re-creating it and using a very simple password. Regards, Martin Melin On Fri, Dec 11, 2009 at 11:04 AM, Chris Blake wrote: > > Greetings community, > > I have recently inst

Re: [Nagios-users] check_snmp with regular expression

2009-12-10 Thread Martin Melin
eds to come after that. So the regex you pasted should probably be "^.*some string.*$", but this is functionally equivalent to "some string". Regards, Martin Melin On Thu, Dec 10, 2009 at 4:18 PM, shadih rahman wrote: > List, >I am trying to use check_snmp plugin

Re: [Nagios-users] Nagios email notifications

2009-12-01 Thread Martin Melin
The command definition for your notification command is where you want to look. It probably pipes a big echo into mail, if you add an -s switch to the mail command you can set a subject. Regards, Martin Melin On Tue, Dec 1, 2009 at 10:17 PM, akp geek wrote: > Dear All - > >

Re: [Nagios-users] prioritizing state returns

2009-11-16 Thread Martin Melin
sk space at the same time as well as give you better history for graphs etc. It's late and I am a bit tired so let me know if I'm missing something obvious here :-) Regards, Martin Melin On Mon, Nov 16, 2009 at 8:23 PM, Terry wrote: > On Fri, Nov 13, 2009 at 2:44 PM, Terry wrote: >

Re: [Nagios-users] Summary: read-only nagios

2009-11-11 Thread Martin Melin
I believe you could run two copies of the CGIs, one with only readonly access. I haven't looked into how you would do it but it shouldn't be too hard to do. On Wed, Nov 11, 2009 at 8:51 PM, dave stern - e-mail.pluribus.unum < dit.d...@gmail.com> wrote: > It seems that all options will run up agai

Re: [Nagios-users] add categories of warnings

2009-11-11 Thread Martin Melin
using something like pnp4nagios to process performance data provided by your check plugins? Regards, Martin Melin On Wed, Nov 11, 2009 at 10:50 AM, Melanie Pfefer wrote: > Hello, > > Is there a way to add categories to nagios other than > warning/critical/recovery? > > What I wan

Re: [Nagios-users] Delay sending SMS alerts....

2009-11-03 Thread Martin Melin
n, and have everything else go to your normal email box. Regards, Martin Melin On Tue, Nov 3, 2009 at 7:26 PM, Justin T Pryzby wrote: > On Tue, Nov 03, 2009 at 07:04:54PM +0100, Martin Melin wrote: > > Using two contacts, one for email and one for SMS, will let you get SMS > > not

Re: [Nagios-users] granular notifications

2009-11-03 Thread Martin Melin
this allows you to be more flexible in setting up escalation chains etc. as well as removing ambiguity as to how a contact was notified. Regards, Martin Melin On Tue, Nov 3, 2009 at 6:06 PM, Terry wrote: > Sorry for the bad subject. Not sure how to classify this properly. > > I have a

Re: [Nagios-users] Restarts resetting soft critical states

2009-11-03 Thread Martin Melin
5] LOG VERSION: 2.0 [1257281605] Finished daemonizing... (New PID=9722) [1257281715] SERVICE ALERT: localhost;File age;CRITICAL;HARD;3;FILE_AGE CRITICAL: File not found - /tmp/nagios Everything works as expected. I'm guessing you have some other issue that's affecting Nagios' abili

Re: [Nagios-users] Delay sending SMS alerts....

2009-11-03 Thread Martin Melin
Using two contacts, one for email and one for SMS, will let you get SMS notifications if a problem that occurred during the night still isn't resolved by 7 am (should be a simple escalation definition + timeperiod per contact) Regards, Martin Melin On Tue, Nov 3, 2009 at 12:54 PM, Dj Lien

Re: [Nagios-users] Nagios stopped checking most of my services!

2009-11-02 Thread Martin Melin
without losing acknowledgements etc. Regards, Martin Melin On Tue, Nov 3, 2009 at 5:03 AM, Frost, Mark {PBG} wrote: > I guess I'm another "me too". We use Nagios 3.0.6, but I had just setup > an upgrade to 3.2.0. From what I could see, my distributed nodes had been > se

Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Martin Melin
that this only happened on our 3.2.0 install, another 3.0.6 was fine. I'm still investigating what happened, but the above should let you get it back up again. Regards Martin Melin On Mon, Oct 26, 2009 at 9:05 AM, Mark Elsen wrote: > - Nagios 3.2.0 > ---

Re: [Nagios-users] 1st post, so naturally the 1st question by the nagios newb re: socket error

2009-10-22 Thread Martin Melin
check_s1 as well. Make sure that you've edited the correct NRPE config file, reloaded nrped if you're not using inetd. To check that the check works from the command line, run the check_nrpe command from Nagios, not check_http from Nagios or the webserver. Regards, Martin Melin On T

Re: [Nagios-users] Nagios communication - NRPE doubt

2009-10-20 Thread Martin Melin
That's because you're running nrpe with inetd and not as a standalone daemon. inetd will use /etc/services and the nrpe.cfg entry won't have an effect. Regards, Martin Melin On Tue, Oct 20, 2009 at 7:04 PM, akp geek wrote: > Thanks so much Marc.. > I did the following >

Re: [Nagios-users] Contact x One notification only

2009-10-19 Thread Martin Melin
Hello, Please reply to the list so that everyone can benefit from the answers. Simply define one escalation matching all services/hosts by using wildcards. http://nagios.sourceforge.net/docs/3_0/objecttricks.html Regards, Martin Melin On Mon, Oct 19, 2009 at 6:23 PM, Fernando - IT wrote

Re: [Nagios-users] Contact x One notification only

2009-10-19 Thread Martin Melin
Hello, Use first_notification and last_notification in the escalation definition: http://nagios.sourceforge.net/docs/3_0/escalations.html Regards, Martin Melin On Mon, Oct 19, 2009 at 5:59 PM, Fernando - IT wrote: >Hi everybody, > >I need a help to configure a contact to rec

Re: [Nagios-users] host shows down but it is not

2009-10-14 Thread Martin Melin
the host's check_command fails - and you apparently don't have check_mk as the host's check command. Regards Martin Melin On Wed, Oct 14, 2009 at 1:30 PM, Joe Konecny wrote: > I configured a host with check_mk and it is monitoring 13 services. > All of the 13 services are OK.

Re: [Nagios-users] Notify only when both services are down.

2009-10-13 Thread Martin Melin
Sure thing. Simply use the check_many plugin from the official plugins package to aggregate the results of both checks, using to option to have it return OK if one or more checks are OK (so that it will only go CRITICAL if both VPNs are down). Regards Martin Melin On Tue, Oct 13, 2009 at 8:45 PM

Re: [Nagios-users] Lots of Nagios Processes

2009-10-06 Thread Martin Melin
Yeah, the "nagios" part just means that the nagios user spawned "./update 500". My guess is that you have a check command defined that calls "./update", maybe the 500 is some kind of timeout? Check your command config file. Regards Martin Melin On Tue, Oct 6, 2009

Re: [Nagios-users] Service Definition for Passive Only Reports

2009-10-05 Thread Martin Melin
Are you using freshness checking? If not, try creating a time period "never" so that the active check is never scheduled. Otherwise you usually just want to set active_checks_enabled to 0 but I guess you don't want the CGIs to show that the checks are disabled? Regards Martin Melin

Re: [Nagios-users] Multiple interfaces on on host (single representation)

2009-10-02 Thread Martin Melin
Of course! Custom macros are of course the best way to do this, not to use HOSTALIAS. Forgot about that in my quick reply :) On Fri, Oct 2, 2009 at 2:45 PM, Marc-André Doll wrote: > Le vendredi 02 octobre 2009 à 12:16 +0200, Nick Jennings a écrit : > > Hi Everyone, > > > > I'm setting up Nagio

Re: [Nagios-users] Multiple interfaces on on host (single representation)

2009-10-02 Thread Martin Melin
ty of your server park, you could just write a wrapper to check_nrpe that maps the public IP to a private IP from a simple text file. Regards Martin Melin On Fri, Oct 2, 2009 at 12:16 PM, Nick Jennings < n...@creativemotiondesign.com> wrote: > Hi Everyone, > > I'm setting u

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Martin Melin
10:23 PM, Scott Miller wrote: > [r...@mail4 ~]# echo "Hello world" | /bin/mail -s "Test Email" > r...@localhost > > [r...@mail4 ~]# /etc/mail/sendmail.cf: line 0: cannot open: No such file > or directory > > [r...@mail4 ~]# > > > > I’m running

Re: [Nagios-users] FW: Not sending e-mails

2009-10-01 Thread Martin Melin
Try simply copying the command_line for notify-service-by-email and running it in a shell yourself. Or just do: # echo "Hello world" | /bin/mail -s "Test Email" r...@localhost On Thu, Oct 1, 2009 at 8:28 PM, Scott Miller wrote: > > Scott Miller wrote: > >> I know this has been hit over and over,

Re: [Nagios-users] Notifications during network outage

2009-09-28 Thread Martin Melin
Sure it is. The official documentation has a great section on this, which ends with: "By default, Nagios will notify contacts about both DOWN and UNREACHABLE host states. As an admin/tech, you might not want to get notifications about hosts that are UNREACHABLE. You know your network structure, an

Re: [Nagios-users] Using Nagios W/O loging in

2009-09-23 Thread Martin Melin
If you're absolutely sure you want to do this, simply edit cgi.cfg and set use_authentication = 0 (the line is already there by default and set to 1 so just find the line and change it) Regards Martin Melin On Wed, Sep 23, 2009 at 6:25 PM, stan wrote: > I had a contractor set up na

Re: [Nagios-users] Does a Host Scheduled Down Time stop service notifications?

2009-09-21 Thread Martin Melin
Correct, notifications for services are suppressed when host is in scheduled downtime. Note that the services will still show up as critical/warning in the web GUI, but will have a small icon explaining that host is in downtime. Regards Martin Melin On Mon, Sep 21, 2009 at 9:14 PM, Menard

Re: [Nagios-users] Remove ACK

2009-09-21 Thread Martin Melin
will work exactly as you want it to. Regards Martin Melin On Mon, Sep 21, 2009 at 10:08 AM, Ivan wrote: > Hi, > it's possible that nagios automatically remove the "ACK" Icon if the > state changes from "WARNING" to "CRITICAL"? > > Background: >

Re: [Nagios-users] Unwanted false OK states

2009-09-17 Thread Martin Melin
recoveries would be ideal, but since that's not possible I'd suggest using check_many with the first-fail option. Hopefully it only takes a few seconds for the printers to remember that the toner is low. Regards Martin Melin On Thu, Sep 17, 2009 at 11:21 AM, Marcus Rejås wrote: > Hi! &g

Re: [Nagios-users] A way to alert suspicous trends?

2009-09-15 Thread Martin Melin
os: if your disk usage is increasing slowly but surely and you're not expecting it to, you'll see it in the graph and can investigate accordingly when time allows. If your disk usage starts to run critically low Nagios will let you know as always. Thoughts? Regards Martin Melin On Tue,

[Nagios-users] Hiding services whose hosts are in scheduled downtime in status.cgi

2009-09-01 Thread Martin Melin
time are handled the same way as if they are in scheduled downtime themselves, or at least so that they are not included in the output? If someone has a better idea for handling services when hosts are in scheduled downtime, please do tell. Thanks and best regards, Mart

Re: [Nagios-users] hostgroups causing hairloss

2009-07-08 Thread Martin Melin
Something that immediately comes to mind: What are your regex_matching settings? use_regex_matching and use_true_regex_matching Regards Martin On Wed, Jul 8, 2009 at 6:15 PM, DAve wrote: > I am at a point that I am looking for gremlins, no other cause can be > found. > > I am replacing a very o

Re: [Nagios-users] DNS down and false alerts...

2009-06-09 Thread Martin Melin
I don't know if I'm misreading the OP, but if the plugins start timing out on only the boxes whose primary DNS is being rebooted, would adding a caching DNS server to the Nagios box really make a difference? I think the root cause to these timeouts is that the Nagios plugin timeout is happening be