Re: [Nagios-users] Check_jmx plugin problem

2010-04-13 Thread Natxo Asenjo
On Tue, Apr 13, 2010 at 8:39 AM, Emmanuel Chanteloup
manuchantel...@gmail.com wrote:
 The thing I do not understand is why I can run it directly with my nagios
 account :

 [nag...@myserver ~]$ /usr/local/nagios/libexec/check_jmx -U
 service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
 -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
 15
 JMX OK
 HeapMemoryUsage.used=593227424{committed=1036189696;init=1073741824;max=1036189696;used=593227424}

 and it doesn't work with NRPE, knowing that NRPE is using the nagios account
 !

 [nag...@myserver ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c
 check_jmx
 NRPE: Unable to read output

could you please post your nrpe.cfg (sanitize as needed) to make sure
there is not a typo in it? (I've had that many times myself, very
frustrating).

Another option worth exploring is
http://search.cpan.org/~roland/jmx4perl-0.65/scripts/check_jmx4perl.

Another thing: I am not sure how nrpe escapes the slashes (if at all)
in the uri in that check. Try adding more on slash in front of every
other slash. Just a wild shot, I know.

-- 
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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_jmx plugin problem

2010-04-13 Thread Natxo Asenjo
On Tue, Apr 13, 2010 at 9:34 AM, Emmanuel Chanteloup
manuchantel...@gmail.com wrote:
 command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U
 service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
 -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
 15

ok, try this:

command[check_jmx]=/usr/local/nagios/libexec/check_jmx -U
service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
 -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
 15

that is, with inverted commas. If it doesn't work, try escaping the
uris like this:

service:jmx:rmi:\/\/\/jndi/rmi:/\/\localhost:8999\/jmxrmi

You may also try the developers list, maybe they can help you further.
Hope this helps

-- 
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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_jmx plugin problem

2010-04-12 Thread Natxo Asenjo
On Mon, Apr 12, 2010 at 2:43 PM, Emmanuel Chanteloup
manuchantel...@gmail.com wrote:
 Hi,

 I am trying to use check_jmx but I can get through with my NRPE.

 - If I run directly the check_jmx in a line, it works :

 [nag...@myserver libexec]# /usr/local/nagios/libexec/check_jmx -U
 service:jmx:rmi:///jndi/rmi://localhost:8999/jmxrmi -O java.lang:type=Memory
 -A HeapMemoryUsage -K used -I HeapMemoryUsage -J used - -w 8 -c
 15

 JMX OK
 HeapMemoryUsage.used=407931824{committed=1013972992;init=1073741824;max=1013972992;used=407931824}

 - If I try with the NRPE, I always get the following message :

 [nag...@myserver libexec]# /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1
 -c check_jmx
 NRPE: Unable to read output

can you just check if nrpe is running and available? If I try this
from the nagios server:
./check_nrpe -H localhost
NRPE v2.12

so no -c switch, just the host. That means that the nrpe daemon is
listening and we may poll it.

you also need to define the command check_jmx somwhere in your client
nrpe.cfg configuration file. I do not know how you installed nrpe in
the machine you want to check, so I cannot guess where the file is. In
a debian server it is in /etc/nagios/nrpe.cfg provided you installed
the nagios-nrpe-server package from the debian repositories. If you
installed from source I have no idea where it is, but it should be
obvious from the documentation.

-- 
groeten,
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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_jmx plugin problem

2010-04-12 Thread Natxo Asenjo
On Mon, Apr 12, 2010 at 4:00 PM, Emmanuel Chanteloup
manuchantel...@gmail.com wrote:
 Hi,

 Yes of course it is :

 [r...@myserver libexec]# ./check_nrpe -H localhost
 NRPE v2.12

 I have a lot of other plugins running ok on this server (check_users,
 check_procs ...).

ok. Have you tried enabling the debug information on the client (iirc
debug=1 instead of 0), reload the nrpe daemon and see if you get more
info.

-- 
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] NSCA and Windows

2010-03-26 Thread Natxo Asenjo
On Fri, Mar 26, 2010 at 3:13 PM, Klein, Oliver okl...@nccms.de wrote:



 Hi Kevin,



 thx i think that is what we need. But I have some problems to get this 
 plugins work with nsclient. Any idea about this?

 This is the error massage in syslog on the nagios server



 Mar 26 15:04:41 nagios nagios: EXTERNAL COMMAND: 
 PROCESS_SERVICE_CHECK_RESULT;sonicwall2;C:\NSCLIENT++\scripts\check_cpu.exe;3;Command
  was not found:

 Mar 26 15:04:41 nagios nagios: Warning:  Passive check result was received 
 for service 'C:\NSCLIENT++\scripts\check_cpu.exe' on host 'sonicwall2', but 
 the service could not be found!

Actually, that is quite a good error message.

 So I define the following option in the nsc.ini



 [External Scripts]

 ;check_es_long=scripts\long.bat

 ;check_es_ok=scripts\ok.bat

 ;check_es_nok=scripts\nok.bat

 ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs

 ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe 
 -command -

 check_cpu=scripts\check_cpu.exe

What you have defined is the handler 'check_cpu' In this section
[External Scripts]. Those are for NRPE if I recall correctly although
I never used that section for NRPE, I use [NRPE Handlers] instead for
my custom commands.

 [NSCA Commands]

 ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4

 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page

 ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService

 ;host_check=check_ok

 C:\NSCLIENT++\scripts\check_cpu.exe

and here you have not defined anything, there is no LHS=RHS
combination. I suppose that what you meant is
check_cpu=scripts\check_cpu.exe. Restart the nsclientpp service and
try again.

-- 
groeten,
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] NSCA and Windows

2010-03-26 Thread Natxo Asenjo
hi,

now I realize that you are using nsca. I have never used that, so my
previous posting may not work at all. I misread your question, sorry.

--

groeten,
natxo

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Checking 64bit host from 32bit server

2010-01-22 Thread Natxo Asenjo
On Thu, Jan 21, 2010 at 3:39 PM, komodo kom...@uvt.cz wrote:
 Do you have same version of nrpe on both sides ?

 I had this problem too, and i need to upgrade nrpe on one machine.

I run routinely a somewhat old version of nrpe on debian stable
servers withouth any problem at all either. I use the debian package
on them. The nagios server is always up to date, its plugins also.

The OP should start looking at his/her logs on the nrpe server to see
what is going on.

-- 
natxo

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
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] Checking 64bit host from 32bit server

2010-01-21 Thread Natxo Asenjo
On Mon, Jan 18, 2010 at 10:53 AM, Mr Gabriel gabr...@impactteachers.com wrote:
 When I run

 --#  ./check_nrpe -H 64.bit.host

 I get back -- CHECK_NRPE: Error - Could not complete SSL handshake. When
 I do

 --# ./check_nrpe -H 64.bit.host -n

i check 64bits machine all the time from our virtual 32 bit nagios
installation and it just works.

natxo

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
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_openmanage block esmlog, check the rest of items

2010-01-13 Thread Natxo Asenjo
On Tue, Jan 12, 2010 at 3:13 PM, Trond Hasle Amundsen
t.h.amund...@usit.uio.no wrote:
 Natxo Asenjo natxo.ase...@gmail.com writes:

 C:\omreport storage controller
 List of Controllers in the system
 [...]
 Storport Driver Version                       : 5.2.3790.3959
 Minimum Required Storport Driver Version      : 5.2.3790.4173

 This is your problem: the storport driver is out of date. I have never
 seen this before, and I don't know what Storport is. The official Dell
 OMSA 6.2.0 documentation doesn't mention it at all as far as I can see.

ok. I will update those.

 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.55.1 = STRING: 5.2.3790.3959
 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.55.2 = STRING: 5.2.3790.3959
 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.56.1 = STRING: 5.2.3790.4173
 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.56.2 = STRING: 5.2.3790.4173

 Here are the same values obtained via SNMP. The downloadable MIBs from
 Dell does not contain these SNMP values, and the OMSA 6.2.0 SNMP guide
 doesn't mention them either. It is completely undocumented!

 Anyway, even though I don't know exactly what this Storport thing is,
 it is clearly some driver that is out of date. It is fairly simple to
 add support for this in check_openmanage, and I have uploaded a beta
 version here:

  http://folk.uio.no/trondham/tmp/

 This beta version will correctly report the storport driver being out of
 date, and I have added a new blacklist keyword 'ctrl_stdr' that disables
 these storport-driver-is-out-of-date messages.

great stuff! They work exactly as you say they should. Thanks!

 Please give the beta version a try (with and without the new
 blacklisting keyword) at your convenience, and let me know how the
 testing goes.

I will finally upgrade the storport drivers in the controllers, but
for the time being this blacklist option is very handy.

In an aside note, it is great to see this plugin so actively
maintained. Awesome.

Again, thank you.

Natxo

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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_openmanage block esmlog, check the rest of items

2010-01-12 Thread Natxo Asenjo
On Mon, Jan 11, 2010 at 3:25 PM, Trond Hasle Amundsen
t.h.amund...@usit.uio.no wrote:
 Is it possible to exclude the esm log from the check?

 Yes. You have implicitely included it with the '-a' option, which means
 check everything, including log content. Drop the '-a' option from the
 command and you should be fine.

but this will continue to check the chassis, will it not? i mean, I
still want to check the fans, memory etc.

 And a second question: the raid controller is 'degraded', but it only
 is an updated firmware version. I cannot blacklist it with the
 --blacklist ctrl_fw option:

 ./check_openmanage -H rdpaysist -C public -P 1 -a -b ctrl_fw=1
 Controller 1 [SAS 6/iR Integrated] needs attention: Degraded
 ESM log content: 4 critical, 0 non-critical, 1 ok

 Is upgrading the firmware the only option to get rid of this message?
 (that is not a problem, by the way, but if I can blacklist it ...)

 Hmm.. When the controller is in a degraded state, the plugin tries to
 figure out why. In this case it obviously doesn't work. I need some
 debugging info to get to the bottom of this. Can you email me directly
 with output from the following commands:

  * On the monitored server:
      omreport storage controller

C:\omreport storage controller
List of Controllers in the system

Controllers
ID: 0
Status: Ok
Name  : PERC 6/E Adapter
Slot ID   : PCI Slot 3
State : Ready
Firmware Version  : 6.2.0-0013
Minimum Required Firmware Version : Not Applicable
Driver Version: 2.24.00.64
Minimum Required Driver Version   : Not Applicable
Storport Driver Version   : 5.2.3790.3959
Minimum Required Storport Driver Version  : 5.2.3790.4173
Number of Connectors  : 2
Rebuild Rate  : 30%
BGI Rate  : 30%
Check Consistency Rate: 30%
Reconstruct Rate  : 30%
Alarm State   : Not Applicable
Cluster Mode  : Not Applicable
SCSI Initiator ID : Not Applicable
Cache Memory Size : 256 MB
Patrol Read Mode  : Auto
Patrol Read State : Stopped
Patrol Read Rate  : 30%
Patrol Read Iterations: 0
Abort check consistency on error  : Disabled
Allow Revertible Hot Spare and Replace Member : Enabled
Auto replace member on predictive failure : Disabled
Load balance  : Auto
Security Capable  : Not Applicable
Security Key Present  : Not Applicable
Redundant Path view   : Not Applicable

ID: 1
Status: Non-Critical
Name  : SAS 6/iR Integrated
Slot ID   : Embedded
State : Degraded
Firmware Version  : 00.25.47.00.06.22.03.00
Minimum Required Firmware Version : Not Applicable
Driver Version: 1.28.03.01
Minimum Required Driver Version   : Not Applicable
Storport Driver Version   : 5.2.3790.3959
Minimum Required Storport Driver Version  : 5.2.3790.4173
Number of Connectors  : 2
Rebuild Rate  : Not Applicable
BGI Rate  : Not Applicable
Check Consistency Rate: Not Applicable
Reconstruct Rate  : Not Applicable
Alarm State   : Not Applicable
Cluster Mode  : Not Applicable
SCSI Initiator ID : Not Applicable
Cache Memory Size : Not Applicable
Patrol Read Mode  : Not Applicable
Patrol Read State : Not Applicable
Patrol Read Rate  : Not Applicable
Patrol Read Iterations: Not Applicable
Abort check consistency on error  : Not Applicable
Allow Revertible Hot Spare and Replace Member : Not Applicable
Auto replace member on predictive failure : Not Applicable
Load balance  : Not Applicable
Security Capable  : Not Applicable
Security Key Present  : Not Applicable
Redundant Path view   : Not 

Re: [Nagios-users] check_openmanage block esmlog, check the rest of items

2010-01-12 Thread Natxo Asenjo
On Tue, Jan 12, 2010 at 8:57 AM, Natxo Asenjo natxo.ase...@gmail.com wrote:
 On Mon, Jan 11, 2010 at 3:25 PM, Trond Hasle Amundsen
 t.h.amund...@usit.uio.no wrote:
 Is it possible to exclude the esm log from the check?

 Yes. You have implicitely included it with the '-a' option, which means
 check everything, including log content. Drop the '-a' option from the
 command and you should be fine.

 but this will continue to check the chassis, will it not? i mean, I
 still want to check the fans, memory etc.

yes, it will, I just checked it. Sorry for the noise.

natxo

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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_openmanage block esmlog, check the rest of items

2010-01-11 Thread Natxo Asenjo
hi,

we have a brand new r710 and I have installed the openmanage software
on the server itself. On the nagios server I execute it and it works
fine (SNMP).

/check_openmanage -H HOST -C public -P 1 -a
Controller 1 [SAS 6/iR Integrated] needs attention: Degraded
ESM log content: 4 critical, 0 non-critical, 1 ok

Is it possible to exclude the esm log from the check?

And a second question: the raid controller is 'degraded', but it only
is an updated firmware version. I cannot blacklist it with the
--blacklist ctrl_fw option:

./check_openmanage -H rdpaysist -C public -P 1 -a -b ctrl_fw=1
Controller 1 [SAS 6/iR Integrated] needs attention: Degraded
ESM log content: 4 critical, 0 non-critical, 1 ok

Is upgrading the firmware the only option to get rid of this message?
(that is not a problem, by the way, but if I can blacklist it ...)

TIA
-- 
Groeten,
J.Asenjo

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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] Monitoring Wimdows machines

2009-12-22 Thread Natxo Asenjo
On Tue, Dec 22, 2009 at 4:08 PM, stan st...@panix.com wrote:
 We have a fair sized Nagios installation that currently only monitors UNIX
 machines, and we want to add some Windows clients, primarily XP. We started
 down the road using NSClient++ using the check_nt Nagios plugin, but
 haven't been able to communicate with any XP boxes.  The NSClient++ web
 page suggests using the NRPE method which has us wondering if the check_nt
 method even works.  Has anyone had success with either of these methods and
 if so which?  Perhaps there is another tool that someone can recommend.

nsclient++ works fine with xp. You need to check the ini file and
verifying you are using the correct ports on the xp machines and the
nagios server. Check the xp firewall as well, standard since sp 2 the
xp machines are firewalled (unless you have already disabled that).

-- 
natxo

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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] NRPE refused connect

2009-12-22 Thread Natxo Asenjo
did you restart the nrpe service/daemon on the client after modifying
the allowed hosts parameter?
-- 
Groeten,
J.Asenjo



On Wed, Dec 16, 2009 at 1:32 AM, shacky shack...@gmail.com wrote:
 Hi.

 I installed the check_nrpe plugin on the Nagios server and NRPE
 running as daemon on the host I have to monitor, both compiled with
 SSL support and the dh.h file created and saved in the include/
 directory on the NRPE host.

 [r...@monitored-host ~]# /opt/nrpe/bin/nrpe
 NRPE - Nagios Remote Plugin Executor
 Copyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org)
 Version: 2.12
 Last Modified: 03-10-2008
 License: GPL v2 with exemptions (-l for more info)
 SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required
 TCP Wrappers Available

 nagios-server:/# /usr/local/nagios/libexec/check_nrpe
 Incorrect command line arguments supplied
 NRPE Plugin for Nagios
 Copyright (c) 1999-2008 Ethan Galstad (nag...@nagios.org)
 Version: 2.12
 Last Modified: 03-10-2008
 License: GPL v2 with exemptions (-l for more info)
 SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required

 The IP address of the Nagios server is specified in the
 allowed_hosts declaration in the nrpe.cfg file:

 [r...@monitored-host ~]# grep allowed_hosts /opt/nrpe/etc/nrpe.cfg
 allowed_hosts=192.168.10.250

 The problem is that if I try to execute the check_nrpe command to test
 the NRPE daemon on the monitored host, I receive this error:

 nagios-server:/# /usr/local/nagios/libexec/check_nrpe -H 192.168.10.18
 CHECK_NRPE: Error - Could not complete SSL handshake.

 On the monitored host I see that the IP address of the Nagios server
 is allowed and then refused:

 [r...@monitored-host ~]# tail /var/log/messages
 Dec 16 01:24:27 monitored-host nrpe[25047]: INFO: SSL/TLS initialized.
 All network traffic will be encrypted.
 Dec 16 01:24:27 monitored-host nrpe[25048]: Starting up daemon
 Dec 16 01:24:27 monitored-host nrpe[25048]: Warning: Daemon is
 configured to accept command arguments from clients!
 Dec 16 01:24:27 monitored-host nrpe[25048]: Listening for connections
 on port 5666
 Dec 16 01:24:27 monitored-host nrpe[25048]: Allowing connections from:
 192.168.10.250
 Dec 16 01:27:01 monitored-host nrpe[25063]: refused connect from
 192.168.10.250 (192.168.10.250)

 What is the problem?
 It is not a firewall problem because the connection works, and it does
 not seems to be a SSL related problem because it does not work even if
 I try the check command disabling SSL with -n (and the NRPE daemon
 runned with -n also), and it is quite curious to have two opposite log
 messages.

 Could you help me please? I worked all the afternoon trying to let it
 work, but it does not work...

 Thank you very much!!
 Bye.

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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 monitor for VMware ESXi (free edition)

2009-12-21 Thread Natxo Asenjo
On Mon, Dec 21, 2009 at 4:15 PM, dOE doep...@gmail.com wrote:
 Could you post an example of how you compile this plugin?

Check the installation instructions on the link I posted.

natxo

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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 monitor for VMware ESXi (free edition)

2009-12-20 Thread Natxo Asenjo
On Sat, Dec 19, 2009 at 4:45 PM, dOE doep...@gmail.com wrote:
 I am hoping to monitor some hardware with the HP agents that are pre-built
 in the ESXi (free edition) build we are using.

we use http://labs.consol.de/lang/en/nagios/check_hpasm/ to check all
our proliant servers (regardless of operating system). It works very
fine, but you need to compile the plugin yourself.

natxo

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
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] Anyone testing Microsoft Volume Shadow Copy?

2009-12-14 Thread Natxo Asenjo
On Mon, Dec 14, 2009 at 8:17 PM, C. Bensend be...@bennyvision.com wrote:

   Looking at the vssadmin.exe command on the Windows server, I see
 I can:


 vssadmin List Shadows


   And it prints out a listing of the existing shadow copies.
 However, without awk and grep (and no, I cannot install cygwin or
 anything like that), I don't have a clue how to process it.

you'll have to parse the output of that command with the tools at
hand: vbscript or powershell, even and oldfashined bat file. Write
your own plugin, it is not that hard. Once you have the script, you
have it executed by nrpe (nsclient++ has an nrpe client).

-- 
natxo

--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
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] Monitoring Active Directory

2009-11-02 Thread Natxo Asenjo
On Mon, Nov 2, 2009 at 5:56 PM, C. Bensend be...@bennyvision.com wrote:


 Hey folks,

   I just started a new job, and my immediate task is to build a
 new Nagios system for them.  I love my new job...  :)

 :-)


   They would like to monitor Active Directory OUs, so that Nagios
 alerts if any of a certain group of OUs are moved/renamed/deleted.
 Apparently, this happens every so often due to the number of
 admins that need rights to the AD structure.

   So.  I checked on the exchange site and did some googling, but
 have not found any community plugins that will allow me to specify
 an OU and alert if it's not present.


I do not think there is something like that, but it is not difficult to make
your own. Use dsquery to see if an ou, user or group exists, write your own
plugin and execute it with nrpe. You can use your favorite scripting
language for this.

-- 
natxo asenjo
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] CONFIG ERROR! Reload aborted. Check your Nagios configuration.

2009-10-31 Thread Natxo Asenjo
hi,

have you done this:

http://nagios.sourceforge.net/docs/3_0/verifyconfig.html

it usually tells you where the error are in your configuration.
-- 
Groeten,
J.Asenjo
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] file or directory not found

2009-10-22 Thread Natxo Asenjo
On Thu, Oct 22, 2009 at 4:07 PM, Alex Huth a.h...@tmr.net wrote:

 Hi!

 I have a maybe little stupid problem. To watch a new host i have copy the
 binaries into /usr/local/nagios/libexec/. Now put the new host into a group
 of
 hosts with the same checks and ready! Not really ... i am getting a error:

 Remote command execution failed: bash:
 /usr/local/nagios/libexec/check_disk:
 Datei oder Verzeichnis nicht gefunden


do  ls -l /usr/local/nagios/libexec/check_disk and check the permissions



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] nsclienti++ : Failed to peek buffer: 109: The pipe has been ended.

2009-10-09 Thread Natxo Asenjo
I think you will be much better helped at the nsclient++ forum than here.
This is the nagios forum ;-)

-- 
Groeten,
J.Asenjo


On Fri, Oct 9, 2009 at 8:22 AM, Marco Borsani m.bors...@it.net wrote:

  Hi .



 Often I read this error in the nsc.ini.

 In the web (http://nsclient.org/nscp/discussion/message/872)  I found a
 procedure to modify a checkbox in the nsclientpp service (Allow service to
 interact with desktop)  but it did not fix the problem.



 Any idea ?

 Regards



 Marco




 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 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

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] R: R: R: nsclient++ and nrpe commands

2009-10-06 Thread Natxo Asenjo
hi,

could you post your nsc.ini and bat files, please?

sanitize as necessary (do not post passwords ;-) )
-- 
Groeten,
J.Asenjo


On Tue, Oct 6, 2009 at 8:28 AM, Marco Borsani m.bors...@it.net wrote:

  Hi



 I setted the full path (C:\program files\) in this way, tha batch did
 not work at all .



 I try also to put an �...@exit 0” at the end of ths script, notting changed.



 Any other ideas ?



 Marco



 *Da:* Natxo Asenjo [mailto:natxo.ase...@gmail.com]
 *Inviato:* lunedì 5 ottobre 2009 18.38
 *A:* Nagios Users Mailinglist
 *Oggetto:* Re: [Nagios-users] R: R: nsclient++ and nrpe commands



 On Mon, Oct 5, 2009 at 3:23 PM, Marco Borsani m.bors...@it.net wrote:

 Excuse me , I did not wrote the real error message I am receiving.



 I run from nagios server:

 ./check_nrpe -H ip address -c disk0

 And receive this:

 'check_openmanage.exe' is not recognized as an internal or external
 command, operable program or batch file.

 ok, so the bat file disk0 is being executed. Try setting the full path to
 check_openmanage.exe in the bat file because apparently it is not in the
 path of your windows session.


  The nsc.ini file there are all the parameters you suggested me and the
 command “disk0” is defined:

 disk0=scripts\Disk0.bat

 If you run Disk0.bat in MSdos shell, it works correctly.

 Is has only one raw (@check_openmanage.exe -v | find Physical Disk 0:0)



 In the nsclientlog we read:

 2009-10-05 15:22:09: error:modules\NRPEListener\NRPEListener.cpp:263: The
 command (disk0) returned an invalid return code: 255


 you need to return valid error levels that nagios understand: 0 is 0k, 1 is
 warning, 2 is critical and 3 is unknown. Otherwise nagios does not know what
 to do with them.




 I always restart nsclientpp when I modified the NSC.ini file.

  good, just checking ;-)

 natxo



--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] Windows SNMP service crashing during Nagios monitoring

2009-10-06 Thread Natxo Asenjo
On Tue, Oct 6, 2009 at 5:57 AM, Morris, Patrick patrick.mor...@hp.comwrote:



 The SNMP service on Windows sucks.  Hard.


I have no problems at all monitoring our windows. servers through SNMP.
Could you ellaborate a bit further this statement?

We have a mix of hp and fujitsu hardware and monitoring the hardware with
snmp just works under windows as under linux or esx.

Maybe we are just lucky :)

natxo
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] R: nsclient++ and nrpe commands

2009-10-05 Thread Natxo Asenjo
-- 
Groeten,
J.Asenjo


On Mon, Oct 5, 2009 at 12:23 PM, Marco Borsani m.bors...@it.net wrote:

  I upgrade to nsclient++ 0.3.6.4 but I always receive:



 UNKNOWN: No handler for that command


if you read my last message you see the answer to that error ...

ps: after any modification to the nsc.ini file, I assume you restart the
nsclientpp service, obviously.

Marco


natxo
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] R: R: nsclient++ and nrpe commands

2009-10-05 Thread Natxo Asenjo
On Mon, Oct 5, 2009 at 3:23 PM, Marco Borsani m.bors...@it.net wrote:

  Excuse me , I did not wrote the real error message I am receiving.



 I run from nagios server:

 ./check_nrpe -H ip address -c disk0

 And receive this:

 'check_openmanage.exe' is not recognized as an internal or external
 command, operable program or batch file.

ok, so the bat file disk0 is being executed. Try setting the full path to
check_openmanage.exe in the bat file because apparently it is not in the
path of your windows session.


 The nsc.ini file there are all the parameters you suggested me and the
 command “disk0” is defined:

 disk0=scripts\Disk0.bat

 If you run Disk0.bat in MSdos shell, it works correctly.

 Is has only one raw (@check_openmanage.exe -v | find Physical Disk 0:0)



 In the nsclientlog we read:

 2009-10-05 15:22:09: error:modules\NRPEListener\NRPEListener.cpp:263: The
 command (disk0) returned an invalid return code: 255


you need to return valid error levels that nagios understand: 0 is 0k, 1 is
warning, 2 is critical and 3 is unknown. Otherwise nagios does not know what
to do with them.



 I always restart nsclientpp when I modified the NSC.ini file.

 good, just checking ;-)

natxo
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] nsclient++ and nrpe commands

2009-10-03 Thread Natxo Asenjo
On Fri, Oct 2, 2009 at 4:58 PM, Marco Borsani m.bors...@it.net wrote:

 Hi all

 I use nsclient++ with standard commands via check_nt, all is ok.

 Now I need to run some commands/plug-in (like checl_openmanage.exe), but I
 don't find the correct sintax.

 Right now I prepare a command inside NSC.ini file like these:
 command[nsc_openmanage]=c:\nagios\check_openmanage.exe
 nsc_open=scripts\check_openmanage.exe -v

 When I try to call it from nagios server with: ./check_nrpe -H IPADDRESS -c
 nsc_openmanage
 I receive following error: CHECK_NRPE: Socket timeout after 10 seconds.


a socket timeout means it could not connect the nrpe port.

If you try this

nag...@nagios:/usr/local/nagios/libexec$ ./check_nrpe -H winxp01
I (0.3.2.9 2008-05-17) seem to be doing fine...

so without any commands to be run, it just checks whether the nrpe service
is ok.

If you try a not defined command in nsc.ini, like this:
nag...@nagios:/usr/local/nagios/libexec$ ./check_nrpe -H winxp01 -c test
UNKNOWN: No handler for that command

there is no 'test' command defined, so it gives me an UNKNOWN.

in your nsc.ini check that the NRPEListener.dll is enabled, the [NRPE]
section should look (at least) like this;

[NRPE]

port=5666

command_timeout=60

allow_arguments=1

socket_timeout=30

and your [NRPE Handlers] section should contain your allowed checks (here
only services and disks):

nrpe_CheckService=inject checkServiceState CheckAll exclude=SysmonLog

nrpe_CheckDriveSize=inject CheckDriveSize MinWarn=10% MinCrit=5% CheckAll
FilterType=FIXED FilterType=REMOTE


your nagios server must be allowed to query the nrpe server (check firewall
and allowed_hosts settings in nsc.ini)




 NSClient++ works correctly with :
 check_nt -H IPADDRESS -v 
 check_nrpe -H IPADDRESS -c CheckCPU -a warn=80 crit=90 time=20m time=10s
 time=4

 My versions are:
 Nsclient++ = 0.2.7 2007-03-06
 Check_nrpe = 2.7.1

 May you show me any NSC.ini files ?


your nsclient++ is quite old, you should try a newer one. For quesions about
nsclient++ the proper forum is the one at nsclient.org
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] NRPE question

2009-10-03 Thread Natxo Asenjo
you could use check_ssh, I suppose, but nrpe is way better
-- 
Groeten,
J.Asenjo


On Wed, Sep 30, 2009 at 4:36 PM, akp geek akpg...@gmail.com wrote:

 Hi -

 I have installed nagios on one solaris server(Server1). I would
 like to , if I need to check/monitor an other Server ( Server2 ) from
 Server1. Do I need to have the NRPE running on the server2?  or is there any
 other means that I can monitor server2 from server1 using Nagios


 Regards



 --
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
 http://p.sf.net/sfu/devconf
 ___
 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

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf___
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] Quick and easy way to monitor Nagios itself?

2009-09-07 Thread Natxo Asenjo
On Fri, Sep 4, 2009 at 8:50 PM, Jonathan Call jc...@verio.net wrote:

 Since I have a large Nagios distributed system the possibility of a
 Nagios process going AWOL on one of my many servers is a serious
 concern. Has anyone come up with a sure way to confirm (i.e. a cron job)
 that Nagios is processing checks properly?


I am using monit ( http://mmonit.com/monit/ ) to monitor the nagios process
and restart it if it dies. To verify that it is running its checks properly
than you should be checking its log files.

Another option is to use a configuration management tool like cfengine and
ensure that a process is running from the policy host.

-- 
Natxo
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] nsclient++ check_nt USEDDISKSPACE Segmentation fault

2009-09-04 Thread Natxo Asenjo
On Thu, Sep 3, 2009 at 5:53 PM, Massimo Balestra 
massimobales...@hotmail.com wrote:



 Hi



 Thank you for the answer.



 I don’t think the problem is the windows update. I think that there is a
 problem that showed up only after the windows update.


prove it :-) roll the update back and see if it works.

Otherwise, you will have to run nsclient++ in debugging mode and see what
you get. You will get the best support at the nsclient++ forum.

I do not see why you would want to use check_nt instead of check_nrpe, but
that's your decision to take.

Natxo
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] nsclient++ check_nt USEDDISKSPACE Segmentation fault

2009-09-03 Thread Natxo Asenjo
On Mon, Aug 31, 2009 at 5:48 PM, Massimo Balestra 
massimobales...@hotmail.com wrote:

  I have a problem monitoring the USEDDISKSPACE on one drive of one of the
 windows servers.



 It is a Windows Server  2003 R2 Standard edition (Service pack 2).

 The problem occurs after I did the last Windows Update last Friday. Before
 it was working.


your update broke it :(

well, two solutions:

1. roll update back;
2. check disks with nrpe in windows:

in your nsc.ini define an nrpe handler like this one:

nrpe_CheckDriveSize=inject CheckDriveSize MinWarn=10% MinCrit=5% CheckAll
FilterType=FIXED FilterType=REMOTE

and your check disk service in nagios would be something like:

check_nrpe -H $HOSTADDRESS$ -c nrpe_CheckDriveSize

it works great like this. We check *all* disks in one go.

natxo
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] SNMP configuration

2009-07-28 Thread Natxo Asenjo
On Tue, Jul 28, 2009 at 3:04 PM, Dayo Adewunmicontactd...@gmail.com wrote:
 Hi

 according to my switch's manual, these are the SNMP Group Access Levels
 available.
 http://paste.ubuntu.com/235182/

I have no idea what they are talking about. From the nagios server,
run these command:

# snmpwalk -v 1 -c public ip.of.the.swtch

If you get no reaction, then the community is not good. Go read
something on snmp before you consider monitoring anything through
snmp.

If you get something like 'command not found', then you need to
install the snmp clients. In debian and derivatives as ubuntu it is
usually the snmp package.

Natxo

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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 compatible RSS

2009-07-27 Thread Natxo Asenjo
On Sun, Jul 26, 2009 at 8:18 PM, Joseph L.
Casalejcas...@activenetwerx.com wrote:
 Anyone using one, or got a reco for this?

hi,

I followed these instructions recently and it works quite fine, I must
say: http://altinity.blogs.com/dotorg/2006/07/lessons_in_rss.html

--
natxo

--
___
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_snmp

2009-07-14 Thread Natxo Asenjo
hi,

http://nagiosplugins.org/man/check_snmp

quote

This plugin uses the 'snmpget' command included with the NET-SNMP package.
if you don't have the package installed, you will need to download it from
http://net-snmp.sourceforge.net before you can use this plugin.

/quote

The Net-SNMP package is in debian 'snmp', just install that package
and recomplie the plugins.

-- 
Groeten,
J.Asenjo

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
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] Checking URL on windows-client using NSClient++

2009-06-30 Thread Natxo Asenjo
hi,

if you use internet explorer you could check if that process is
running. You can do it in a number of ways, either with check_nt or
with nrpe with a custom batch file with commands like tasklist, for
instance.
-- 
Groeten,
J.Asenjo

--
___
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] How to monitor Windows Scheduled Tasks?

2009-06-30 Thread Natxo Asenjo
hi,

ok, but I do not have any time to support the script, it is supplied
'as is' without license or obligations on my part. I will not answer
any questions about why it is not working for you (in case it does not
work for you).


#!perl
use strict;
use warnings;
use diagnostics;

# first run schtasks /query /fo /list /v and dump everything to a file
open (JOBS, schtasks /query /fo list /v |) or die couldn't exec
schtasks: $!\n;

# Counters
my $count = 0;
my @count = ();

# parse file, if string Last Result is not 0 (success), croak
while (JOBS) {
if (/^Last Result:\s+(.*)$/) {
# count how many jobs there are, we'll use this later
$count++;

# By type
$count[$1]++;
}
}

close JOBS;

if ($count[1]) {
warn WARNING: problem with $count[1] scheduled jobs\n;
exit 1;
}

if ($count[0] == $count) {
warn OK: all scheduled tasks have run fine\n;
exit 0;
}
else {
# if there is something wrong, give unkonw and errolevel 3
warn UNKONWN: something else went wrong\n;
exit 3;
}

__END__
-- 
Groeten,
J.Asenjo

--
___
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] How to monitor Windows Scheduled Tasks?

2009-06-29 Thread Natxo Asenjo
hi,

at work I have written a very simple perl script that parses the
output of the windows command schtasks /query. I let it execute thru
nrpe in the windows servers (win2k3 std) that have scheduled jobs.

It is a very simple script and it works for us. It requires a perl
installation in the windows servers, but if one can install .Net, why
not perl ? :-)

-- 
Groeten,
J.Asenjo

--
___
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] Problem in Preflight Check with commands.cfg

2009-06-24 Thread Natxo Asenjo
On Fri, Jun 19, 2009 at 10:52 PM, Kaplan, Andrew
H.ahkap...@partners.org wrote:

 /usr/sbin/nagios3 -v /etc/nagios3/nagios.cfg
 Nagios 3.0.6
 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
 Last Modified: 12-01-2008
 License: GPL
 Reading configuration data...
 Warning: Duplicate definition found for command 'check_dns' (config file
 '/etc/nagios3/conf.d/commands.cfg', starting on line 90)
 Error: Could not add object property in file 
 '/etc/nagios3/conf.d/commands.cfg'
 on line 91.

I would start grepping in /etc/nagios3 for check_dns (you can grep
recursively and ignoring case sensitivity with the options -ri ).

something like this, then:

# cd /etc/nagios3
# grep -ri check_dns *

See what you get, somewhere you have a duplicate command in your configuration.

Natxo

--
___
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] NSClient not providing results

2009-04-11 Thread Natxo Asenjo
On Thu, Apr 9, 2009 at 6:15 AM, Murali Krishnan S
muralikrishna...@gmail.com wrote:
 Hi,

   When I set NSClient++ to start automatically in services, its running but
 not providing the results. All I'm getting is

 could not fetch information from server .

 Even when I run the check_nt plugin manually also, I'm getting the same
 result.

 [r...@nagios libexec]# /usr/local/nagios/libexec/check_nt -H 192.168.0.119
 -p 12489 -v MEMUSE  -w 80 -c 90
 could not fetch information from server

can you telnet to the windows box port 12489? If you cannot, then it
is firewalled or you have not configured nsc.ini correctly

-- 
Natxo Asenjo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] monitor primergy servers with esx

2009-04-08 Thread Natxo Asenjo
 = INTEGER: 0
FSC-RAID-MIB::svrPhysicalDeviceChannel.1.3.0.3 = INTEGER: 3
FSC-RAID-MIB::svrPhysicalDeviceTarget.1.0.0.0 = INTEGER: 0
FSC-RAID-MIB::svrPhysicalDeviceTarget.1.3.0.3 = INTEGER: 0
FSC-RAID-MIB::svrPhysicalDeviceLUN.1.0.0.0 = INTEGER: 0
FSC-RAID-MIB::svrPhysicalDeviceLUN.1.3.0.3 = INTEGER: 3
FSC-RAID-MIB::svrPhysicalDeviceModelName.1.0.0.0 = STRING: MAX3073RC
FSC-RAID-MIB::svrPhysicalDeviceModelName.1.3.0.3 = STRING: ST373455SS
FSC-RAID-MIB::svrPhysicalDeviceVendorName.1.0.0.0 = STRING: FUJITSU
FSC-RAID-MIB::svrPhysicalDeviceVendorName.1.3.0.3 = STRING: SEAGATE
FSC-RAID-MIB::svrPhysicalDeviceCapacity.1.0.0.0 = INTEGER: 68
FSC-RAID-MIB::svrPhysicalDeviceCapacity.1.3.0.3 = INTEGER: 68
FSC-RAID-MIB::svrPhysicalDeviceMaxTransferRate.1.0.0.0 = INTEGER: 300
FSC-RAID-MIB::svrPhysicalDeviceMaxTransferRate.1.3.0.3 = INTEGER: 300
FSC-RAID-MIB::svrPhysicalDeviceType.1.0.0.0 = INTEGER: disk(2)
FSC-RAID-MIB::svrPhysicalDeviceType.1.3.0.3 = INTEGER: disk(2)
FSC-RAID-MIB::svrPhysicalDeviceConfiguredDisk.1.0.0.0 = INTEGER: false(1)
FSC-RAID-MIB::svrPhysicalDeviceConfiguredDisk.1.3.0.3 = INTEGER: false(1)
FSC-RAID-MIB::svrPhysicalDeviceInterface.1.0.0.0 = INTEGER: sas(6)
FSC-RAID-MIB::svrPhysicalDeviceInterface.1.3.0.3 = INTEGER: sas(6)
FSC-RAID-MIB::svrPhysicalDeviceErrors.1.0.0.0 = Wrong Type (should be
Counter32): INTEGER: 0
FSC-RAID-MIB::svrPhysicalDeviceErrors.1.3.0.3 = Wrong Type (should be
Counter32): INTEGER: 0
FSC-RAID-MIB::svrPhysicalDeviceNrBadBlocks.1.0.0.0 = Wrong Type
(should be Counter32): INTEGER: 0
FSC-RAID-MIB::svrPhysicalDeviceNrBadBlocks.1.3.0.3 = Wrong Type
(should be Counter32): INTEGER: 0
FSC-RAID-MIB::svrPhysicalDeviceSmartStatus.1.0.0.0 = INTEGER:
smartNotAvailable(3)
FSC-RAID-MIB::svrPhysicalDeviceSmartStatus.1.3.0.3 = INTEGER:
smartNotAvailable(3)
FSC-RAID-MIB::svrPhysicalDeviceStatus.1.0.0.0 = INTEGER: rebuilding(6)
FSC-RAID-MIB::svrPhysicalDeviceStatus.1.3.0.3 = INTEGER: online(3)
FSC-RAID-MIB::svrPhysicalDeviceFirmwareRevision.1.0.0.0 = STRING: 5205
FSC-RAID-MIB::svrPhysicalDeviceFirmwareRevision.1.3.0.3 = STRING: 1652
FSC-RAID-MIB::svrPhysicalDeviceSerialNumber.1.0.0.0 = STRING: dqd7p7201...@#21
FSC-RAID-MIB::svrPhysicalDeviceSerialNumber.1.3.0.3 = STRING: 3LQ22A92
FSC-RAID-MIB::svrPhysicalDeviceForeignConfig.1.0.0.0 = INTEGER: false(1)
FSC-RAID-MIB::svrPhysicalDeviceForeignConfig.1.3.0.3 = INTEGER: false(1)
FSC-RAID-MIB::svrPhysicalDeviceIdx.1.0.0.0 = INTEGER: 12
FSC-RAID-MIB::svrPhysicalDeviceIdx.1.3.0.3 = INTEGER: 11

the svrPhysicalDeviceStatus of one disk is 'online', the other is 'rebuilding',

With this info I will try to write a plugin to monitor the fujitsu
raid stuff with snmp. It works with esx and windows 2k3, I see for
now. I suppose it will also work with linux.

-- 
Natxo Asenjo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] monitor primergy servers with esx

2009-04-07 Thread Natxo Asenjo
hi,

I have some fujitsu-siemens primergy rx-300 s3 that I monitor with the
check_fsc.pl and snmp. This works fine.

I have installed the serverviewraid manager tool from fujitusu siemens
so that I can monitor if the disks are ok. This works.

But, here comes the question: how do I monitor the health of the array
controller if I cannot install nagios-nrpe in the boxes? installing
nrpe is not supported by vmware, so the option is pretty closed.

I monitor citrix servers with the same tool, amcli and a batch script
through nrpe.

Has anyone gotten to monitor it through snmp? Would you care to show how? ;)

-- 
Groeten,
J.Asenjo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] monitor primergy servers with esx

2009-04-07 Thread Natxo Asenjo
On Tue, Apr 7, 2009 at 5:01 PM, Giorgio Zarrelli gior...@zarrelli.org wrote:

 Hi,

[knip]

 To collect a value, for bandwidth, let's say, I use such a string:

I do not mean to be rude, thanks for your input.

What I need is monitoring the health of the disk array. Is it possible
to do that with snmp
as it is with the the command amcli --list?

TIA,

Natxo Asenjo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] monitor primergy servers with esx

2009-04-07 Thread Natxo Asenjo
On Tue, Apr 7, 2009 at 7:58 PM, Giorgio Zarrelli gior...@zarrelli.org wrote:
 Hi,

 as I told you, all depends on the richness of the MIB. Find the MIB for your
 server and send it to me. With that in my hands I will be able to tell you if
 you can do that.

Hi Giorgio,

thanks again for your input. I have found a RAID.mib (unfortunately,
it is not in the esx rpm package, but in the windows package). I have
copied it to the net-snmp collection of mibs and am reviewing it. If
you will like to have it I will send it off list (it's a bit big to
send to everyone on the list).

I am going through it and it looks promising.

.iso.org.dod.internet.private.enterprises.sni.sniProductMibs.fscRAIDMIB.svrObjects.svrStatus.svrStatusLogicalDrives.0
= ok

.iso.org.dod.internet.private.enterprises.sni.sniProductMibs.fscRAIDMIB.svrObjects.svrStatus.svrStatusPhysicalDevices.0
= ok

Tomorroy I will try removing some disks from the server and check if
those result change as well when the disks are not there.

As soon as I get a working script to check the health of the disks I
will post it for review in nagiosexchange (I can code some Perl, but
am no Perl expert, just a sysadmin trying to control a crazy
environment).

Natxo Asenjo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] monitor primergy servers with esx

2009-04-07 Thread Natxo Asenjo
On Tue, Apr 7, 2009 at 9:11 PM, Albrecht Dreß albrecht.dr...@arcor.de wrote:

 What exactly is your 'disk array'?  A SAN?  I have a script for nagios 3
 which checks the sensors (temperature, voltages, etc.) via SNMPv1 on a fsc
 FibreCat SX san and a Brocade fibre switch.  I don't know, though, how I can
 check the disk health this way.

this is just the system installation of the esx servers. It's a raid 1
sas array. I need to know when the disks go south because the whole
datacenter is moving to a cybercenter where we longer can rely on the
typical visual checks when changing the tapes.

 I think I will upload that script to nagiosexchange, if you think you could
 use it...

please, do upload it. I have (at this point) no use for it, but I am
sure someone else will. Nagios is great because of all the plugins.

-- 
Natxo

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
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] Deleted init.d script

2009-03-29 Thread Natxo Asenjo
On Sun, Mar 29, 2009 at 1:05 AM, Harry Rickards hricka...@l33tmyst.com wrote:

 Thanks, I copied the daemon-init script to /etc/init.d/nagios, and t
 works great. Am I right in thinking that to make Nagios start at
 system bootup, I have to create a link to /etc/init.d/nagios in
 /etc/rcS.d, and then enable nagios for my default runlevel with
 sysv-rc-conf, or just linking in the appropriate directory?

debian uses update-rc.d to create the symlinks in /etc/rc*.d/; if you
cd to /etc/init.d and as root run

# update-rc.d nagios defaults [enter]

it should do what you want; maybe the symlinks already exist (you said
you deleted the init script, but if you didn't run update-rc.d to
remove the symlinks, they should be there (in theory); just check with
ls -l /etc/rc*.d/*nagios if you see broken links there.

-- 
groeten,
Natxo Asenjo

--
___
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] Deleted init.d script

2009-03-28 Thread Natxo Asenjo
If you have the sources of your insallation you could copy the file
daemon-init (at least, this is what I understand from the Makefile of
the originial sources at my installation):

install-init: install-daemoninit

install-daemoninit:
$(INSTALL) -m 755 -d $(INIT_OPTS) $(DESTDIR)$(INIT_DIR)
$(INSTALL) -m 755 $(INIT_OPTS) daemon-init $(DESTDIR)$(INIT_DIR)/nagios

@echo 
@echo *** Init script installed ***
@echo 

If you have installed a debian package, you could download the source
(deb-src) or the original debk file of nagios. The init script should
also be in there.

-- 
Groeten,
J.Asenjo



On Sat, Mar 28, 2009 at 12:45 PM, Harry Rickards hricka...@l33tmyst.com wrote:

 On my Debian Lenny Virtual Private Server with Nagios 3.06 installed,
 I seem to have accidentally deleted both the init script (in
 /etc/init.d) and the RC script (in /etc/RCS.d). I'm now forced to
 manually start and stop nagios, by running

 '/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg'

 to start nagios, and killing it's process to stop it. Is there a way
 to regenerate the init script without reinstalling nagios, or could
 some-one upload theirs?

 Thanks
 Harry Rickards

 --

 O ascii ribbon campaign - stop html mail - www.asciiribbon.org


 --
 ___
 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 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_ftp

2009-03-09 Thread Natxo Asenjo
hi,

did you check the nagiosexchange? www.nagiosexchange.org. I just saw
the plugin you were looking for.
-- 
Groeten,
J.Asenjo

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
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] Verfiy time between WinXp system and a ntp-server

2008-12-03 Thread Natxo Asenjo
On Wed, Dec 3, 2008 at 12:38 PM, Ralf Prengel [EMAIL PROTECTED] wrote:
 Hallo,

 to check the time on a linux-system is no problem and working perfect.
 Now I m searching a way to verify the system-time of a XP machine using
 using a ntp-server.
 nrpe and wmi are working on the XP-System.
 Has anyone a hint for me how to solve this problem?

you may want to look at w32tm /monitor /computers:name.of.nt.server
and write your own nrpe check around it.

-
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=100url=/
___
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] Verfiy time between WinXp system and a ntp-server

2008-12-03 Thread Natxo Asenjo
 you may want to look at w32tm /monitor /computers:name.of.nt.server

 ^^

funny typo: it should say ntp, of course

-
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=100url=/
___
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_nrpe missing

2008-06-25 Thread Natxo Asenjo
hi,

I followed the instructions on the guide to install nagios 3.03 and
the nagios-plugins-1.4.12. The operating system is debian stable, but
as I say, the nagios installation is manual from the official nagios
sources.

I do
# tar xzf nagios-plugins-1.4.12.tar.gz
# cd nagios-plugins-1.4.12

Compile and install the plugins.

# ./configure --with-nagios-user=nagios --with-nagios-group=nagios
# make
# make install

and when I cd to /usr/local/nagios/libexec I have a lot of plugins,
but no check_nrpe. What am I doing wrong?
-- 
Groeten,
J.Asenjo

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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 service for Windows?

2008-03-04 Thread Natxo Asenjo
On Tue, Mar 4, 2008 at 11:02 PM, Scott R. Ehrlich [EMAIL PROTECTED] wrote:
 Has the Nagios central service been ported to Windows?   I know the
  central monitoring system is available for the Redhat and Debian worlds,
  but does it exist for Windows?  I have a Windows XP machine I may want to
  use as the NOC.

http://nagios.sourceforge.net/docs/3_0/about.html#whatis

quote
System Requirements

The only requirement of running Nagios is a machine running Linux (or
UNIX variant) and a C compiler. You will probably also want to have
TCP/IP configured, as most service checks will be performed over the
network.

/quote


-- 
Groeten,
J.Asenjo

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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