You should look in the manual for the configuration variable "cfg_file":
http://nagios.sourceforge.net/docs/3_0/configmain.html
Mathieu
Shoaibi wrote:
> What if i create my config files and want to use them instead of the
> default files?
>
> Like suppose:
> Default files are:
> contact.cfg
> te
Stephan,
--On 25. Juni 2008 14:24:57 -0400 Stephen Valdinger
<[EMAIL PROTECTED]> wrote:
> Does anyone have notes on how to get nagiosgrapher up and running on an
> ubuntu installation? I've downloaded the stuff, but there is no configure
> scripts or anything, and the documentation just plain we
Hi,
I set up Nagios with event handlers to restart an application in case it fails,
when I have to do a maintenance of it, I schedule downtime, but when I start
working on the maintenance, Nagios restarts it and does not let me work, so,
what I'm doing now, is stopping Nagios, but I know that i
Before you read further, please have a look at the following pages if
you havent seen them already...
http://www.nagiosexchange.org/cgi-bin/page.cgi?g=1855.html;d=1
http://cristian.livadaru.net/2006/04/27/nagios-with-sms-notification/
My question is, what are the correct "define command"s for th
What if i create my config files and want to use them instead of the
default files?
Like suppose:
Default files are:
contact.cfg
template.cfg
commands.cfg
localhost.cfg
and i want to create files like:
test_contact.cfg
test_template.cfg
test_commands.cfg
test_localhost.cfg
and want to use these,
On Tue, 24 Jun 2008, Marcel wrote:
> have you looked at DNX? I think it's the way to solve your problem.
>
I talked to the DNX people about some contract work to develop a
slave-specific meta-data structure -- none exists -- DNX's decision making
is based on "load distribution" metrics.
As for
> Thanks guys! That would explain why the messages are not being received
> from the Windows machine as the time is, in fact, later than the time on
> the server. However, it does not make sense to me that it starts working
> when I reboot the Windows machine or in the case of the Linux machine I
On Jun 25, 2008, at 3:14 PM, Jay R. Ashworth wrote:
>> Oh, I'm all for ticketing systems... as long as they aren't giving
> people the impression that work is likely to be done which will not in
> fact ever be done. Have you looked at The Original Bugzilla
> lately? ;-)
Has anyone bothered t
On Wed, 2008-06-25 at 16:14 -0400, Jay R. Ashworth wrote:
> admit I'm not familiar with their ticket universe, so I retract the
> judgement.
And I would concede that there are certain scenarios where it can be
especially tricky, in terms of conflict of interest, for example when an
F/OSS project
check_nrpe does not come with the nagios-plugins. Download the nrpe
source tarball.
On 6/25/08, Natxo Asenjo <[EMAIL PROTECTED]> wrote:
> hi,
>
> I followed the instructions on the guide to install nagios 3.03 and
> the nagios-plugins-1.4.12. The operating system is debian stable, but
> as I say,
hi,
I followed the instructions on the guide to install nagios 3.03 and
the nagios-plugins-1.4.12. The operating system is debian stable, but
as I say, the nagios installation is manual from the official nagios
sources.
I do
# tar xzf nagios-plugins-1.4.12.tar.gz
# cd nagios-plugins-1.4.12
Compi
On Wed, Jun 25, 2008 at 04:11:10PM -0400, Brian A. Seklecki wrote:
> > Yes, precisely my point. If no developers are closing tickets, having
> > a tracking system is somewhat beside the point.
>
> My opinion is that Net-SNMP actually doing a suburb job.
>
> Good enough that vendors are shippin
> Yes, precisely my point. If no developers are closing tickets, having
> a tracking system is somewhat beside the point.
My opinion is that Net-SNMP actually doing a suburb job.
Good enough that vendors are shipping it embedded (a la OpenSSH into
Cisco and HFUX)
Moreover, even if tickets ca
On Wed, Jun 25, 2008 at 03:38:03PM -0400, Brian A. Seklecki wrote:
> On Wed, 2008-06-25 at 14:14 -0400, Jay R. Ashworth wrote:
> > And if other people work the tickets.
>
> I'll volunteer to have my team manage tickets and generate reports.
>
> Its just a reality of work-flow management in F/OS
On Wed, 2008-06-25 at 14:14 -0400, Jay R. Ashworth wrote:
> And if other people work the tickets.
I'll volunteer to have my team manage tickets and generate reports.
Its just a reality of work-flow management in F/OSS projects.
Consider at Net-SNMP, one of the most active projects on sf.net (*
Does anyone have notes on how to get nagiosgrapher up and running on an
ubuntu installation? I've downloaded the stuff, but there is no configure
scripts or anything, and the documentation just plain well sucks. Any help
or pointers would be wonderful. Google yielded a few very vague and
unhelpful
WHAT I DON´T UNDERSTAND IS THAT WHEN I USE:
./check_mrtgtraf -F /var/www/mrtg/memswap.log -a MAX
I GET THIS ANSWER:
Traffic CRITICAL - Max. In = 217.0 B/s, Max. Out = 0.0
B/s|in=217.00B/s;;;0.00
in=0.00B/s;;;0.00
SO, HOW DO I TRANSLATE THIS TO THE CORRECT SYNTAX IN CHECK_MRTGT
On Tue, Jun 24, 2008 at 12:49:15PM -0400, Brian A. Seklecki wrote:
> "given enough eyeballs, all bugs are shallow" -- Eric S. Raymond
> -- But only if someone writes them down :)
And if other people work the tickets.
Is *that* part figured out yet? :-)
Cheers,
-- jra
--
Jay R. Ashworth
On Jun 25, 2008, at 12:32 PM, Tony Rice (trice) wrote:
> Perl script looks like this:
>
> open (FILE, ">$cmd_file");
> print "[$epoch_now]
> SCHEDULE_HOST_DOWNTIME;$host;$epoch_start;$epoch_stop;0;0;$duration;
> $use
> rid;$comment\n";
> close (FILE);
>
> Nothing in the log indicating that this
You can't open nagios.cmd in append mode, otherwise it will cause a seek.
You should use the function nagios_cmd declared in Nagios::Cmd:
http://search.cpan.org/src/TOBEYA/Nagios-Cmd-0.05/lib/Nagios/Cmd.pm
It's working fine for me.
--
Mathieu
Sorry, typo in my cutting and pasted to the email. The FILE file handle
is there.
-Tony
> -Original Message-
> From: Aaron M. Segura [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 25, 2008 1:37 PM
> To: Tony Rice (trice)
> Cc: nagios-users@lists.sourceforge.net
> Subject: RE: [Nagio
Maybe i'm not familiar enough with perl (I'm not, really), but it
appears to me that you are not writing anything to the file since your
'print' statement is missing the file handle argument...
maybe try
print FILE "..."
??
On Wed, 2008-06-25 at 13:32 -0400, Tony Rice (trice) wrote:
> Perl scri
Perl script looks like this:
open (FILE, ">$cmd_file");
print "[$epoch_now]
SCHEDULE_HOST_DOWNTIME;$host;$epoch_start;$epoch_stop;0;0;$duration;$use
rid;$comment\n";
close (FILE);
Nothing in the log indicating that this command is making it anywhere.
Nothing in the log relevant either.
-Tony
>
Hi Matt,
Sounds like quite a task you've gotten there! Can I take it that fun is
with a capital F? ;-)
The template engine isn't really an engine at all, but simply a mixture
of placeholders and a bunch of str_replace()'s! It is hideous I know,
but v2 will have it's own templating engine (cu
On Jun 25, 2008, at 10:13 AM, Steven Relf wrote:
> Hi All,
>
> I have gotten LDAP authentication working against the webserver. And
> it works great, the question is, how do I go about determining what
> users can see what.
>
> Ideally I would like to split it down to per host group.
>
> Has
Please be more specific. How, exactly, are you trying to write to the
pipe? Please include some examples.
Do you look in the nagios log after that to see if it picked up any
commands? Are there any relevant log entries that might help?
On Wed, 2008-06-25 at 11:09 -0400, Tony Rice (trice) wrote
I had a similar problem and just switched to using the cmd.cgi to get
it done. Attached is a simple daemon I wrote until I can get around
to writing a proper one. You can take a look at it to get an example
of how to use cmd.cgi. If you decide you want to use the script
itself, you'll need to ma
Hi All,
I have gotten LDAP authentication working against the webserver. And it
works great, the question is, how do I go about determining what users
can see what.
Ideally I would like to split it down to per host group.
Has anyone got any ideas?
Thanks
Steve.
---
I'm trying to interface a database of upcoming downtimes to Nagios via
the SCHEDULE_AND_PROPAGATE_TRIGGERED_HOST_DOWNTIME external command.
However, writing to the nagios.cmd file just sits there and never
returns. I'm wondering if it's a problem with the way the named pipe is
setup. My nagios.cm
>
>>
>> it's no problem to get the status of the bonding interace via snmp.
>>
>> (i have an Intel Dual Server Adapter):
>> .1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1)
>>
>> The only one you need is the correct oid.
>>
>> so you can check via check_snmp.
>>
>> I try to monitor the traffic of the bondi
>
> it's no problem to get the status of the bonding interace via snmp.
>
> (i have an Intel Dual Server Adapter):
> .1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1)
>
> The only one you need is the correct oid.
>
> so you can check via check_snmp.
>
> I try to monitor the traffic of the bonding interface
Hi,
I add in config file this option:
use_timezone=US/Mountain
but:
/etc/init.d/nagios start
Starting nagios:/etc/init.d/nagios: line 121: 6987 Segmentation fault
$NagiosBin -d $NagiosCfgFile
done.
why this?
--
André O Moura
http://andrem.wordpress.com
---
Hi Tom,
it's no problem to get the status of the bonding interace via snmp.
(i have an Intel Dual Server Adapter):
.1.3.6.1.2.1.2.2.1.7.5 = INTEGER: up(1)
The only one you need is the correct oid.
so you can check via check_snmp.
I try to monitor the traffic of the bonding interface
(BONDING_
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von
Anthony Montibello
Gesendet: Mittwoch, 25. Juni 2008 05:17
An: Jason
Cc: nagios-users@lists.sourceforge.net
Betreff: Re: [Nagios-users] NSCA not receiving or send_nsca not sending
There was a
Hello,
you can test your nagios configs if you try:
(you have to set correct path to nagios and the config)
/usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg
Perhaps you can post the output.
You can find the plugin in you nagios libexec Folder.
The service definition is ok, because the co
Hi
I have recently started deploying bonding throughout our estate and i
interested in monitoring the bonded interface - I can see the status of
the bond in /proc/net/bonding but i wonder if anyone has already written
a plugin to test this. I have looked on nagios exchange and google but
not c
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Machiel Richards wrote:
| I have created the sms notifications in the
| contacts and contact group, however I am trying to find out how I can
| assign this to only specific services while thewy also get mails for
| these servic
[EMAIL PROTECTED] schrieb am 25.06.2008 10:32:54:
> I have one problem very particular on a Nagios check custom. It try
> to execute one query to Oracle Server.
> When I run my plugin from Linux shell as nagios user, the check
> returns correct output. But, when Nagios runs the same plugin with
Hello,
I have one problem very particular on a Nagios check custom. It try to execute
one query to Oracle Server.
When I run my plugin from Linux shell as nagios user, the check returns correct
output. But, when Nagios runs the same plugin with the same parameters, the
check returns incorrect
Hi All
I hope you can assist.
We have an exhange server which we monitor using
the normal nagios monitoring.
We are however trying to set up sms
notifications for specific services on this mail server.
On Wed, 25 Jun 2008 00:39:36 +0100
Andy Shellam <[EMAIL PROTECTED]> wrote:
> There is no current way to exclude hosts that are in scheduled
> downtime or have been acknowledged; this is on the cards for version
> 2.
Sorry to hijack the thread, but can I put in a feature request for
version 2? :o)
[EMAIL PROTECTED] schrieb am 24.06.2008
21:57:30:
> Since ~ Friday nagios appears to be locking out random servers AD
> accounts. I know what you’re thinking, what changed?! I went
> through log files, and even grep’d the entire /etc/nagios directory
> and subdirectories for the connection s
42 matches
Mail list logo