Re: [Nagios-users] Monitor Directory (Folders) Size with NSClient++

2012-03-07 Thread Randal, Phil
GetFileSize works for me using backslashes and not forward slashes. Try using "\" or "\\" instead of "/" in the path. e.g. d:\\Network Shares\\individual\\*.* This might be a bug in NSClient++ and/or its documentation. Cheers, Phil -- Phil Randal Infrastructure Engineer Hoople Ltd | Thorn Off

Re: [Nagios-users] Script to import Ip's into basic hosts.cfg?

2012-03-07 Thread Tom H
On 07/03/12 17:15, Jason J. W. Williams wrote: > We're using Chef to do this. +1 -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses

[Nagios-users] Monitor Directory (Folders) Size with NSClient++

2012-03-07 Thread Jorge Pañeda
Hello all, I’m using NSClient++ 0.3.9, nsca and passive checks to monitor my Windows server behind a firewall. In one of this servers I have a folder that inside have many other folders and files, I want to monitor this folder and let Nagios send me a warning or critical notification when th

Re: [Nagios-users] Script to import Ip's into basic hosts.cfg?

2012-03-07 Thread davor grgicevic
On 3/7/2012 5:36 PM, James Pratt wrote: > Hi, does anyone know of/have a perl/shell/python script that can take a list > of ip addresses from a text file and auto-build a basic hosts.cfg file from > it? > > Thanks, I searched the exchange, but couldn't find anything that would do > this without

Re: [Nagios-users] Script to import Ip's into basic hosts.cfg?

2012-03-07 Thread Jason J. W. Williams
We're using Chef to do this. -J Sent via iPhone Is your email Premiere? On Mar 7, 2012, at 9:36, James Pratt wrote: > Hi, does anyone know of/have a perl/shell/python script that can take a list > of ip addresses from a text file and auto-build a basic hosts.cfg file from > it? > > Thanks

[Nagios-users] Script to import Ip's into basic hosts.cfg?

2012-03-07 Thread James Pratt
Hi, does anyone know of/have a perl/shell/python script that can take a list of ip addresses from a text file and auto-build a basic hosts.cfg file from it? Thanks, I searched the exchange, but couldn't find anything that would do this without a lot of fuss... Regards, Jamie