Yes ofcourse there is. This one is for Samba: www.samba.org
And like Patrick said if you do a "check_http -h" it tells you what ik can do.
And if you're on a common linux distro. you can find files with:
"locate [filename]"
Then I would also check:
http://nagios.sourceforge.net/docs/2_0/beginn
You can use Kannel to do this, an you can use a cell phone as smsc.
check www.kannel.org
Really a great performance.
Rafael Alfaro.
On 6/19/07, Lacayo, Luis F <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Anyone using yap for SMS with in Nagios who is willing to share their yap
> configuration file? Or ca
Hi all,
I'm looking to migrate to another nagios version, but I want the same
nagioscomment.log and trends graphs, I was trying to copy and paste
the nagios files in the var directory, but this not works.
Could you help me please?
Thanks in advance,
Rafael Alfaro.
---
Hello All,
I can't seem to get notifications to work. The message appears to be
sent when looking at the nagois.log file and in the /var/log/maillog .
But when I check in the /var/log/messages file I see this:
Jun 21 22:41:13 nagios2 nagios: HOST NOTIFICATION:
contact;server1;DOWN;notify-h
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Thomas Guyot-Sionnest
> Sent: Thursday, June 21, 2007 10:13 PM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Plugin that will test nagios.cfg
>
> On 21/06/07 05:
On 21/06/07 05:20 PM, Patrick Morris wrote:
> Arno Lehmann schrieb am Donnerstag, den 21. Juni 2007:
>
>> Hi,
>>
>> chiel schrieb:
>>> I'm looking for a plugin that will check if the nagios.cfg is ok.
>>> So besecauly run this command: "/usr/local/nagios/bin/nagios -v
>>> /usr/local/nagios/etc/na
Yea i got it to work i had to stop and restart its working now thanks alot
people
this macro thing is too cool
On 6/21/07, Marc Powell <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Thursday, June 21, 2007 3:40 PM
> To: Adam Kennedy
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios Message Acknowledgment
>
> NO ERROR N
It is setup because i get email notifications as always just not what i want
it to send now with author and comments withing the notifications
I have email working as we speak and i have external command abilty but i
dont know why i dont see the message in the email acknowledgemnt
notifcation?
Hi Jerad,
If you mean http auth, this is what I use.
The check_command in the service definition:
check_command check_http_auth!host.example.com!/path!user:password
And the command definition.
define command{
command_namecheck_http_auth
command_line/usr/lib/na
Please always reply on-list.
I would assume, then, that your contact isn't set up to use the
'host-notify-by-email' notification method...
On Thu, 2007-06-21 at 17:04 -0400, Nedim Bicic wrote:
> YEA that was it but.
> For some reason when i acknowlege it, i dont see any comments or
> authors name
More importantly, can I just specify a URL to check? The default site on
the server in question directs you to CRM which requires auth. However on
the same server we have an intranet site which doesn't require
authorization. How would I go about just checking the intranet URL?
On 6/21/07, Jera
Is there any link to information about that? Like I said this is basically
the 2nd day I've used Linux and Nagios so much of this seems like a
different language to me. Thanks for the info.
On 6/21/07, GJP <[EMAIL PROTECTED]> wrote:
Hi Jerad,
If you mean http auth, this is what I use.
The c
On Thu, 21 Jun 2007, Jerad Riggin wrote:
> I'm new to Linux and new to Nagios so this may sound very stupid. Basically
> I have everything up and running, ping tests work, http tests work, and the
> smtp test I have setup works. If the host goes down I get a host down alert
> and a host up alert
Arno Lehmann schrieb am Donnerstag, den 21. Juni 2007:
> Hi,
>
> chiel schrieb:
> > I'm looking for a plugin that will check if the nagios.cfg is ok.
> > So besecauly run this command: "/usr/local/nagios/bin/nagios -v
> > /usr/local/nagios/etc/nagios.cfg". Is there a plugin for this?
>
> Would
I'm new to Linux and new to Nagios so this may sound very stupid. Basically
I have everything up and running, ping tests work, http tests work, and the
smtp test I have setup works. If the host goes down I get a host down alert
and a host up alert once the problem is resolved. Is there a way to
Hi,
chiel schrieb:
> I'm looking for a plugin that will check if the nagios.cfg is ok.
> So besecauly run this command: "/usr/local/nagios/bin/nagios -v
> /usr/local/nagios/etc/nagios.cfg". Is there a plugin for this?
Wouldn't it be better to check this in the cron job itself? Nagios
won't help
NO ERROR NICE !! Good job that was the mistake
i just dont know weather i should reload nagios or restart it for it to take
affect
On 6/21/07, Adam Kennedy <[EMAIL PROTECTED]> wrote:
Make sure there is no LF/CR (i.e. the enter button was hit) at the end
of the line that has "Acknowledge
Hi,
Palle Jensen schrieb:
> Arno,
>
>> Then post, for example, the output you get for the memory checks, and
>> I'll see how a regex should look that matches parts of the output.
>
> This is the output I get in nagios.log:
>
> [1181921420] Warning: Service performance data command 'echo
> 'serv
Make sure there is no LF/CR (i.e. the enter button was hit) at the end
of the line that has "Acknowledged By:" at the end.
Nedim Bicic wrote:
> This is the command i have in and that i keep getting the same errors
> but "printf" that shouldnt matter because why would it work in general
> for h
"Looks like you have a carriage return on line 53 when you shouldn't.
Just a guess though. It helps if you post the config around the line
that's being complained about.
--
Marc"
On Thu, 2007-06-21 at 15:58 -0400, Nedim Bicic wrote:
> This is the command i have in and that i keep getting the sa
This is the command i have in and that i keep getting the same errors
but "printf" that shouldnt matter because why would it work in general for
host down noticifations
Here is the command i have in now:
define command {
command_name host-notify-by-email
command_line
I'm looking for a plugin that will check if the nagios.cfg is ok.
So besecauly run this command: "/usr/local/nagios/bin/nagios -v
/usr/local/nagios/etc/nagios.cfg". Is there a plugin for this?
I want this because I reload the nagios config every 15 minutes through a
cronjob. And I want to be not
What is the full config entry for that command? I fear you are not using
printf when you should be.
Nedim Bicic wrote:
> I wish it was that easy but its still not working regardless of spelling
>
> I changed it of course but same error
>
> *> nagios -v /etc/nagios/nagios.cfg*
>
> Nagios 2.4
I wish it was that easy but its still not working regardless of spelling
I changed it of course but same error
*> nagios -v /etc/nagios/nagios.cfg*
Nagios 2.4
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-31-2006
License: GPL
Reading configuration data...
Err
Could it be a spelling problem " Acnkowledgement:" - Acknowledgement?
> Error: Invalid command object directive
'$HOSTACKAUTHOR$\nAcnkowledgement:'.
- Palle
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nedim Bicic
Sent: Thursday, June 21, 2007 2:11 PM
To: Jim
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Thursday, June 21, 2007 1:11 PM
> To: Jim Perrin
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios Message Acknowledgment
>
> Hey this is
Hey this is the error i get when i try to debug the above command for the
acknowledgement does anyone know why or how to fix it
this is what i get:
* nagios -v /etc/nagios/nagios.cfg*
Nagios 2.4
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 05-31-2006
License: GP
Arno,
> Then post, for example, the output you get for the memory checks, and
> I'll see how a regex should look that matches parts of the output.
This is the output I get in nagios.log:
[1181921420] Warning: Service performance data command 'echo
'server01\tMemuse\tMemory usage: total:4485.60 M
Thanks for all who gave immediate feedback on having a snmp community
option in nagios.
It's good to know N3 will have the custom macro support, I am already
doing some testing to see of the configuration interface my client is
using will be able to play nicely with Nagios 3.x so the custom macro
On Thu, Jun 21, 2007 at 10:08:27AM -0500, Marc Powell wrote:
> Macros are only available to command {} definitions. You can't use them
> anywhere else.
Shame.
> What I do is to create a template in a new config file (templates.cfg
> for example) with the differing values and the hosts/services i
On 6/21/07, Nedim Bicic <[EMAIL PROTECTED]> wrote:
> Do i have to stop nagios and restart it again for it to work
Or reload nagios, yes. This is the case with most/all changes to
config files. You have read the documentation, right?
--
During times of universal deceit, telling the truth becomes
the check_http will return 200 (ok) if it was able to download the URL.
You can also add a -s "text" or --string="text" to return OK only if the
string is found in the downloaded HTML.
You'd probably want to setup a specific command for check_http searching
for content as opposed to checking jus
Do i have to stop nagios and restart it again for it to work
thanks for the command thou
On 6/21/07, Marc Powell <[EMAIL PROTECTED]> wrote:
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Wednesday, June 20, 2
How can I monitor a page within a subdirectory on a web server? For
example, the I want to make sure the page
http://domain.com/subdirectory/its accessible.
Can I have nagios get access to the page and find a word within the page to
make sure its accessible?
Thanks.
Off the top of my head, maybe the scripts could be edited so that you
could pass the community string to the script from the service
definition. For example, here's one that I use:
define service{
use chkifoperstatus-service
host_name
Hi Marco,
can you show me how do you do that?
I will be very happy...If I can avoid to redo what you have already
done :-)
Can we propose to add this functionality in the new release!
Thanks
Alex
On Thu, 2007-06-21 at 15:04 +0100, Marco Ramos wrote:
> Hi,
>
> On Thu, 2007-06-21 at 12:20 +0200
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of James Whittington
> Sent: Thursday, June 21, 2007 10:06 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] snmp community option in host definition?
>
> I am faced wit
1. N3 will/does support custom macros
2. I've seen (or heard) somewhere patch to add snmp community name to host
3. Many are doing it using hostgroup names and then have a map file
with community names loaded from it (and then also not seen when
you do ps on the box!!!)
On Thu, 21 Jun 200
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Alain Williams
> Sent: Thursday, June 21, 2007 9:50 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Sharing local/remote machine .cfg
>
> I am relatively new to Nag
I am faced with the potential of having to monitor different remote
networks with primariliy custom perl based snmp checks.
The tricky part of this is that different networks may have different
SNMP community names.
While I could create different service definitions for each different
communi
I am relatively new to Nagios, I am setting up a group of Linux machines that
all send reports to a central monitoring one with nsca.
I have a separate .cfg file for each machine, I would like to share this file
between remote and central machines - so that if I change anything I just copy
it ove
Thanks Marco for the email.
Actually, I was watching the nagios.log while I started nagios.
And the the log show:
[1182281997] Nagios 2.2 starting... (PID=4108)
[1182281997] LOG VERSION: 2.0
[1182281997] Warning: Size of service_message struct (3484 bytes) is >
POSIX-guaranteed atomic write size
Hi,
On Thu, 2007-06-21 at 12:20 +0200, Linuxale wrote:
> > If you are using the Firefox browser, I can recommend the
> > nagioschecker firefox extension which was mentioned here recently. It
> > permits you to filter in various ways what states will be displayed
> > and when sounds will be playe
Hi,
try to strace it when you start it and look for potential errors.
HTH,
Marco Ramos
On Wed, 2007-06-20 at 13:53 -0700, Kevin Zhang wrote:
>
>
>
>
> I am using nagios 2.2 and RedHat 9.0.
> It has been working fine until recently when sometimes I cann't start
> the Nagios.
> It says:
>
Hi,
I have a criteria that only the first two non-OK Hard State
notifications need to be sent out (at whatever the specified interval
is). Afterwards, it's enough that it just keeps logging it with Nagios.
I thought I could get this done via escalations whereby I set the first
escalation to sent
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Nedim Bicic
> Sent: Wednesday, June 20, 2007 7:57 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios Message Acknowledgment
>
> Hi all i have nagios 2.4 i was w
Hi,
On 6/21/2007 11:52 AM, adi yesaya wrote:
> Dear Nagios users,
>
> I have tried to schedule Nagios to run checks at 23:00-01:00. I defined
> it at the time period as such:
>
> define timeperiod{
> timeperiod_name midnight
> alias Check at night onl
> If you are using the Firefox browser, I can recommend the
> nagioschecker firefox extension which was mentioned here recently. It
> permits you to filter in various ways what states will be displayed
> and when sounds will be played.
>
> http://code.google.com/p/nagioschecker/
Hi Jim,
thanks t
Hi Don,
NLG needs the following permissions set for the web-server user:
In /server:
- read access to the whole directory
- write access to ./index
In /client:
- read access to the whole directory
- write access to the root (./) of this directory
- write access to ./sync-files
- write acce
Dear Nagios users,
I have tried to schedule Nagios to run checks at 23:00-01:00. I defined it
at the time period as such:
define timeperiod{
timeperiod_name midnight
alias Check at night only
sunday 23:00-01:00
monday
51 matches
Mail list logo