Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread Andy Shellam
David Dyer-Bennet wrote: > On Fri, December 5, 2008 13:26, Patrick Morris wrote: > > I have a bad history of failure to accomplish much of anything in at least > three runs at using SNMP to get data from various devices, so I tend to > shy away from the concept. It seems to be a horrendous lear

Re: [Nagios-users] nohup and check_nrpe and timeout

2008-12-05 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/12/08 01:36 PM, David Shapiro wrote: > > Okay, I tried to compile the setsid.c, but it wanted nls.h. I tried > to get nls.h, and it wanted types.h, etc etc. I searched around for > a version for Solaris, which is what I am using, but I had no

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread David Dyer-Bennet
On Fri, December 5, 2008 13:26, Patrick Morris wrote: > In addition to the remote-plugin-execution approachi via something like > NSCA or NRPE, you can probably use SNMP to pull what you're looking for > using the check_snmp plugin without having to install additional software > on your monitored

Re: [Nagios-users] problem with timeperiod configuration

2008-12-05 Thread Dan McManus
Nope, when I add a space, it gives me a config error: Error: Could not parse timerange #1 for day 1 of timeperiod (config file '/usr/local/nagios/etc/objects/timeperiods.cfg', starting on line 48) - Original Message From: Assaf Flatto <[EMAIL PROTECTED]> To: Nagios User list Sent: Thu

Re: [Nagios-users] command line parameters in service definitions

2008-12-05 Thread Alan McKay
> You'll need to post the check_iflocal command{} definition. That's > what determines how the command line is created. It should use the > $ARG1$, $ARG2$ and $ARG3$ macros in the appropriate places for the > substitution you're expecting. OK, I'm an idiot! I completely forgot about this intermed

Re: [Nagios-users] command line parameters in service definitions

2008-12-05 Thread David Dyer-Bennet
On Fri, December 5, 2008 14:11, Marc Powell wrote: > > On Dec 5, 2008, at 1:57 PM, Alan McKay wrote: > >> OK folks, I've been working on some of the suggested improvements for >> my check_iflocal plugin, and I cannot seem to get command line >> parameters going into the script from my service defi

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread David Dyer-Bennet
On Fri, December 5, 2008 14:08, Marc Powell wrote: > > On Dec 5, 2008, at 11:55 AM, David Dyer-Bennet wrote: > >> When I run it from the command line simply, I just get the output of >> the >> remote command (as if the plugin was just passing it through). I >> see that >> I could cause it to prod

Re: [Nagios-users] command line parameters in service definitions

2008-12-05 Thread Marc Powell
On Dec 5, 2008, at 1:57 PM, Alan McKay wrote: > OK folks, I've been working on some of the suggested improvements for > my check_iflocal plugin, and I cannot seem to get command line > parameters going into the script from my service definition. > > When I run the below from the BASH command line

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread Marc Powell
On Dec 5, 2008, at 11:55 AM, David Dyer-Bennet wrote: > When I run it from the command line simply, I just get the output of > the > remote command (as if the plugin was just passing it through). I > see that > I could cause it to produce errors based on how long it takes, but > nothing >

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread David Ford
This is branching off topic, but using ssh with keys is hardly a security hole. Please don't be throwing a bucket of red herrings into the crowd. You can configure sub processing for ssh in a similar function. AFAIK, the encryption and use of keys is far more hefty of a standards bar than using

[Nagios-users] command line parameters in service definitions

2008-12-05 Thread Alan McKay
OK folks, I've been working on some of the suggested improvements for my check_iflocal plugin, and I cannot seem to get command line parameters going into the script from my service definition. When I run the below from the BASH command line it works as I would expect. But as my service definiti

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread Patrick Morris
On Fri, 05 Dec 2008, David Dyer-Bennet wrote: > I'm running Nagios 2.10 (the Centos 5.2 packaged version). > > I want to do some small local checks on each of a bunch of real and > virtual servers, and I really don't want to have to set up Nagios (even a > minimal install) on each of them just to

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread Gary Every
I, for one, am against any use of check_by_ssh as it requires authorized keys, hence opening a security hole. All scripts can be executed thru snmp. Install it on your servers and use the exec directive to remotely execute the script. The output will return the last line and the exit code from the

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread Andy Shellam
David Dyer-Bennet wrote: > I'm running Nagios 2.10 (the Centos 5.2 packaged version). > > I want to do some small local checks on each of a bunch of real and > virtual servers, and I really don't want to have to set up Nagios (even a > minimal install) on each of them just to check uptime, load ave

Re: [Nagios-users] nohup and check_nrpe and timeout

2008-12-05 Thread David Shapiro
Okay, I tried to compile the setsid.c, but it wanted nls.h. I tried to get nls.h, and it wanted types.h, etc etc. I searched around for a version for Solaris, which is what I am using, but I had no luck. I ended up abandoning this idea and tried the check_by_ssh, and this worked fine, so I am

[Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread David Dyer-Bennet
I'm running Nagios 2.10 (the Centos 5.2 packaged version). I want to do some small local checks on each of a bunch of real and virtual servers, and I really don't want to have to set up Nagios (even a minimal install) on each of them just to check uptime, load average, and disk space. (Mostly I'm

Re: [Nagios-users] Starting nagios

2008-12-05 Thread Seth Simmons
http://www.nagios.org/faqs/viewfaq.php?faq_id=123 From: XYZ XYZ [mailto:[EMAIL PROTECTED] Sent: Friday, December 5, 2008 11:12 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Starting nagios Hi When i restart my old nagios it is showing 4 processes, when

[Nagios-users] Starting nagios

2008-12-05 Thread XYZ XYZ
Hi      When i restart my old nagios it is showing 4 processes, when i do grep looks like below   XXX   25902    1  2 Dec01 ?    00:30:22 /usr/local/nagios/bin/nagios -d  XXX   25903 25902  0 Dec01 ?    00:00:00 /usr/local/nagios/bin/nagios -d  XXX   25910 25903  0 Dec01

[Nagios-users] Starting nagios server

2008-12-05 Thread Vuppala
Hi      When i restart my old nagios it is showing 4 processes, when i do grep looks like below   XXX   25902    1  2 Dec01 ?    00:30:22 /usr/local/nagios/bin/nagios -d  XXX   25903 25902  0 Dec01 ?    00:00:00 /usr/local/nagios/bin/nagios -d  XXX   25910 25903  0 Dec

Re: [Nagios-users] nohup and check_nrpe and timeout

2008-12-05 Thread Thomas Guyot-Sionnest
On 05/12/08 08:37 AM, David Shapiro wrote: > Thank you Thomas, this looks like good info. I do not seem to have an > executable on Solaris called setsid though. It is listed as a c function. > Nrpe.cfg does in fact let you increase the timeout, but I was thinking that > will not help because

Re: [Nagios-users] nohup and check_nrpe and timeout

2008-12-05 Thread David Shapiro
Thank you Thomas, this looks like good info. I do not seem to have an executable on Solaris called setsid though. It is listed as a c function. Nrpe.cfg does in fact let you increase the timeout, but I was thinking that will not help because my program remains running in a loop. Re-iteration

Re: [Nagios-users] Too many alerts

2008-12-05 Thread Marouane HIMDI
This from Nagios doc notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this server is still down or unreachable. Unless you've changed the interva

Re: [Nagios-users] Too many alerts

2008-12-05 Thread Andreas Ericsson
Cherrington Stuart wrote: > Hi, > > > > (Spot the newbie time). > > > > I'm running Nagios 2.6 on Debian. The system works fine, but I'm getting > more flack from colleagues about the Amount of email they get. > Basically, if Nagios spots a problem/Warning/Critical, it emails out > until we

[Nagios-users] Too many alerts

2008-12-05 Thread Cherrington Stuart
Hi, (Spot the newbie time). I'm running Nagios 2.6 on Debian. The system works fine, but I'm getting more flack from colleagues about the Amount of email they get. Basically, if Nagios spots a problem/Warning/Critical, it emails out until we acknowledge the issue, is there a way to tailor N