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
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
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
-
/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?
>
>
>
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
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
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
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
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
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
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,
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
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
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
---
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
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
---
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
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
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
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
--
___
1
> retry_check_interval 1
> contact_groups Monitoring-alerts
> notification_options w,u,c,r
> notification_interval 60
> notification_period 24x7
> register
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
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
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
>
--
___
> 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.
>
[ $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
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
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
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
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
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/
-
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
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/
--
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
_
> 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
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
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.
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/
--
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
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
> 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 /
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
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
; 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
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
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
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
>
. 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
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
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
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
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
,
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
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
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
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 -
>
>
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:
>
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
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
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
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
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
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
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
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
> ---
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
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
>
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
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
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.
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
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
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
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
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
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
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,
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
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
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
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:
>
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
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,
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
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
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
86 matches
Mail list logo