Re: [Nagios-users] Nagios kept from restarting after reboot by lock file

2010-12-20 Thread Andreas Ericsson
On 12/21/2010 01:54 AM, eric.b...@barclayscapital.com wrote: > If you had any idea how difficult it is just to do the most basic > system administration tasks in the environment within which we're > working, you'd be shaking your head in empathetic embarassment. > Filling out tickets and -- get thi

Re: [Nagios-users] Nagios kept from restarting after reboot by lockfile

2010-12-20 Thread Andreas Ericsson
On 12/21/2010 01:58 AM, eric.b...@barclayscapital.com wrote: > We reboot all of our hosts on a weekly basis. I used to price myself in > keeping my boxes up as long as possible, but having spent years now > supporting mission-critical financial production applications, I'm on board > with the w

Re: [Nagios-users] Nagios kept from restarting after reboot by lock file

2010-12-20 Thread Mike Lindsey
On 12/20/10 8:16 AM, eric.b...@barclayscapital.com wrote: > Alternatively, could you recommend a good system/resource monitoring tool > that would be able to let me know if nagios is down and restart it > automatically? > Add a cronjob on a five (or whatever you're comfortable with) minute inter

Re: [Nagios-users] check_snmp

2010-12-20 Thread Jones, Stuart
Hello Jorge, Here is an example of my Nagios - Cisco switch port status - monitor entry, see if it helps you: define service{ use generic-service host_name Site-1 rtr Lo0 interface - r01c37 service_description

Re: [Nagios-users] Nagios kept from restarting after reboot by lockfile

2010-12-20 Thread eric.berg
We reboot all of our hosts on a weekly basis. I used to price myself in keeping my boxes up as long as possible, but having spent years now supporting mission-critical financial production applications, I'm on board with the weekly reboots. Lets you know early if some system or app change is

Re: [Nagios-users] Nagios kept from restarting after reboot by lock file

2010-12-20 Thread eric.berg
If you had any idea how difficult it is just to do the most basic system administration tasks in the environment within which we're working, you'd be shaking your head in empathetic embarassment. Filling out tickets and -- get this: our company has an official state for our tickets referred to

Re: [Nagios-users] Email Notifications

2010-12-20 Thread Li, Andrew1
On Tue, 2010-12-21 at 01:07, Pascal Miquet wrote: > Hi, > > I've installed Nagios 3 on a Debian box, and it seem that for some > notification, I've got the user name rather than the Email address of > the user attached to the notification. You maybe missing the linkage between the contact in your

Re: [Nagios-users] NSCA and host checks

2010-12-20 Thread stan
On Mon, Dec 20, 2010 at 03:54:45PM +0100, Andreas Ericsson wrote: > On 12/20/2010 03:45 PM, stan wrote: > > I am working on geting a small distributed system up. I have the serviec > > checks going back to the master, but have not managed to get host checks > > passed back to the master yet. > > >

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread Ray Kiddy
On Dec 20, 2010, at 10:48 AM, mark bradley wrote: > There's always strace(1) if you want to dive into the details ... > > Mark Ah. Unfortunately, I am not Mac OS X and not Linux. On Dec 20, 2010, at 10:28 AM, Mike Chesnut wrote: >> Of course, one cannot tell what command is _actually_ being e

[Nagios-users] AUTO: Chan, Brian is out of the office. (returning 01/04/2011)

2010-12-20 Thread Brian Chan
I am out of the office until 01/04/2011. I will respond to your message when I return. Note: This is an automated response to your message "Nagios-users Digest, Vol 55, Issue 16" sent on 12/20/2010 13:18:34. This is the only notification you will receive while this person is away. -

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread mark bradley
There's always strace(1) if you want to dive into the details ... Mark On Mon, Dec 20, 2010 at 1:18 PM, Ray Kiddy wrote: > > On Dec 20, 2010, at 9:36 AM, Polifemo, Salvatore wrote: > > Yes, run the actual command from the command line as Steve demonstrated. > > Make sure which command is being

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread Mike Chesnut
> Of course, one cannot tell what command is _actually_ being executed or > which command _was_ actually executed. I pointed this out in a previous > post (below). Apparently there are no workarounds for this. If I understand what you're asking about, I've used this to achieve it in the past: ht

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread mark bradley
Ah, thanks for the clarification, Steve. And now I've found the problem, too. I'll document here so that others may learn from my goofiness. So, running the check by hand: /usr/lib/nagios/plugins/check_by_ssh -q -H db1.xxx.com -i /etc/nagios/nagios_private/id_rsa -l cacti -n lh -s c1 -C '/usr/lib/

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread Ray Kiddy
On Dec 20, 2010, at 9:36 AM, Polifemo, Salvatore wrote: > Yes, run the actual command from the command line as Steve demonstrated. > > Make sure which command is being used, and if you run the command with no > parameters it will display the correct usage. > > Salvatore Polifemo > Sr. System

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread Daniel Wittenberg
Also you probably want to make sure you run the command as the nagios user, or whatever the user is that the service runs as, to make sure you are getting the right environment and permissions. Dan From: Polifemo, Salvatore [mailto:polife...@conedsolutions.com] Sent: Monday, December 20, 2

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread Polifemo, Salvatore
Yes, run the actual command from the command line as Steve demonstrated. Make sure which command is being used, and if you run the command with no parameters it will display the correct usage. Salvatore Polifemo Sr. Systems Security Specialist ConEdison Solutions 100 Summit Lake Drive V

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread steve f
Mark, I think Salvatore means run the check manually from the command line , make sure you run it as the nagios user and try setting tha warning & critical values to something that will make it fail also: /usr/local/nagios/libexec > ./check_disk -w 50 -c 70 -p /home DISK OK - free space: /home

Re: [Nagios-users] Nagios kept from restarting after reboot by lock file

2010-12-20 Thread Joseph L. Casale
>Alternatively, could you recommend a good system/resource monitoring tool that >would be able to let me know if nagios is down and restart it automatically? That's kind of funny... Why are you compiling nagios on a package based distro with existing and current _properly_ built packages? Look

Re: [Nagios-users] Nagios kept from restarting after reboot by lockfile

2010-12-20 Thread Daniel Wittenberg
Couple questions 1) Why do you have to reboot your monitoring server weekly? 2) How is the reboot being done? Reason I ask 2) is because the standard rc script will remove the lockfile when nagios is told to stop. So if you are having this problem is sounds like you are not doing a clean shutdow

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread mark bradley
Hi Salvatore, They're all Unix (Redhat) servers. By check command do you mean nagios -v? I've done that and I do not get an errors. Thanks, Mark On Mon, Dec 20, 2010 at 11:35 AM, Polifemo, Salvatore < polife...@conedsolutions.com> wrote: > Are these Windows or *nix server? > > > > Either wau r

Re: [Nagios-users] Nagios kept from restarting after reboot by lock file

2010-12-20 Thread eric.berg
Alternatively, could you recommend a good system/resource monitoring tool that would be able to let me know if nagios is down and restart it automatically? _ From: Berg, Eric: IT (NYK) Sent: Monday, December 20, 2010 11:03 AM To: 'nagios-users@l

Re: [Nagios-users] tracing nagios actions

2010-12-20 Thread Polifemo, Salvatore
Are these Windows or *nix server? Either wau run the check command manually from a console and see what the results are. Salvatore Polifemo Sr. Systems Security Specialist ConEdison Solutions 100 Summit Lake Drive Valhalla, NY 10595 From: mark bradley [mailto:gopearl...@gmail.

[Nagios-users] Nagios kept from restarting after reboot by lock file

2010-12-20 Thread eric.berg
Gee, this seems like an annoying newbie problem, but if Nagios crashes or is killed (as on system reboot), it leaves a lock file around that prevents it from starting again until the lock file is manually removed. I see this on Monday mornings after weekend reboots on a Red Hat Linux box: nagio

[Nagios-users] tracing nagios actions

2010-12-20 Thread mark bradley
Hi, I have a small-ish number of servers and I've tried to configure Nagios to warn me about disk-space running low. The problem is that, although disk space is above both warning and critical levels I'm not getting any notifications. The nagios.log file is silent on the topic and nagios -v does

Re: [Nagios-users] NSCA and host checks

2010-12-20 Thread Andreas Ericsson
On 12/20/2010 03:45 PM, stan wrote: > I am working on geting a small distributed system up. I have the serviec > checks going back to the master, but have not managed to get host checks > passed back to the master yet. > > With help from the list I found: > > obsess_over_hosts and set it to 1. It

[Nagios-users] NSCA and host checks

2010-12-20 Thread stan
I am working on geting a small distributed system up. I have the serviec checks going back to the master, but have not managed to get host checks passed back to the master yet. With help from the list I found: obsess_over_hosts and set it to 1. It appears that I also need an ochp command. I trie

[Nagios-users] Email Notifications

2010-12-20 Thread Pascal Miquet
Hi, I've installed Nagios 3 on a Debian box, and it seem that for some notification, I've got the user name rather than the Email address of the user attached to the notification. Did you've got some informations ? Thanks for your Help Pascal --

Re: [Nagios-users] exchange.nagios.org down?

2010-12-20 Thread Matt Simmons
Must have been my bad luck. It seems to be up now. Disregard complaining. Acquire plugins. --Matt On Sun, Dec 19, 2010 at 8:31 PM, Matt Simmons wrote: > I'm having issues getting to the exchange, and according to the > all-knowing, all-seeing powers that be > (http://www.downforeveryoneorjustme