NS_Client and event logs

Paul Bourgeau psbourgeau at mpccorp.com
Tue Feb 22 22:38:35 CET 2005


I am running RH8, Nagios 1.2 and NSClient 2.01.  I am trying to get
event log (system, app, etc) information with check_nt and I am coming
up short.  Is there something else I can use to get to the logs?

 
 
Thank You,
Paul Bourgeau
 
Ph: 262-523-3300 x60279
Fx: 208-898-2371
psbourgeau at mpccorp.com
 
 
 
 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ryan
Langseth
Sent: Tuesday, February 22, 2005 3:16 PM
To: Henrique Oliveira
Cc: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Check disk space NS_Client

If you do use nrpe_nt, and have some decent scripting language available

on the server, the size of a directory can be found using "dir /S 
c:\path\to\directory\", and some parsing since it will also print the 
size of each file within the directory, recursively. But the end result 
will be useful:

     Total Files Listed:
            1188 File(s)  2,844,230,018 bytes
             500 Dir(s)   2,968,420,352 bytes free

I may be possible to create a bat file to do it also, but I have no clue

how.

Henrique Oliveira wrote:

> Andreas Ericsson wrote:
>
>> Phil Costelloe wrote:
>>
>>> Henrique Oliveira wrote:
>>>
>>>
>>>> I'm running Nagios 1.2 with Nagmin (DB support) with no problems.
>>>>
>>>> We have a webserver running multiple sites and we need to know is a
>>>> given site (folder) has reached a certain amount of disk usage.
>>>>
>>>> Is it possible to monitor directories in a hard-drive, opposed to
>>>> only checking the whole hard-drive?
>>>
>>>
>>>
>>> NSClient uses the standard Windows performance counters and I'm
pretty
>>> certain those don't give you information at the directory level,
just
>>> at the physical and logical disk level. One way to do it would be
with
>>> a custom nrpe_nt script.
>>>
>>
>> He. Funny. I was assuming this was on Unix, but come to think of it, 
>> the OS was never mentioned. I assume we work in different networks.
;)
>
>
> Well, the disk space I'd like to monitor is on a W2K and running 
> NS_Client.
>
> Of course the monitoring server is a Linux...


--
Ryan Langseth
UND Aerospace Systems Team
langseth at aero.und.edu




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

Disclaimer: 22/2/2005

MPC Computers is providing the following information in compliance with federal regulations:
 
MPC Computers, LLC
906 E. Karcher Road
Nampa, Idaho 83687
1-888-224-4247
http://www.mpccorp.com

To discontinue receiving e-mail communications from MPC in the future, please go to: 
http://www.mpccorp.com/email/manage.html and follow the instructions.





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list