[Nagios-users] How to monitor a windows file using Nagios

2009-09-28 Thread Selvakumar A
Hi, I would like to know How to monitor a windows file using nagios. I would like to monitor whether the file is opened or closed,and its size etc.I checked with check_nt plugin but I got the result what I did not expect.The output shows the files age as 478years for all files. So anybody

Re: [Nagios-users] Different notifications times for same service on different hosts?

2009-09-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/09/09 12:33 PM, Glyn Astill wrote: > --- On Mon, 28/9/09, Mark Gius wrote: > >> notification_period inherited from the host only applies if >> you have NO >> notification_period defined. Do you have some master >> service template >> that de

[Nagios-users] Passing encrypted passwords along with a check_http command

2009-09-28 Thread Yungwei Chen
Hi, I'm using nagios 3.2 and wondering if passing encrypted passwords along with a check_http command below is supported by Nagios. Thanks. $USER1$/check_http -w 2 -c 5 -I $ARG1$ -u /nagios/cgi-bin/status.cgi?host=all -S -a usrname: -s $ARG2$

Re: [Nagios-users] Monitor Postfix Mail Queue

2009-09-28 Thread Marc Powell
On Sep 28, 2009, at 4:46 PM, Scott Miller wrote: > I'm trying to get Nagios to monitor a local Postfix Mail Queue, with > no > luck. The service keeps reporting OK: Postfix mailq has 0 messages > queued, > when I know for a fact there are messages in the queue. I'm wanting > to use > Nagi

Re: [Nagios-users] Help with event handler

2009-09-28 Thread Sean Carolan
On Mon, Sep 28, 2009 at 3:47 PM, Sean Carolan wrote: > I have an event handler script that sends a formatted email.  It works > fine from the command line, however it's not working when Nagios > attempts to activate it.  Here are some details, names have been > changed to protect the innocent: I

[Nagios-users] Help with event handler

2009-09-28 Thread Sean Carolan
I have an event handler script that sends a formatted email. It works fine from the command line, however it's not working when Nagios attempts to activate it. Here are some details, names have been changed to protect the innocent: Service Definition: define service{ use url-service

[Nagios-users] Monitor Postfix Mail Queue

2009-09-28 Thread Scott Miller
I'm trying to get Nagios to monitor a local Postfix Mail Queue, with no luck. The service keeps reporting OK: Postfix mailq has 0 messages queued, when I know for a fact there are messages in the queue. I'm wanting to use Nagios on this local machine to monitor the queue, and alarm/notify when it

Re: [Nagios-users] Notifications during network outage

2009-09-28 Thread John Andrunas
After reading that, I realize that I had misinterpeted the u flag, thanks I suspect that will help. 2009/9/28 Mathieu Gagné : > On 9/28/09 1:00 PM, John Andrunas wrote: >> I have a couple of remote sites, and when the link between the main >> site and remote site goes down a LOT of notifications a

Re: [Nagios-users] Notifications during network outage

2009-09-28 Thread Mathieu Gagné
On 9/28/09 1:00 PM, John Andrunas wrote: > I have a couple of remote sites, and when the link between the main > site and remote site goes down a LOT of notifications are generated > for hosts in the remote site. I have all the parents set correctly > and it is easy to decipher what is going on wh

Re: [Nagios-users] Notifications during network outage

2009-09-28 Thread Menard, Chris
Can you create a check on the 'link between the main site and remote site' and use that as a parent for all of the remote hosts? -Original Message- From: John Andrunas [mailto:j...@andrunas.net] Sent: Monday, September 28, 2009 1:00 PM To: Nagios Users Mail-list Subject: [Nagios-users] N

Re: [Nagios-users] Notifications during network outage

2009-09-28 Thread Martin Melin
Sure it is. The official documentation has a great section on this, which ends with: "By default, Nagios will notify contacts about both DOWN and UNREACHABLE host states. As an admin/tech, you might not want to get notifications about hosts that are UNREACHABLE. You know your network structure, an

[Nagios-users] Notifications during network outage

2009-09-28 Thread John Andrunas
I have a couple of remote sites, and when the link between the main site and remote site goes down a LOT of notifications are generated for hosts in the remote site. I have all the parents set correctly and it is easy to decipher what is going on when you look at the overview, but the mass of emai

Re: [Nagios-users] Different notifications times for same service on different hosts?

2009-09-28 Thread Glyn Astill
--- On Mon, 28/9/09, Mark Gius wrote: > notification_period inherited from the host only applies if > you have NO > notification_period defined.  Do you have some master > service template > that defines a default notification_period for services (I > know we do). > > You could use a custom v

Re: [Nagios-users] Different notifications times for same service on different hosts?

2009-09-28 Thread Mark Gius
Glyn Astill wrote: > --- On Mon, 28/9/09, Thomas Guyot-Sionnest wrote: > > >> My understanding is that you can define custom variables in >> the host >> definitions and use them in the service definition. This is >> very useful >> to define per-host thresholds for example. >> >> I doubt the mac

Re: [Nagios-users] Different notifications times for same service on different hosts?

2009-09-28 Thread Glyn Astill
--- On Mon, 28/9/09, Thomas Guyot-Sionnest wrote: > My understanding is that you can define custom variables in > the host > definitions and use them in the service definition. This is > very useful > to define per-host thresholds for example. > > I doubt the macros will be expanded for the ti

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/09/09 08:09 AM, nadia kheffache wrote: > I have successfuly installaled the plugins after install libraryc++-devel. Was that the fix for the plugin compilation? Is so I might add that to the FAQ on nagiosplugins.org. It would be very nice if yo

Re: [Nagios-users] Different notifications times for same service on different hosts?

2009-09-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/09/09 08:10 AM, Jim Avery wrote: > 2009/9/28 Glyn Astill : >> Hi Chaps, >> >> I've got a nagios server that constantly performs various checks on database >> servers. I have one set of services that serve as the checks for all of the >> databa

Re: [Nagios-users] Different notifications times for same service on different hosts?

2009-09-28 Thread Glyn Astill
--- On Mon, 28/9/09, Jim Avery wrote: > > Now I want 24x7 notifications from this service for > svr-a, svr-b and svr-c but I don not want notifications from > svr-restore in the early hours (whilst it is restoring the > database) > > > > Does anyone know how to do this? Or an I going to have > to

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread nadia kheffache
I have successfuly installaled the plugins after install libraryc++-devel. thank you for your help Nadia --- En date de : Lun 28.9.09, nadia kheffache a écrit : > De: nadia kheffache > Objet: Re: [Nagios-users] plugin for AIX6 > À: "Jim Avery" , nagios-users@lists.sourceforge.net > Date: L

Re: [Nagios-users] Different notifications times for same service on different hosts?

2009-09-28 Thread Jim Avery
2009/9/28 Glyn Astill : > Hi Chaps, > > I've got a nagios server that constantly performs various checks on database > servers.  I have one set of services that serve as the checks for all of the > database servers since they are all identical. > > What I want to do is prevent the checks running

[Nagios-users] Different notifications times for same service on different hosts?

2009-09-28 Thread Glyn Astill
Hi Chaps, I've got a nagios server that constantly performs various checks on database servers. I have one set of services that serve as the checks for all of the database servers since they are all identical. What I want to do is prevent the checks running against just one of the servers dur

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread nadia kheffache
thank you jim, but i wont to use only these plugins with by SNMP check_centreon_snmp_traffic check_centreon_snmp_packetErrors and these by SNMP: check_procs check_time check_swap check_load Nadia --- En date de : Lun 28.9.09, Jim Avery a écrit : > De: Jim Avery > Objet: Re: [Nagios-users]

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/09/09 07:01 AM, nadia kheffache wrote: > sorry, it 's exact, i have try with plugin 1.12 and 1.14, and i have the same > error, > > But how can i use LDFLAGS=" -lm " with ./configure? can you give me the > syntaxe exactly please? > like this:

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread Jim Avery
> i wont to monitor a server AIX > with nagios, but i have a probleme to complil them. Can you give me please > the binaire plugin for AIX if any one have already compliled them?? Kyle O'Donnell kindly compiled nsca, nrpe and plugins for AIX 6.1 recently and made them available on monitoring ex

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread nadia kheffache
sorry, it 's exact, i have try with plugin 1.12 and 1.14, and i have the same error, But how can i use LDFLAGS=" -lm " with ./configure? can you give me the syntaxe exactly please? like this: ./configure LDFLAGS=" -lm " ?? thank you Nadia --- En date de : Lun 28.9.09, Thomas Guyot-Sionnes

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/09/09 06:35 AM, nadia kheffache wrote: > Thank you for your answer Thomas, > > this is my error after "make" > > gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. > -I.. -I../lib -I../gl -I../intl -I/usr/include

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread nadia kheffache
Thank you for your answer Thomas, this is my error after "make" gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include-DNP_VERSION='"1.4.14"' -g -O2 -MT check_ntp.o -MD -MP -MF .deps/check_ntp.Tpo -c -o check_ntp.o check

Re: [Nagios-users] plugin for AIX6

2009-09-28 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/09/09 06:05 AM, nadia kheffache wrote: > hi, > > i wont to monitor a server AIX > with nagios, but i have a probleme to complil them. Can you give me please > the binaire plugin for AIX if any one have already compliled them?? Can you post a d

[Nagios-users] plugin for AIX6

2009-09-28 Thread nadia kheffache
hi, i wont to monitor a server AIX with nagios, but i have a probleme to complil them. Can you give me please the binaire plugin for AIX if any one have already compliled them?? thank you Nadia -- Come bui

Re: [Nagios-users] Distributed monitoring solution - some questions

2009-09-28 Thread Simone Felici
Marc Powell ha scritto in data 25/09/2009 14.14: > > It sounds like you're looking for Freshness Checks. It's discussed in > the Distributed Monitoring documentation. > Thank's Marc, Meanwhile I've read better the documentation, the freshness threshold does the trick. Thank's! Simon -