Re: [Nagios-users] testing from nagios server itself

2009-07-29 Thread Thomas Kinghorn - MWEB
>Where did you get this plugin? It doesn't appear to live at any of the >common plugin repositories. > >This seems reasonable, provided servername is a FQDN and is the same >as what you tested above. > >> >> However, when nagios runs, it returns >> >> SIP CRITICAL: SIP failure ("...") > >Does it re

Re: [Nagios-users] MIB additions

2009-07-29 Thread Max
On Wed, Jul 29, 2009 at 10:34 PM, Richard Remington wrote: > Michael, > > A common place for MIB libraries on Linux boxen is /usr/share/snmp/ > mibs. As Nagios uses the common SNMP utilities, putting a MIB in this > directory should work, it does for me. If Net-SNMP is configured for this :). You

Re: [Nagios-users] MIB additions

2009-07-29 Thread Richard Remington
Michael, A common place for MIB libraries on Linux boxen is /usr/share/snmp/ mibs. As Nagios uses the common SNMP utilities, putting a MIB in this directory should work, it does for me. If you aren't using Linux or don't find that directory, you might want to do a find for files under /usr o

Re: [Nagios-users] NSClient++ WMI Counters Check Commands ??

2009-07-29 Thread Kevin Keane
I would actually use performance counters (via NSClient++ and check_nt or my Windows port, check_nt_win) rather than WMI, simply because it already exists. WMI really just provides you with a wrapper around performance counters anyway. You can very easily find out ALL counters that are availabl

Re: [Nagios-users] MIB additions

2009-07-29 Thread Kevin Keane
Strictly speaking, you don't need any of the MIBs at all. MIBs just translate the cryptic numeric OIDs into a more human-readable form. As a side effect, a MIB also gives you a good idea of which OIDs a particular device will understand. In a way, you can think of the MIBs as the SNMP equivalen

Re: [Nagios-users] nrpe won't connect - contradictory messages in log - SOLVED (partly)

2009-07-29 Thread Whit Blauvelt
Thanks Tarak! That gets it working. In this case, using the name as assigned to the IP in /etc/hosts (simply "system2") does the job, where giving the IP did not. That might not even count as "fully qualified." Since this is just an IP of an interface on a crossover cable, there was never reason t

[Nagios-users] NSClient++ WMI Counters Check Commands ??

2009-07-29 Thread Mirza Dedic
Hello, I am very inexperienced with using NSClient++ to query WMI Counters, but I want to tap into the resource as it has much information... Does anyone have WMI Counter Check CMDs for any of the following: SQL Server 2005 ISA 2003 OS Communicator Blackberry BES This would be greatly appre

Re: [Nagios-users] Is a null username possible with check_http

2009-07-29 Thread Jim McNamara
On Wed, 2009-07-29 at 15:45 -0500, Marc Powell wrote: > On Jul 29, 2009, at 2:09 PM, Jim McNamara wrote: > > > Thanks for that help. Unfortunately it leads to some unusual > > results. Both authenticating from firefox on a windows host and on > > the CLI from the linux server show the same cr

Re: [Nagios-users] Check result from check_mssql.pl returns "null" from nagios, but OK from shell ??

2009-07-29 Thread Mirza Dedic
Getting close here :) Can't locate utils.pm in @INC (@INC contains: /opt/plugins /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/local/nagios/libexec/check_mssql line 35. BE

Re: [Nagios-users] Check result from check_mssql.pl returns "null" from nagios, but OK from shell ??

2009-07-29 Thread Marc Powell
On Jul 29, 2009, at 4:33 PM, Mirza Dedic wrote: > The check_mssql.pl is from the op5 dev team as per the start of the > file: > > # License: GPL > # Copyright (c) 2005-2008 op5 AB > # Author: op5 dev team > # > # For direct contact with any of the op5 developers send a mail to > # d...@op5.com

Re: [Nagios-users] Check result from check_mssql.pl returns "null" from nagios, but OK from shell ??

2009-07-29 Thread Mirza Dedic
The check_mssql.pl is from the op5 dev team as per the start of the file: # License: GPL # Copyright (c) 2005-2008 op5 AB # Author: op5 dev team # # For direct contact with any of the op5 developers send a mail to # d...@op5.com # Discussions are directed to the mailing list op5-us...@op5.com, #

Re: [Nagios-users] Check result from check_mssql.pl returns "null" from nagios, but OK from shell ??

2009-07-29 Thread Marc Powell
On Jul 29, 2009, at 3:48 PM, Mirza Dedic wrote: > I am trying to use the check plug-in: > > Check_mssql.pl Which check_mssql.pl? > If I run it from the shell, using ./check_mssql.pl using my > parameters, everything works OK and the DBs report Online. As the nagios user? > > When I run this

Re: [Nagios-users] Check result from check_mssql.pl returns "null" from nagios, but OK from shell ??

2009-07-29 Thread Marc Powell
Sorry, also include your test+output, your host{}, service{} and the command{} definitions. -- Marc On Jul 29, 2009, at 4:04 PM, Marc Powell wrote: > > On Jul 29, 2009, at 3:48 PM, Mirza Dedic wrote: > >> I am trying to use the check plug-in: >> >> Check_mssql.pl > > Which check_mssql.pl? > >>

[Nagios-users] Check result from check_mssql.pl returns "null" from nagios, but OK from shell ??

2009-07-29 Thread Mirza Dedic
I am trying to use the check plug-in: Check_mssql.pl If I run it from the shell, using ./check_mssql.pl using my parameters, everything works OK and the DBs report Online. When I run this in Nagios, it reports "null" for all of my checks using check_mssql.pl I checked my nagios.cfg an

Re: [Nagios-users] Is a null username possible with check_http

2009-07-29 Thread Marc Powell
On Jul 29, 2009, at 2:09 PM, Jim McNamara wrote: > Thanks for that help. Unfortunately it leads to some unusual > results. Both authenticating from firefox on a windows host and on > the CLI from the linux server show the same credentials being > passed, as shown here: > > (Windows) > User-

Re: [Nagios-users] MIB additions

2009-07-29 Thread Marc Powell
On Jul 29, 2009, at 2:05 PM, SYS ADMIN wrote: > I keep running across MIB lists that imply they can be loaded into > SNMP > monitoring softwares directly. Yes. > Is there provision to do this in Nagios? No. Nagios doesn't know or care about MIB's. check_snmp just passes whatever string you

Re: [Nagios-users] nrpe won't connect - contradictory messages in log

2009-07-29 Thread Whit Blauvelt
On Wed, Jul 29, 2009 at 05:24:07PM +0200, André PELLÉ wrote: > Have you tryed to disable the ssl on the client side? > If not, try and see what kind of message you get. Good idea André. I hadn't known the client might require being started with SSL switched off. It produces the same result thoug

Re: [Nagios-users] nrpe won't connect - contradictory messages in log

2009-07-29 Thread Whit Blauvelt
Dear Richard, Curious. In the present case both systems had NRPE compiled on the same day with the same flags from the same tar. But one of the systems - the client in this case - does have an older, inactive installation of Nagios on it. Looking at NRPE's config log, it doesn't look like NRPE pic

Re: [Nagios-users] Is a null username possible with check_http

2009-07-29 Thread Jim McNamara
On Wed, 2009-07-29 at 12:59 -0500, Marc Powell wrote: > On Jul 29, 2009, at 11:46 AM, Jim McNamara wrote: > > > I posted this question to the nagiosplugins-help list last Wednesday > > but received no answers. I hope I receive some insight from this list! > > > > ---

[Nagios-users] MIB additions

2009-07-29 Thread SYS ADMIN
I keep running across MIB lists that imply they can be loaded into SNMP monitoring softwares directly. Is there provision to do this in Nagios? I have some hardware devices that I would like to monitor, and can get these lists, but don't know how to get them into a form where Nagios/SNMP can determ

Re: [Nagios-users] Is a null username possible with check_http

2009-07-29 Thread Marc Powell
On Jul 29, 2009, at 11:46 AM, Jim McNamara wrote: > I posted this question to the nagiosplugins-help list last Wednesday > but received no answers. I hope I receive some insight from this list! > > --- > > I

Re: [Nagios-users] nrpe won't connect - contradictory messages in log

2009-07-29 Thread Richard Remington
Dear Whit, I have actually seen this contradictory error in the log before but in my case I was in a new location installing new versions of NRPE (along with Nagios 3.0.6) and while the existing NRPE on the host claimed to be the same version as the one I was using on the Nagios host, there was

[Nagios-users] Nagios Macros

2009-07-29 Thread Livio Zanol Puppim
Hello guys! I couldn't find any macros for "notifications enabled" and "host parent". Am I right or I 've just not seen it around? Is there another way to get this parameters "on-line" (without quering the database)? How can I submit a request to nagios developers to add this macros at a future

[Nagios-users] Is a null username possible with check_http

2009-07-29 Thread Jim McNamara
I posted this question to the nagiosplugins-help list last Wednesday but received no answers. I hope I receive some insight from this list! --- I'm running nagios 3.0.6 with plugins 1.4.13 both compiled from s

Re: [Nagios-users] testing from nagios server itself

2009-07-29 Thread Marc Powell
On Jul 29, 2009, at 1:25 AM, Thomas Kinghorn - MWEB wrote: > Good morning list > > I would like to run a check_sipsak check from the nagios-server to > the a sip server. Where did you get this plugin? It doesn't appear to live at any of the common plugin repositories. > # ./check_sipsak –H

Re: [Nagios-users] Antwort: Re: nrpe won't connect - contradictory messages in log

2009-07-29 Thread Whit Blauvelt
Thanks Sascha, That's certainly one that could go in Richard's wiki page somewhere. Not sure which error it would match with. It's not the cause in my case. There is just one instance running, and it's timestamped when I last started it, from the command line (not an init file). Whit On Wed, J

Re: [Nagios-users] nrpe won't connect - contradictory messages in log

2009-07-29 Thread André PELLÉ
Le mardi 28 juillet 2009 19:57:25, Whit Blauvelt a écrit : > Hi, > > This is with nrpe-2.12, built from tar: > > On the remote host: > > daemon.log:Jul 28 13:22:42 system2 nrpe[7460]: Starting up daemon > daemon.log:Jul 28 13:22:42 system2 nrpe[7460]: Listening for connections on > port 5666 daemon

[Nagios-users] Antwort: Re: nrpe won't connect - contradictory messages in log

2009-07-29 Thread Sascha . Runschke
> 6) libwrap refused connection to nrpe Check for errors in /var/log/ > syslog by greping for xinetd. >- N/A, it's stand-alone nrpe > --- > > So, in the interests of making Richard's document complete, anyone > have other suggestions? Did you check if you have multiple/old nrpe instances ru

Re: [Nagios-users] nrpe won't connect - contradictory messages in log

2009-07-29 Thread Whit Blauvelt
Dear Richard, Thanks for maintaining that. Think I've found a new way to have it go wrong: --- CHECK_NRPE: Error - Could not complete SSL handshake This error message could be due to several problems: 1) Different versions. - No, same, compiled from the same source, on identical machines w

Re: [Nagios-users] testing from nagios server itself

2009-07-29 Thread Assaf Flatto
Try changing the service from # 'check_sipsak' command definition define command{ command_name check_sipsak command_line $USER1$/check_sipsak -H $ARG1$ -u $ARG2$ } to be # 'check_sipsak' command definition define command{ command_name check_sipsak command_line $USER1$/check_sipsak -

Re: [Nagios-users] testing from nagios server itself

2009-07-29 Thread Thomas Kinghorn - MWEB
>-Original Message- >From: Johannes Dagemark [mailto:j...@op5.com] >Sent: Wednesday, July 29, 2009 9:04 AM >> check_command check_sipsak!/servername/!/username/ >> } >> However, when nagios runs, it returns >> SIP CRITICAL: SIP failure ("...") >> Any kicks in the right direction would be ap

Re: [Nagios-users] testing from nagios server itself

2009-07-29 Thread Johannes Dagemark
Thomas Kinghorn - MWEB wrote: > Good morning list > I would like to run a check_sipsak check from the nagios-server to the > a sip server. > Running the command from cli, without arguments, gives > ./check_sipsak > /ERROR: Sorry, but a hostname or full URI must be given./ > /check_sipsak -H host [