Re: [Nagios-users] sticky acknowledgements do not persist across nagios restarts in Nagios 3

2008-11-12 Thread Chris Paul
Hugo van der Kooij [mailto:[EMAIL PROTECTED] wrote:

> 1: sticky acknowledgement
>
> > This is not the correct behavior according to page 7 of the nagios-3.pdf
> > document,
> >
> >"Acknowledgement comments that are marked as non-persistent are
> now
> > only deleted when the acknowledgement is removed. They were
> previously
> > automatically deleted when Nagios restarted, which was not ideal."
>
> 2: non-persistent acknowledgement
>
> > Can anyone else verify this behavior?
>
> In my view 1 and 2 are not the same thing.

Thanks Hugo. I could have been more clear... What I am talking about is
sticky, non-persistent acknowledgements, so can you tell me... does a
non-persistent, sticky ack (the default) remain on your system when you
restart nagios with a HUP signal?

best,

CP







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] sticky acknowledgements do not persist across nagios restarts in Nagios 3

2008-11-12 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Paul wrote:
> Hello Nagios-Users,
> 
> I have nagios 3.0.4 in Solaris 10. When acknowledge a host that is down
> (with a sticky acknowledgement, and then restart the nagios daemon with a
> kill -HUP, it deletes the acknowledgement.

1: sticky acknowledgement

> This is not the correct behavior according to page 7 of the nagios-3.pdf
> document,
> 
>"Acknowledgement comments that are marked as non-persistent are now
> only deleted when the acknowledgement is removed. They were previously
> automatically deleted when Nagios restarted, which was not ideal."

2: non-persistent acknowledgement

> Can anyone else verify this behavior?

In my view 1 and 2 are not the same thing.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJG8X+BvzDRVjxmYERAkUXAJ4u86BByhbqpVVkcxhqTG6LXtInEACfegp0
4I1+YbvzLkF+uLXv5z4/0zA=
=JMVp
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Alan McKay
> Don't remember. I'd have to look at the source but you can do that too.

yes, I will if none of the designers recall off the top of their head


-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


[Nagios-users] check_logs.pl gets 'uninitilized value'

2008-11-12 Thread Bret Goodfellow

Hi all,

I have been running a perl plugin, check_logs.pl, on a RHEL server for several 
months (no changes to my knowledge).  But, this week the plugin is having 
trouble.  When it runs, an 'uninitialized value' warning is produced.  Below is 
the shell output:

[EMAIL PROTECTED] plugins]# ./check_logs.pl -c /etc/nagios/check_logs_linux.cfg
Use of uninitialized value in numeric ne (!=) at ./check_logs.pl line 81.
messages => (1): Nov 12 10:39:23 twin root: HELLO THERE!;
[EMAIL PROTECTED] plugins]#

This same code is running just fine on 29 other RHEL servers.  How do I 
eliminate the 'uninitialized value' message?  Below is the code starting from 
line 73:

73# Open log file
74open LOG_FILE, $cnf->{'file_name'} || die "Unable to open log file 
$cnf->{'file_name'}: $!";
75# Try to open log seek file.  If open fails, we seek from beginning of
76# file by default.
77if (open(SEEK_FILE, $seek_file)) {
78chomp(@seek_pos = );
79close(SEEK_FILE);
80#  If file is empty, no need to seek...
81if ($seek_pos[0] != 0) {
82# Compare seek position to actual file size.  If file size is 
smaller
82# then we just start from beginning i.e. file was rotated, etc.
84
($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,$atime,$mtime,$ctime,$blksize,$blocks)
 = stat(LOG_FILE);
85if ($seek_pos[0] <= $size) {
86seek(LOG_FILE, $seek_pos[0], 0);
87}
88}
89}

Any ideas?

Regards,

Bret Goodfellow

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


[Nagios-users] sticky acknowledgements do not persist across nagios restarts in Nagios 3

2008-11-12 Thread Chris Paul
Hello Nagios-Users,

I have nagios 3.0.4 in Solaris 10. When acknowledge a host that is down
(with a sticky acknowledgement, and then restart the nagios daemon with a
kill -HUP, it deletes the acknowledgement.

This is not the correct behavior according to page 7 of the nagios-3.pdf
document,

   "Acknowledgement comments that are marked as non-persistent are now
only deleted when the acknowledgement is removed. They were previously
automatically deleted when Nagios restarted, which was not ideal."

Can anyone else verify this behavior?

many thanks,

CP
-- 
Chris Paul
Sentinare Messaging Solutions, Inc
309 Cedar Street #72, Santa Cruz, CA 95060
email: [EMAIL PROTECTED]
web: http://www.sentinare.com
phone, toll-free: +1 (877) 727-9786







-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Marc Powell

On Nov 12, 2008, at 4:28 PM, Alan McKay wrote:

> Here's a question : by what means does check_disk do it's checking?
> I guess it's using system calls?  Which ones?  I can look into those
> calls to see if there is a cleaner way around this than writing a
> wrapper script.

Don't remember. I'd have to look at the source but you can do that too.

--
Marc


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Alan McKay
> I guess that my expectation is that automounter would wait
>  about 10 minutes before unmounting.

I'm not sure why this should matter though.  It's job is to mount when
needed, and unmount when not needed.

> I guess that my expectation is that automounter would wait about 10
> minutes before unmounting. Typical normal_check_interval is 5. Lots of
> assumptions on my part there about your configuration.

I have not changed many defaults, certainly not that one.

Here's a question : by what means does check_disk do it's checking?
I guess it's using system calls?  Which ones?  I can look into those
calls to see if there is a cleaner way around this than writing a
wrapper script.

-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Marc Powell

On Nov 12, 2008, at 3:57 PM, Alan McKay wrote:

>> Unless the automounter is unmounting it in the
>> time between checks,
>
> Why wouldn't it?  That's it's job - to unmount stuff that is not  
> needed anymore.

I guess that my expectation is that automounter would wait about 10  
minutes before unmounting. Typical normal_check_interval is 5. Lots of  
assumptions on my part there about your configuration.

--
Marc


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Alan McKay
> A more likely, and elegant reason is that you have multiple nagios
> daemons running at the same time, one with the current config and one
> with a prior config that was set to check '/'.

Nope, doesn't appear to be

> Unless the automounter is unmounting it in the
> time between checks,

Why wouldn't it?  That's it's job - to unmount stuff that is not needed anymore.



-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Marc Powell

On Nov 12, 2008, at 3:06 PM, Alan McKay wrote:

>> Please expand on this. What specifically is flipping back and forth?
>> What is the service output when this is happening? flip-flop behavior
>> is an indicator of accidentally having multiple nagios daemons  
>> running
>> at the same time.
>
> Right now the screen just refreshed and it's reporting correctly in
> the web GUI :
>
> DISK OK - free space: /opt/corp/projects/BCM_CC 64697 MB (73%  
> inode=99%):
>
> Just before the refresh, it had / listed instead of
> /opt/corp/projects/BCM_CC, and the stats for / as well.
>
> In the meantime I have not changed the configuration.
>
> I'm thinking that like Hugo said, it could be the response time of the
> automounter.  Maybe I have to write a wrapper-script for check_disk
> that first cd's to the directory, then sleeps for 1 or 2 seconds, then
> calls check_disk.   Anyone ever done that?  Anything special I have to
> know to do it?

A more likely, and elegant reason is that you have multiple nagios  
daemons running at the same time, one with the current config and one  
with a prior config that was set to check '/'. That's much easier to  
verify and fix first than trying to figure out some obscure problem  
with the automounter. Unless the automounter is unmounting it in the  
time between checks, I doubt that's going to be it. I would also never  
expect the mountpoint being checked to change in that event.  
check_disk just doesn't do that from my experience.

--
Marc

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kaplan, Andrew H. wrote:

> If I was to go the CentOS route, would the Quick Install procedure available 
> for
> Fedora also work for version 5.2 64-bit of CentOS?

I am not familiar with that. But with Centos it is like:
 - Install Centos
 - Add rpmforge as repository
 - Install nagios through yum
 - Configure Nagios

The last line is the hardest part as it requires one to read the Nagios
manual to understand the Nagios config files.

But I actually have one Centos 4 and one Centos 5 server operational.
And some custome checking to do a SMTP loopback check to see if a chain
of anti-spam and anti-malware servers is working as it should be.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJG0kkBvzDRVjxmYERAuCYAJwIb80OrUMJLjj2r1Kve9QAlTECCwCfZTRj
FaUiSjx420xhKUOyq6pfUmc=
=2QW+
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Alan McKay
> Right now the screen just refreshed and it's reporting correctly in
> the web GUI :
>
> DISK OK - free space: /opt/corp/projects/BCM_CC 64697 MB (73% inode=99%):

There, one more refresh and :

DISK OK - free space: / 63202 MB (91% inode=94%):

-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Alan McKay
> Please expand on this. What specifically is flipping back and forth?
> What is the service output when this is happening? flip-flop behavior
> is an indicator of accidentally having multiple nagios daemons running
> at the same time.

Right now the screen just refreshed and it's reporting correctly in
the web GUI :

DISK OK - free space: /opt/corp/projects/BCM_CC 64697 MB (73% inode=99%):

Just before the refresh, it had / listed instead of
/opt/corp/projects/BCM_CC, and the stats for / as well.

In the meantime I have not changed the configuration.

I'm thinking that like Hugo said, it could be the response time of the
automounter.  Maybe I have to write a wrapper-script for check_disk
that first cd's to the directory, then sleeps for 1 or 2 seconds, then
calls check_disk.   Anyone ever done that?  Anything special I have to
know to do it?


-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Michael Gargiullo


-Original Message-
From: Kaplan, Andrew H. [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 3:54 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

Hi Hugo --

If I was to go the CentOS route, would the Quick Install procedure
available for
Fedora also work for version 5.2 64-bit of CentOS?





I run several instances of Nagios on CentOS 5.1 & 5.2...  Never tried
64bit however.















-Original Message-
From: Hugo van der Kooij [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 3:41 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kaplan, Andrew H. wrote:

> I will be implementing Nagios 3.0.5 on a new server, and the operating
> system in question will be the Fedora Core 9 release.
> 
> Are there any issues that I should be aware of prior to the
installation
> of Nagios, via yum, onto the server? Thanks.

Life expectation? Fedora 9 will not be supported in 1 year from now. Do
you want to do a major upgrade each year?

That is why I never will run Fedora on a server. Only Centos on servers
for me.

Hugo.


- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJGz9RBvzDRVjxmYERAoqSAKCHEOvEH/loO7c3bOQPgRzH2/hX1QCeO5m9
cTGEwMUKjBWVKKhLQWH8LYQ=
=nr0z
-END PGP SIGNATURE-


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null

The information transmitted in this electronic communication is intended
only
for the person or entity to whom it is addressed and may contain
confidential
and/or privileged material. Any review, retransmission, dissemination or
other
use of or taking of any action in reliance upon this information by
persons or
entities other than the intended recipient is prohibited. If you
received this
information in error, please contact the Compliance HelpLine at
800-856-1983 and
properly dispose of this information.





-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Alan McKay
>> I will be implementing Nagios 3.0.5 on a new server, and the operating
>> system in question will be the Fedora Core 9 release.
>>
>> Are there any issues that I should be aware of prior to the installation
>> of Nagios, via yum, onto the server? Thanks.

The Nagios version in FC9 is pretty old.  I started out there and then
blew it away and installed it manually.  Latest version.

The install was very easy.

-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alan McKay wrote:
>> Aha, but maybe this is it!  Above was with the automounter running.  I
>> turned it off and checked again :
>>
>> [EMAIL PROTECTED] linux]# ls -ald /opt/corp/projects/
>> drwxr-x--- 2 root root 4096 2008-07-14 04:28 /opt/corp/projects/
>>
>> So I chmodded it 0755 then turned it back on.
> 
> Nope, in the web GUI it's still flipping back and forth between / and
> the actual disk I want

When you tested by hand. How fast was the response? Could it be that the
plugin through nagios is perhaps faster or slower so the response time
of the automounter could be an issue?

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJG0KYBvzDRVjxmYERAj7QAJ9WNdJj1ckBxq672S5j1ISjEZFfeACgmj0k
hQy/Zib1ANGO6JR+lRT3CRI=
=5nM8
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Marc Powell

On Nov 12, 2008, at 2:39 PM, Alan McKay wrote:

>> Aha, but maybe this is it!  Above was with the automounter  
>> running.  I
>> turned it off and checked again :
>>
>> [EMAIL PROTECTED] linux]# ls -ald /opt/corp/projects/
>> drwxr-x--- 2 root root 4096 2008-07-14 04:28 /opt/corp/projects/
>>
>> So I chmodded it 0755 then turned it back on.
>
> Nope, in the web GUI it's still flipping back and forth between / and
> the actual disk I want

Please expand on this. What specifically is flipping back and forth?  
What is the service output when this is happening? flip-flop behavior  
is an indicator of accidentally having multiple nagios daemons running  
at the same time.

--
Marc


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Kaplan, Andrew H.
Hi Hugo --

If I was to go the CentOS route, would the Quick Install procedure available for
Fedora also work for version 5.2 64-bit of CentOS?


-Original Message-
From: Hugo van der Kooij [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 3:41 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kaplan, Andrew H. wrote:

> I will be implementing Nagios 3.0.5 on a new server, and the operating
> system in question will be the Fedora Core 9 release.
> 
> Are there any issues that I should be aware of prior to the installation
> of Nagios, via yum, onto the server? Thanks.

Life expectation? Fedora 9 will not be supported in 1 year from now. Do
you want to do a major upgrade each year?

That is why I never will run Fedora on a server. Only Centos on servers
for me.

Hugo.


- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJGz9RBvzDRVjxmYERAoqSAKCHEOvEH/loO7c3bOQPgRzH2/hX1QCeO5m9
cTGEwMUKjBWVKKhLQWH8LYQ=
=nr0z
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios for client management?

2008-11-12 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

dale sykora wrote:

>   Nagios seems to be a good client monitor system.  I was wondering if 
> anyone also uses it as a client management system?  By management,  I 
> mean running update scripts and other software on various Linux 
> clients.

You might be able to whip up something that works. But Nagios is about
monitoring. I think you need to look for another solution to do to
proper management of clients.

I can use a screwdriver to hit a nail. But a hammer is a better tool for it.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJG0HsBvzDRVjxmYERAtGGAJ4zUm0HtoFsLGUE6K80QduNvedR1gCgqS4P
bFqf+v+8/RVFgFxPYqR60tM=
=qNti
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kaplan, Andrew H. wrote:

> I will be implementing Nagios 3.0.5 on a new server, and the operating
> system in question will be the Fedora Core 9 release.
> 
> Are there any issues that I should be aware of prior to the installation
> of Nagios, via yum, onto the server? Thanks.

Life expectation? Fedora 9 will not be supported in 1 year from now. Do
you want to do a major upgrade each year?

That is why I never will run Fedora on a server. Only Centos on servers
for me.

Hugo.


- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJGz9RBvzDRVjxmYERAoqSAKCHEOvEH/loO7c3bOQPgRzH2/hX1QCeO5m9
cTGEwMUKjBWVKKhLQWH8LYQ=
=nr0z
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Alan McKay
> Aha, but maybe this is it!  Above was with the automounter running.  I
> turned it off and checked again :
>
> [EMAIL PROTECTED] linux]# ls -ald /opt/corp/projects/
> drwxr-x--- 2 root root 4096 2008-07-14 04:28 /opt/corp/projects/
>
> So I chmodded it 0755 then turned it back on.

Nope, in the web GUI it's still flipping back and forth between / and
the actual disk I want


-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Audit users actions within nagios

2008-11-12 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andreas Ericsson wrote:
> Richard Savage wrote:
>> I think you might have misunderstood.  Im not interested in what actions
>> are performed on the actual box, as they cant log into that, im
>> interested in what actions are performed within the Nagios program.
>>
>
> Following your apache log will tell you who visited which page. It won't
> show POST data and such though, but it'll get you started.
>
> There's no way of getting enough info to essentially be able to replay
> the users' actions, and nor will there be within the foreseeable future
> (unless you patch it to do that, ofcourse).

Hold on. Given that a normal user is unable to login locally and change
config files. The actions available to the users are limited. And to the
best of my knowledge things like acknowledgements, scheduling downtime
and sure are pretty well recorded in the logs.

Or am I missing something here?

Hugo.

PS: Darn list makes it darn impossible to respond to the list.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJGz2jBvzDRVjxmYERAii0AJsE6l5FK+ahd+0vKQ/5Rf3VN86wZwCgo2v9
1X7OCgkqiQc11a1inqjpziY=
=QL9T
-END PGP SIGNATURE-

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Alan McKay
OK, I checked the perms and they seem fine.

[EMAIL PROTECTED] nagios]$ ls -ald /opt/corp/projects/BCM_CC
drwxrwxrwx 8 otheruser othergroup 1024 2008-10-31 13:52
/opt/corp/projects/BCM_CC

Note that "otheruser" is not nagios.  othergroup is one that nagios is
not a member of.

[EMAIL PROTECTED] nagios]$ ls -ald /opt/corp/projects
drwxr-xr-x 3 root root 0 2008-11-12 15:22 /opt/corp/projects

Aha, but maybe this is it!  Above was with the automounter running.  I
turned it off and checked again :

[EMAIL PROTECTED] linux]# ls -ald /opt/corp/projects/
drwxr-x--- 2 root root 4096 2008-07-14 04:28 /opt/corp/projects/

So I chmodded it 0755 then turned it back on.

[EMAIL PROTECTED] nagios]$ ls -ald /opt/corp
drwxr-xr-x 4 root root 4096 2008-07-14 04:28 /opt/corp

[EMAIL PROTECTED] nagios]$ ls -ald /opt
drwxr-xr-x 4 root root 4096 2008-07-14 04:28 /opt

Here is what I am doing on the Nagios server itself.   Note that
"check_nfs_disk" is the same as "check_local_disk" in the default
config.  I just copied it in case I needed to change anything.

define service{
use local-service ; Name
of service template to use
host_name   localhost
service_description BCM CC Disk
service_groups  Disks
contact_groups  admins,LoadBuildAdmins
check_command
check_nfs_disk!20%!10%!/opt/corp/projects/BCM_CC/
}

define command{
command_namecheck_nfs_disk
command_line$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
}




-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios for client management?

2008-11-12 Thread Matthew Pounsett


On 12-Nov-2008, at 14:09 , dale sykora wrote:


Hello,
 Nagios seems to be a good client monitor system.  I was wondering if
anyone also uses it as a client management system?  By management,  I
mean running update scripts and other software on various Linux
clients.  For instance, I'd like to be able to tell clients to  
update a
perl module with cpan or yum update some_rpm_package or download,  
untar,

compile, install some in house software.


You could probably wedge something like that into Nagios, but there is  
software out there better suited to the task: configuration management  
and change management software (particularly the former).  See  
cfengine, bcfg2, puppet, to name only three.   I was also recently  
referred to an interesting paper which makes references to using  
configuration management software to manage other (client)  
organizations' systems, here .


PGP.sig
Description: This is a digitally signed message part
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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 /dev/null

Re: [Nagios-users] check_disk and autofs

2008-11-12 Thread Marc Powell

On Nov 12, 2008, at 1:24 PM, Alan McKay wrote:

> Hey folks,

Hey =) Welcome.

> I'm basically calling check_disk with -w -c and -p options.  e.g.
>
> check_disk -w 20 -c 10 -p /path/to/autofs/mountpoint/disk1
> check_disk -w 20 -c 10 -p /path/to/autofs/mountpoint/disk2
>
> I've also tried adding a trailing / to the end of the disk mount  
> point.
>
> I went through the "check_disk -h" output and cannot find anything
> that might help.
>
> And most frustratingly, when I call check_disk manually from the BASH
> prompt, I always get the info I want - from the disk not the mount
> point!

This is good and tells me that either the command{} definition isn't  
the same as your test or there are permission problems. Can you post  
the relevant service{} and command{} definitions? Can you post the  
permissions on the mountpoints? The nagios user should have rx access  
to those directories and above.

Are you performing your test as the nagios/nrpe user on the remote  
machine or as root? You shouldn't test as root as there can be  
significant permission discrepancies compared to the nagios user.

--
Marc

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios for client management?

2008-11-12 Thread Michael Gargiullo


-Original Message-
From: dale sykora [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 2:10 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios for client management?

Hello,
  Nagios seems to be a good client monitor system.  I was wondering if 
anyone also uses it as a client management system?  By management,  I 
mean running update scripts and other software on various Linux 
clients.  For instance, I'd like to be able to tell clients to update a 
perl module with cpan or yum update some_rpm_package or download, untar,

compile, install some in house software.   I could write a client script

to poll a server every so often asking what todo, but would rather not 
reinvent the wheel if something like this exists in Nagios/plugin or 
other software. 

Thanks,

[EMAIL PROTECTED]


 


-

Using Nagios specifically to run updates may not be the best solution.
That being said...

I've used it to compare installed versions of software with a list of
requirements. The plugin would handle the update if needed.  It was very
specific.  It would also handle monitoring config file mod dates.

Could you do that... yes...  should you?  Only you can answer that one.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


[Nagios-users] check_disk and autofs

2008-11-12 Thread Alan McKay
Hey folks,

First, thanks for such a great product.  Totally loving Nagios!   At
first I found the config really intimidating but after maybe 20 or 30
minutes I had a few hosts banged in and it was all downhill from
there.  It's amazingly easy now, I find!

But I'm having the following problem.  I searched the list archives
and did not find anything which matched this.

I want to use Nagios to check some specific autofs-mounted disks, and
report on them.   But what I"m getting back flips back and forth
between the info for the disk that I want, and the info for the mount
point.   I tried this first using NRPE to check it on a remote system,
then when that failed I tried it locally on the Nagios server with the
same results.

Note I cannot and do not want to check all autofs disks because I am
only concerned with a very small percentage of them which pertain to
my group.

I'm basically calling check_disk with -w -c and -p options.  e.g.

check_disk -w 20 -c 10 -p /path/to/autofs/mountpoint/disk1
check_disk -w 20 -c 10 -p /path/to/autofs/mountpoint/disk2

I've also tried adding a trailing / to the end of the disk mount point.

I went through the "check_disk -h" output and cannot find anything
that might help.

And most frustratingly, when I call check_disk manually from the BASH
prompt, I always get the info I want - from the disk not the mount
point!

thanks,
-Alan

-- 
"I destroy my enemies when I make them my friends"
- Abraham Lincoln

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


[Nagios-users] Nagios for client management?

2008-11-12 Thread dale sykora
Hello,
  Nagios seems to be a good client monitor system.  I was wondering if 
anyone also uses it as a client management system?  By management,  I 
mean running update scripts and other software on various Linux 
clients.  For instance, I'd like to be able to tell clients to update a 
perl module with cpan or yum update some_rpm_package or download, untar, 
compile, install some in house software.   I could write a client script 
to poll a server every so often asking what todo, but would rather not 
reinvent the wheel if something like this exists in Nagios/plugin or 
other software. 

Thanks,

[EMAIL PROTECTED]


 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Seth Simmons
I've been running Nagios 3.0.5 on Fedora 9 for a while and runs well.

Make sure you got apache and your compilers, download the Nagios and
Nagios plugins tars and follow the quick install guide for fedora in the
manual.

 

 

From: Kaplan, Andrew H. [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 11:43 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

 

Hi there -

 

I will be implementing Nagios 3.0.5 on a new server, and the operating
system in question will be the Fedora Core 9 release.

Are there any issues that I should be aware of prior to the installation
of Nagios, via yum, onto the server? Thanks. 

 
The information transmitted in this electronic communication is intended
only
for the person or entity to whom it is addressed and may contain
confidential
and/or privileged material. Any review, retransmission, dissemination or
other
use of or taking of any action in reliance upon this information by
persons or
entities other than the intended recipient is prohibited. If you
received this
information in error, please contact the Compliance HelpLine at
800-856-1983 and
properly dispose of this information.
 
 
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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 /dev/null

Re: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Aaron Segura
Did you search the applicable mailing list archives?  I think that would
be a pretty good indicator.

 



From: Kaplan, Andrew H. [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 9:43 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios 3.0.5 on Fedora Core 9

 

Hi there -

 

I will be implementing Nagios 3.0.5 on a new server, and the operating
system in question will be the Fedora Core 9 release.

Are there any issues that I should be aware of prior to the installation
of Nagios, via yum, onto the server? Thanks. 

 
The information transmitted in this electronic communication is intended
only
for the person or entity to whom it is addressed and may contain
confidential
and/or privileged material. Any review, retransmission, dissemination or
other
use of or taking of any action in reliance upon this information by
persons or
entities other than the intended recipient is prohibited. If you
received this
information in error, please contact the Compliance HelpLine at
800-856-1983 and
properly dispose of this information.
 
 
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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 /dev/null

[Nagios-users] Nagios 3.0.5 on Fedora Core 9

2008-11-12 Thread Kaplan, Andrew H.
Hi there -

 

I will be implementing Nagios 3.0.5 on a new server, and the operating system in
question will be the Fedora Core 9 release.

Are there any issues that I should be aware of prior to the installation of
Nagios, via yum, onto the server? Thanks. 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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 /dev/null

Re: [Nagios-users] Email Notifications

2008-11-12 Thread Michael Gargiullo


-Original Message-
From: Andreas Ericsson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 12, 2008 9:06 AM
To: [EMAIL PROTECTED]
Cc: nagios-user Mailinglist
Subject: Re: [Nagios-users] Email Notifications

[EMAIL PROTECTED] wrote:
> Please help!
> I have set up eSMTP as relay.The test from the command line is as
follows: echo "test" | /usr/bin/esmtp -C ~/esmtp [EMAIL PROTECTED] -f
[EMAIL PROTECTED]
> [EMAIL PROTECTED] is an outside email address i am sending to from an
inside email address on our email server. Do i need to specify the
inside email server and the account i am using within nagios and if so
where? or should the usual configuration be enough. the relevant parts
of the config fiels are as follows.
> 
> Thanks in advance for any help
> 
> The following are the config files:
> 
> 
> 
>>From the windows.cfg file:
> 
> define host{
> use windows-pcs ; Inherit default values from
a template
> host_name   invoicepc   ; The name we're giving to
this host
> alias   invoicingpc ; A longer name associated
with the host
> address x.x.x.x ; IP address of the host
> }
> 
> 
> define hostgroup{
> hostgroup_name  windows-pcs ; The name of the hostgroup
> alias   Windows PCs ; Long name of the group
> members invoicepc
> }
> 
> 
> define service{
> use generic-service
> hostgroup_name  windows-pcs
> service_description Uptime
> check_command   check_nt!UPTIME
> contact_groups  admins
> }
> 
> 
>>From the commands.cfg file:
> 
> # 'notify-host-by-email' command definition
> define command{
> command_namenotify-host-by-email
> command_line/usr/bin/esmtp/printf "%b" "* Nagios
*\n\nNotification Type:  $NOTIFICATIONTYPE$\nHost:
$HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:
$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/esmtp -s "**
$NOTIFICATIONTYPE$ Host Host Alert: $HOSTNAME$ is $HOSTSTATE$ **"
$CONTACTEMAIL$
> 

I thought esmtp was an MTA sendmail replacement, not a mail program
replacement?

Either way, you have /usr/bin/esmtp as both a directory and an
executable in the same command.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Limiting mail notification for clock drift

2008-11-12 Thread Marc Powell

On Nov 12, 2008, at 9:03 AM, Kenneth Holter wrote:

> I think I found one of the causes for the excessive notifacations -  
> the notification_interval was set to 0. For almost all our services  
> we have a high number (such as 1440), but this current value of zero  
> must have made it's way into the code somehow.

It should be left at 0 to get the behavior you're expecting. With  
notification_interval 0, a notification for a {WARNING | CRITICAL | OK/ 
RECOVERY} state will only be sent once per problem. That's what you  
want. When set at 1440, you'll receive repeat notifications every 24  
hours until recovery.

http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service

"notification_interval: This directive is used to define the number  
of "time units" to wait before re-notifying a contact that this  
service is still in a non-OK state. Unless you've changed the  
interval_length directive from the default value of 60, this number  
will mean minutes. If you set this value to 0, Nagios will not re- 
notify contacts about problems for this service - only one problem  
notification will be sent out."

> This is my current definition:
>  define service {
> use generic-service
> service_description Current load for virtual  
> servers
> servicegroups   performance
> hostgroups  virtual-servers
> is_volatile 0
> check_period24x7
> max_check_attempts  3
> normal_check_interval   5
> retry_check_interval1
> notification_interval   0
> notification_period 24x7
> check_command   check_remote_load!/home/ 
> nagios/.ssh/id_rsa!nagios!13.0,8.0,3.0!15.0,10.0,5.0
> }

This isn't the entire service definition (no contacts specified, no  
notification_options, what's in the template?, etc). That's why I  
suggested getting that (and more) from objects.cache. You might also  
want to include the log entries for the service and notifications to  
exemplify the problem.

> Setting this attribute to a higher value should make me get a lot  
> less notifications, but I will still get more or less duplicate  
> notifications. Help on avoiding this will be appreciated.

You just made it worse by saying you _should_ get repeat notifications  
once a day at least. ;)

>
> Regarding your specific questions: I think the service definition  
> above answers most of them.

Not really, it's missing the key bits of information about who gets  
notified for what, when and how.

> We don't run multiple Nagios daemons on the same machine.

I'm sure you don't intentionally but it can happen accidentally and  
cause strange issues. Actively make sure that you don't have multiple  
nagios daemons running right now.

> I didn't find anything unusual in objects.cache.

This was a request so that we could see what was there and help you  
with your problem. What may not be unusual to you may be plainly  
unusual to us, otherwise you wouldn't be asking for help. To make any  
progress on this issue, you should --

- Verify you do not have multiple nagios daemons running right now.  
Stop nagios, use ps to see if any remain, kill them and restart  
nagios. Let us know if you had anything you needed to kill.

If you didn't have multiple instances or you did and the problem  
continues after doing the above,

- Gather the following information from objects.cache
- The definition for the service experiencing this problem
- The definition for the host running the service experiencing this  
problem
- The definition for the contact experiencing this problem
- The definition for that contact's notification command
- Gather the following information from nagios.log
- entries related to the service experiencing the problem when it  
initially goes down and subsequent checks during that outage
- entries related to notifications for the service during this time.

--
Marc


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Limiting mail notification for clock drift

2008-11-12 Thread Kenneth Holter
I think I found one of the causes for the excessive notifacations - the
notification_interval was set to 0. For almost all our services we have a
high number (such as 1440), but this current value of zero must have made
it's way into the code somehow. This is my current definition:

 define service {
use generic-service
service_description Current load for virtual servers
servicegroups   performance
hostgroups  virtual-servers
is_volatile 0
check_period24x7
max_check_attempts  3
normal_check_interval   5
retry_check_interval1
notification_interval   0
notification_period 24x7
check_command
check_remote_load!/home/nagios/.ssh/id_rsa!nagios!13.0,8.0,3.0!15.0,10.0,5.0
}


Setting this attribute to a higher value should make me get a lot less
notifications, but I will still get more or less duplicate notifications.
Help on avoiding this will be appreciated.

Regarding your specific questions: I think the service definition above
answers most of them. We don't run multiple Nagios daemons on the same
machine. I didn't find anything unusual in objects.cache.

On 11/12/08, Marc Powell <[EMAIL PROTECTED]> wrote:
>
>
> On Nov 12, 2008, at 2:43 AM, Kenneth Holter wrote:
>
> >
> > Thanks for your reply.
> >
> > The "is_volatile" options is actually already set to "0". :/
>
> That's interesting. That's about the only option that would cause the
> behavior you are reporting that I can think of. Are you using event
> handlers for notifications? Is your notification_interval the same or
> similar to your normal_check_interval? Make sure that you don't have
> multiple nagios daemons running at the same time and that the service
> definition in objects.cache is as you expect it to be.
>
> The only case in which nagios cares about the _text_ of the plugin
> output is when state stalking is enabled. Even then, it only provides
> logging of that change, not a notification. There are only two
> conditions under which notifications will be sent out (
> http://nagios.sourceforge.net/docs/3_0/notifications.html)--
>
> "When Do Notifications Occur?
>
> The decision to send out notifications is made in the service check
> and host check logic. Host and service notifications occur in the
> following instances...
>
> * When a hard state change occurs. More information on state
> types and hard state changes can be found here.
> * When a host or service remains in a hard non-OK state and the
> time specified by the  option in the host or
> service definition has passed since the last notification was sent out
> (for that specified host or service)."
>
> > I think it would be correct to sum up what I'm in need of like this:
> > Whenever there is a transition from one hard error state to another
> > hard error state, or when there has been a recovery from such an
> > error, I'd like a notification.
>
> Yup. Standard Operating Procedure for nagios. You have to do something
> unusual to not get this behavior. Perhaps you should post some config
> information from objects.cache for inspection. service definition,
> contact definition and notification command definition.
>
> --
> Marc
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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 /dev/null

Re: [Nagios-users] Email Notifications

2008-11-12 Thread Andreas Ericsson
[EMAIL PROTECTED] wrote:
> Please help!
> I have set up eSMTP as relay.The test from the command line is as follows: 
> echo "test" | /usr/bin/esmtp -C ~/esmtp [EMAIL PROTECTED] -f [EMAIL PROTECTED]
> [EMAIL PROTECTED] is an outside email address i am sending to from an inside 
> email address on our email server. Do i need to specify the inside email 
> server and the account i am using within nagios and if so where? or should 
> the usual configuration be enough. the relevant parts of the config fiels are 
> as follows.
> 
> Thanks in advance for any help
> 
> The following are the config files:
> 
> 
> 
>>From the windows.cfg file:
> 
> define host{
> use windows-pcs ; Inherit default values from a 
> template
> host_name   invoicepc   ; The name we're giving to this host
> alias   invoicingpc ; A longer name associated with the 
> host
> address x.x.x.x ; IP address of the host
> }
> 
> 
> define hostgroup{
> hostgroup_name  windows-pcs ; The name of the hostgroup
> alias   Windows PCs ; Long name of the group
> members invoicepc
> }
> 
> 
> define service{
> use generic-service
> hostgroup_name  windows-pcs
> service_description Uptime
> check_command   check_nt!UPTIME
> contact_groups  admins
> }
> 
> 
>>From the commands.cfg file:
> 
> # 'notify-host-by-email' command definition
> define command{
> command_namenotify-host-by-email
> command_line/usr/bin/esmtp/printf "%b" "* Nagios 
> *\n\nNotification Type:  $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: 
> $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:  $HOSTOUTPUT$\n\nDate/Time: 
> $LONGDATETIME$\n" | /usr/bin/esmtp -s "** $NOTIFICATIONTYPE$ Host Host Alert: 
> $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$
> 

/usr/bin/esmtp/printf looks totally bogus. I've got a feeling
someone's used a crappy regex to modify the config here.

Besides that, I believe esmtp is an smtp *server*, so it's not
supposed to be run from the command line. I'm not sure about
that though, so I'll just assume you've read the manuals for
esmtp and know what you're doing (well, one can always hope,
right?).

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


[Nagios-users] Email Notifications

2008-11-12 Thread kellyjackie
Please help!
I have set up eSMTP as relay.The test from the command line is as follows: echo 
"test" | /usr/bin/esmtp -C ~/esmtp [EMAIL PROTECTED] -f [EMAIL PROTECTED]
[EMAIL PROTECTED] is an outside email address i am sending to from an inside 
email address on our email server. Do i need to specify the inside email server 
and the account i am using within nagios and if so where? or should the usual 
configuration be enough. the relevant parts of the config fiels are as follows.

Thanks in advance for any help

The following are the config files:



>From the windows.cfg file:

define host{
use windows-pcs ; Inherit default values from a template
host_name   invoicepc   ; The name we're giving to this host
alias   invoicingpc ; A longer name associated with the host
address x.x.x.x ; IP address of the host
}


define hostgroup{
hostgroup_name  windows-pcs ; The name of the hostgroup
alias   Windows PCs ; Long name of the group
members invoicepc
}


define service{
use generic-service
hostgroup_name  windows-pcs
service_description Uptime
check_command   check_nt!UPTIME
contact_groups  admins
}


>From the commands.cfg file:

# 'notify-host-by-email' command definition
define command{
command_namenotify-host-by-email
command_line/usr/bin/esmtp/printf "%b" "* Nagios 
*\n\nNotification Type:  $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: 
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:  $HOSTOUTPUT$\n\nDate/Time: 
$LONGDATETIME$\n" | /usr/bin/esmtp -s "** $NOTIFICATIONTYPE$ Host Host Alert: 
$HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$


}

# 'notify-service-by-email' command definition
define command{
command_namenotify-service-by-email
command_line/usr/bin/esmtp/printf "%b" "* Nagios 
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: 
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: 
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$  | /usr/bin/esmtp -s "** 
$NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is  $SERVICESTATE$ 
**" $CONTACTEMAIL$


}

# 'process-host-perfdata' command definition
define command{
command_nameprocess-host-perfdata
command_line/usr/bin/esmtp/printf "%b" 
"$LASTHOSTCHECK$\t$HOSTNAME$\t$HOSTSTATE$$E$\



}


# 'process-service-perfdata' command definition
define command{
command_nameprocess-service-perfdata
command_line/usr/bin/esmtp/printf "%b" 
"$LASTSERVICECHECK$\t$HOSTNAME$\t$SERVICEDESC$
}

>From the contacts.cfg file:

define contact{
contact_namenagiosadmin ; Short name of 
user
use generic-contact ; Inherit 
default values from ge$
alias   Nagios Admin; Full name of 
user
host_notifications_enabled 1
service_notifications_enabled 1
host_notification_period24x7
service_notification_period 24x7
service_notification_optionsw,u,c,r
host_notification_options   d,u,r
service_notification_commands   notify-service-by-email
host_notification_commands  notify-host-by-email
email   outside email address  ; <<* CHANGE 
THIS TO YOUR EM$
}


# NOTIFICATIONS OPTION
# This determines whether or not Nagios will sent out any host or
# service notifications when it is initially (re)started.
# Values: 1 = enable notifications, 0 = disable notifications

enable_notifications=1


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Limiting mail notification for clock drift

2008-11-12 Thread Marc Powell

On Nov 12, 2008, at 2:43 AM, Kenneth Holter wrote:

>
> Thanks for your reply.
>
> The "is_volatile" options is actually already set to "0". :/

That's interesting. That's about the only option that would cause the  
behavior you are reporting that I can think of. Are you using event  
handlers for notifications? Is your notification_interval the same or  
similar to your normal_check_interval? Make sure that you don't have  
multiple nagios daemons running at the same time and that the service  
definition in objects.cache is as you expect it to be.

The only case in which nagios cares about the _text_ of the plugin  
output is when state stalking is enabled. Even then, it only provides  
logging of that change, not a notification. There are only two  
conditions under which notifications will be sent out 
(http://nagios.sourceforge.net/docs/3_0/notifications.html)--

"When Do Notifications Occur?

The decision to send out notifications is made in the service check  
and host check logic. Host and service notifications occur in the  
following instances...

 * When a hard state change occurs. More information on state  
types and hard state changes can be found here.
 * When a host or service remains in a hard non-OK state and the  
time specified by the  option in the host or  
service definition has passed since the last notification was sent out  
(for that specified host or service)."

> I think it would be correct to sum up what I'm in need of like this:  
> Whenever there is a transition from one hard error state to another  
> hard error state, or when there has been a recovery from such an  
> error, I'd like a notification.

Yup. Standard Operating Procedure for nagios. You have to do something  
unusual to not get this behavior. Perhaps you should post some config  
information from objects.cache for inspection. service definition,  
contact definition and notification command definition.

--
Marc


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Audit users actions within nagios

2008-11-12 Thread Andreas Ericsson
Richard Savage wrote:
> I think you might have misunderstood.  Im not interested in what actions 
> are performed on the actual box, as they cant log into that, im 
> interested in what actions are performed within the Nagios program.
> 

Following your apache log will tell you who visited which page. It won't
show POST data and such though, but it'll get you started.

There's no way of getting enough info to essentially be able to replay
the users' actions, and nor will there be within the foreseeable future
(unless you patch it to do that, ofcourse).

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Audit users actions within nagios

2008-11-12 Thread Richard Savage
I think you might have misunderstood.  Im not interested in what actions 
are performed on the actual box, as they cant log into that, im 
interested in what actions are performed within the Nagios program.

Rich

NewNet plc: Company Registration 03128506



Assaf Flatto wrote:
> This is more of a OS security and administration issue , and not a nagios 
> issue.
>
> try using sudo for that .
>
> On Wednesday 12 November 2008 11:05:01 Richard Savage wrote:
>   
>> Hi
>>
>> Im running nagios 3.0.4 on FreeBSD 7.0
>>
>> I have it set up so that all users to the system have an individual user
>> name to access nagios.  What i would like to be able to do to be able to
>> log all the actions that the users perform and to be able to see which
>> user performed which action?
>>
>> A bit like an audit trail.
>>
>> Is this possible?
>>
>> Regards
>>
>> Richard
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge Build the coolest Linux based applications with Moblin SDK & win
>> great prizes Grand prize is a trip for two to an Open Source event anywhere
>> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> 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 /dev/null
>> 
>
>
>
>   

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] Audit users actions within nagios

2008-11-12 Thread Assaf Flatto
This is more of a OS security and administration issue , and not a nagios issue.

try using sudo for that .

On Wednesday 12 November 2008 11:05:01 Richard Savage wrote:
> Hi
>
> Im running nagios 3.0.4 on FreeBSD 7.0
>
> I have it set up so that all users to the system have an individual user
> name to access nagios.  What i would like to be able to do to be able to
> log all the actions that the users perform and to be able to see which
> user performed which action?
>
> A bit like an audit trail.
>
> Is this possible?
>
> Regards
>
> Richard
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge Build the coolest Linux based applications with Moblin SDK & win
> great prizes Grand prize is a trip for two to an Open Source event anywhere
> in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 /dev/null



-- 
Assaf Flatto
SSP Ops Team
Linux System Administrator
169 Euston Road, London, NW1 2AE





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


[Nagios-users] Audit users actions within nagios

2008-11-12 Thread Richard Savage
Hi

Im running nagios 3.0.4 on FreeBSD 7.0

I have it set up so that all users to the system have an individual user 
name to access nagios.  What i would like to be able to do to be able to 
log all the actions that the users perform and to be able to see which 
user performed which action?

A bit like an audit trail.

Is this possible?

Regards

Richard

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


[Nagios-users] Citrix checks

2008-11-12 Thread Edgar Matzinger
Fellow nagios users,
 
  I wonder how you would check several Citrix services. Like SMA, IMA,
Print Manager, WWW Publishing, licenses, etc. with nagios/nrpe? Port
checks? Are there any SNMP checks possible? I've seen some Citrix checks
on nagiosexchange.org, but they handle the checks mentioned above
Or are these services automatically by Microsoft Services? As you can
see, I'm neither a Microsoft admin nor citrix admin.
 
Thanks, regards, Edgar.
-- 
|\  /| :: Addr: Valid Eindhoven B.V.
 /  | \/ | : Edgar R. Matzinger :   t.a.v. E.R. Matzinger
/   || ::   Paradijslaan 36
\  /|  /\| ::   5611 KN Eindhoven
 \/   /  \ : Valid Eindhoven BV :
  \  /\  / ::
   \/ |\/  ::
  |::
Disclaimer: Any comments, opinions made are mine, etc ... 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


Re: [Nagios-users] host_alert_check issue

2008-11-12 Thread Ian Masters
> I have a couple of different versions of nagios running on 
> different contracts and have no issues. On one contract I have installed 
> nagios version 3.0.3 running on suse 11. Has anyone had any issues with 
> this version with the host alert check. Basically all my service checks 
> are working fine, but if a host goes down, nagios is not picking this 
> up. The host_alert_check is setup the same way as on my other versions 
> of nagios and they work fine. Has anybody else found this problem on 
> version 3.0.3?

I've been using version 3.0.3 for about a month and never seen this problem.

Ian Masters
-- 
Nagios 3.0.3 (with plugins v1.4.13) on CentOS 5.2


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null


[Nagios-users] host_alert_check issue

2008-11-12 Thread stephen wing
Hi There

I have a couple of different versions of nagios running on
different contracts and have no issues. On one contract I have installed
nagios version 3.0.3 running on suse 11. Has anyone had any issues with this
version with the host alert check. Basically all my service checks are
working fine, but if a host goes down, nagios is not picking this up. The
host_alert_check is setup the same way as on my other versions of nagios and
they work fine. Has anybody else found this problem on version 3.0.3?

 

Regards

Stephen

 

 




This email originates from Steria*. It, and any attachments, may contain 
confidential information and may be subject to copyright or other intellectual 
property rights. It is only for the use of the addressee(s). You may not copy, 
forward, disclose, save or otherwise use it in any way if you are not the 
addressee(s) or responsible for delivery.
If you receive this email by mistake, please advise the sender and cancel it 
immediately.
Steria may monitor the content of emails within its network to ensure 
compliance with its policies and procedures.
Any email is susceptible to alteration and its integrity cannot be assured. 
Steria shall not be liable if the message is altered, modified, falsified, or 
edited.
_
* Steria Limited, number 4077975;
Steria Services Limited, number 2706218;
Steria Recruitment Limited, number 1437998.
Registered in England and Wales; registered office Three Cherry Trees Lane, 
Hemel Hempstead, Hertfordshire HP2 7AH

 Think before you print - save energy and paper 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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 /dev/null

Re: [Nagios-users] Limiting mail notification for clock drift

2008-11-12 Thread Kenneth Holter
Thanks for your reply.

The "is_volatile" options is actually already set to "0". :/

I think it would be correct to sum up what I'm in need of like this:
Whenever there is a transition from one hard error state to another hard
error state, or when there has been a recovery from such an error, I'd like
a notification.

On 11/11/08, Marc Powell <[EMAIL PROTECTED]> wrote:
>
>
> On Nov 11, 2008, at 2:08 AM, Kenneth Holter wrote:
>
> > Hello.
> >
> >
> > I'm using Nagios 3.0.3 to monitor things such as time (synchronized
> > with NTP) on our servers, and are getting a lot of semi-duplicate
> > notification mails: As long as there is an error/warning, I get a
> > mail notification every time the clock drift increases or decreases.
> > Is there an option I can set to limit the notification to _one_ mail
> > whenever we enter or leave an error/warning state, and thus not for
> > every time a new drift time is calculated?
>
> Sounds like you need to remove the is_volatile option in your service
> definitions.
>
> http://nagios.sourceforge.net/docs/2_0/volatileservices.html
>
> --
> Marc
>
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> 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 /dev/null
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
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 /dev/null

Re: [Nagios-users] [FIXED] disabling checks of all service and host no longer works

2008-11-12 Thread Andreas Ericsson
Seth Simmons wrote:
> I applied the patch and it worked.
> I selected a host and told it to disable checks for all services and the
> host and this time it did it.
> 

Goodie. Thanks :)

> 
> -Original Message-
> From: Andreas Ericsson [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, November 11, 2008 5:08 AM
> To: Seth Simmons
> Cc: nagios-users@lists.sourceforge.net
> 
> 
> There's a fix available at http://www.op5.org/src/nagios-3.0.5p1.tar.gz
> 
> If that works for you, please make sure to report it here so Ethan knows
> it's safe to apply those patches to the official Nagios sources.
> 
> Thanks.
> 


-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
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 /dev/null