Re: [Nagios-users] Nagios 3 statusmap.cgi on CentOS 5.1 i386

2008-03-14 Thread John Duraisw
Joey,
You want to try the following config.

/configure --prefix=/opt/nagios --sysconfdir=/etc/nagios
--localstatedir=/var/
nagios --with-command-group=nagcmd --with-nagios-user=nagios
--with-nagios-grou
p=nagios --enable-event-broker --with-mail=/usr/sbin/sendmail

or you can try ./configure --with-command-group=nagcmd (this should put
everything under /usr/local/nagios/)

I am sure you have created nagios user nagios group and nagcmd.

Thanks,
-john



On Fri, Mar 14, 2008 at 1:08 PM, Joey K. <[EMAIL PROTECTED]> wrote:

>
> John,
>
> Appreciate your response.
>
> [EMAIL PROTECTED] ~]$ yum list installed | grep gd-devel
> gd-devel.i3862.0.33-9.4.el5_1.1
> installed
> [EMAIL PROTECTED] ~]$ yum list installed | grep libjpeg-devel
> libjpeg-devel.i386   6b-37
> installed
> [EMAIL PROTECTED] ~]$ yum list installed | grep libpng-devel
> libpng-devel.i3862:1.2.10-7.1.el5_0.1
> installed
> [EMAIL PROTECTED] ~]$ yum list installed | grep zlib-devel
> zlib-devel.i386  1.2.3-3
> installed
> [EMAIL PROTECTED] ~]$ yum list installed | grep freetype-devel
> freetype-devel.i386  2.2.1-19.el5
> installed
> [EMAIL PROTECTED] ~]$
>
>
> I'm not sure what else could be missing.
>
> Joey
>
>
>
> On Fri, Mar 14, 2008 at 5:21 AM, John Duraisw <[EMAIL PROTECTED]>
> wrote:
>
> > Check whether you have gd-devel and libpng-devel installed. If not
> > install it and recompile it.
> >
> > [EMAIL PROTECTED] sbin]# yum list installed | grep gd-devel
> > gd-devel.i3862.0.33-9.4.el5_1.1
> > installed
> > [EMAIL PROTECTED] sbin]# yum list installed | grep libpng-devel
> > libpng-devel.i3862:1.2.10-7.1.el5_0.1
> > installed
> >
> > Thanks,
> >
> > -john
> >
> >
> >
> >
> > On Thu, Mar 13, 2008 at 7:18 PM, Joey K. <[EMAIL PROTECTED]> wrote:
> >
> > > Hello,
> > >
> > > I'm attempting to install Nagios 3 on CentOS 5.1 i386.
> > >
> > > I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib,
> > > zlib-devel packages.
> > >
> > > I'm comping nagios 3 with the following options,
> > >
> > > ./configure --prefix=/opt/nagios --sysconfdir=/etc/nagios
> > > --localstatedir=/var/
> > > nagios --with-command-group=nagcmd --with-nagios-user=nagios
> > > --with-nagios-grou
> > > p=nagios --enable-event-broker --with-gd-lib=/usr/lib
> > > --with-gd-inc=/usr/includ
> > > e --with-mail=/usr/sbin/sendmail --enable-statusmap=yes
> > > --enable-statuswrl=yes
> > >
> > > Compile is successful. However there is no statusmap.cgi in sbin/ and
> > > I get apache error (file not found) on clicking  "Status Map".
> > >
> > > config.log  has,
> > >
> > > 
> > > 
> > > .
> > > configure:5760: result: no
> > > configure:5768: checking for gdImagePng in -lgd (order 1)
> > > configure:5796: gcc -o conftest -g -O2 -I/usr/include   -L/usr/lib
> > > conftest.c -lgd -lttf -lpng -ljpeg -lz -lm  >&5
> > > /usr/bin/ld: cannot find -lttf
> > > collect2: ld returned 1 exit status
> > > configure:5802: $? = 1
> > > configure: failed program was:
> > > | /* confdefs.h.  */
> > > 
> > > ...
> > > 
> > >
> > >
> > > 
> > > 
> > >
> > > | #define USE_XDDDEFAULT 1
> > > | /* end confdefs.h.  */
> > > |   /* Override any gcc2 internal prototype to avoid an error.  */
> > > | /* We use char because int might match the return type of a gcc2
> > > | builtin and then its argument prototype would still apply.  */
> > > | char gdImagePng();
> > > |
> > > | int
> > > | main ()
> > > | {
> > > | gdImagePng()
> > > |   ;
> > > |   return 0;
> > > | }
> > > configure:5837: result: no
> > > configure:5844: checking for gdImagePng in -lgd (order 2)
> > > configure:5872: gcc -o conftest -g -O2 -I/usr/include   -L/usr/lib
> > > conftest.c -lgd  -lpng -ljpeg -lz -lm  >&5
> > > configure:5878: $? = 0
> > > configure:5882: test -z
> > >  || test ! -s conftest.err
> > > configure:5885: $? = 0
> > > configure:5888: test -s conftest
> > > configure:5891: $? = 0
> > > configure:5906: result: yes
> > &g

Re: [Nagios-users] Nagios 3 statusmap.cgi on CentOS 5.1 i386

2008-03-14 Thread John Duraisw
Check whether you have gd-devel and libpng-devel installed. If not install
it and recompile it.

[EMAIL PROTECTED] sbin]# yum list installed | grep gd-devel
gd-devel.i3862.0.33-9.4.el5_1.1 installed
[EMAIL PROTECTED] sbin]# yum list installed | grep libpng-devel
libpng-devel.i3862:1.2.10-7.1.el5_0.1   installed

Thanks,

-john




On Thu, Mar 13, 2008 at 7:18 PM, Joey K. <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I'm attempting to install Nagios 3 on CentOS 5.1 i386.
>
> I've installed gd, gd-devel, freetype, libjpeg, libjpeg-devel, zlib,
> zlib-devel packages.
>
> I'm comping nagios 3 with the following options,
>
> ./configure --prefix=/opt/nagios --sysconfdir=/etc/nagios
> --localstatedir=/var/
> nagios --with-command-group=nagcmd --with-nagios-user=nagios
> --with-nagios-grou
> p=nagios --enable-event-broker --with-gd-lib=/usr/lib
> --with-gd-inc=/usr/includ
> e --with-mail=/usr/sbin/sendmail --enable-statusmap=yes
> --enable-statuswrl=yes
>
> Compile is successful. However there is no statusmap.cgi in sbin/ and I
> get apache error (file not found) on clicking  "Status Map".
>
> config.log  has,
>
> 
> 
> .
> configure:5760: result: no
> configure:5768: checking for gdImagePng in -lgd (order 1)
> configure:5796: gcc -o conftest -g -O2 -I/usr/include   -L/usr/lib
> conftest.c -lgd -lttf -lpng -ljpeg -lz -lm  >&5
> /usr/bin/ld: cannot find -lttf
> collect2: ld returned 1 exit status
> configure:5802: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> 
> ...
> 
>
>
> 
> 
>
> | #define USE_XDDDEFAULT 1
> | /* end confdefs.h.  */
> |   /* Override any gcc2 internal prototype to avoid an error.  */
> | /* We use char because int might match the return type of a gcc2
> | builtin and then its argument prototype would still apply.  */
> | char gdImagePng();
> |
> | int
> | main ()
> | {
> | gdImagePng()
> |   ;
> |   return 0;
> | }
> configure:5837: result: no
> configure:5844: checking for gdImagePng in -lgd (order 2)
> configure:5872: gcc -o conftest -g -O2 -I/usr/include   -L/usr/lib
> conftest.c -lgd  -lpng -ljpeg -lz -lm  >&5
> configure:5878: $? = 0
> configure:5882: test -z
>  || test ! -s conftest.err
> configure:5885: $? = 0
> configure:5888: test -s conftest
> configure:5891: $? = 0
> configure:5906: result: yes
> configure:6206: checking ltdl.h usability
> configure:6218: gcc -c -g -O2 -I/usr/include  conftest.c >&5
> conftest.c:114:18: error: ltdl.h: No such file or directory
> configure:6224: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> 
> 
> 
>
> I'm not sure what the problem is.  Any ideas?
>
> Thanks in advance,
> Joey
>
>
> -
> 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
>
-
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

[Nagios-users] Nagio 3.0 Stable release - and trends reporting

2008-03-14 Thread John Duraisw
All,
I upgraded my 2.10 version to 3.0 stable yesterday. Everything seems to work
fine except for the trends reporting. I am getting the following error when
I try to run trends reports.

"It appears as though you are not authorized to view information for the
specified host..."

Thanks,
-john
-
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

Re: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?}

2008-03-11 Thread John Duraisw
Marc,
I moved the other plugins from another server, and looks like something got
screwed during the transfer. I just recompiled all the nagios plugins on the
client server and things started working fine.

[EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load
OK - load average: 0.00, 0.05, 0.02|load1=0.000;15.000;30.000;0;
load5=0.050;10.000;25.000;0;
load15=0.020;5.000;20.000;0;

Thanks,
-john

On Tue, Mar 11, 2008 at 12:27 PM, John Duraisw <[EMAIL PROTECTED]>
wrote:

> Marc,
> This is what happens when I do that.
>
> [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1
> CHECK_NRPE: Error - Could not complete SSL handshake.
> [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load
> CHECK_NRPE: Error - Could not complete SSL handshake.
> [EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load -n
> CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs
> for error messages.
>
> 
> Mar 11 12:22:34 wsfs7-rhel nrpe[26314]: Host 127.0.0.1 is not allowed to
> talk to
>  us!
> Mar 11 12:22:43 wsfs7-rhel nrpe[26317]: Host 127.0.0.1 is not allowed to
> talk to
>  us!
> Mar 11 12:22:46 wsfs7-rhel nrpe[26320]: Host 127.0.0.1 is not allowed to
> talk to
> 
>
>
>
>
>
>
> On Tue, Mar 11, 2008 at 12:05 PM, Marc Powell <[EMAIL PROTECTED]> wrote:
>
> >
> >
> > > -Original Message-
> > > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > > [EMAIL PROTECTED] On Behalf Of John Duraisw
> > > Sent: Tuesday, March 11, 2008 10:52 AM
> > > To: nagios-users@lists.sourceforge.net
> > > Subject: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?}
> > >
> > > All,
> > > I have problems getting output check_nrpe from client machine. My
> > nagios
> > > server is Centos5 and the client server rhel 4 and I am having the
> > following
> > > issue. I am running the latest version of nrpe and also tried bunch of
> > other
> > > older version, still no luck. When I try to monitor other centos
> > server with
> > > the same config it works fine.
> > >
> > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21
> > > NRPE v2.10
> > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load
> > > NRPE: Unable to read output
> >
> > Run the check_load command as defined in nrpe.cfg on 10.31.47.21 as the
> > nagios user on 10.31.47.21 and see what it says.
> >
> > > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj
> > > NRPE: Command 'check_lljfj' not defined
> >
> > Define the command 'check_lljfj' in nrpe.cfg on 10.31.47.21.
> >
> > --
> > Marc
> >
> >
> > -
> > 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
> >
>
>
-
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

Re: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?}

2008-03-11 Thread John Duraisw
Marc,
This is what happens when I do that.

[EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1
CHECK_NRPE: Error - Could not complete SSL handshake.
[EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load
CHECK_NRPE: Error - Could not complete SSL handshake.
[EMAIL PROTECTED] libexec]# ./check_nrpe -H 127.0.0.1 -c check_load -n
CHECK_NRPE: Received 0 bytes from daemon.  Check the remote server logs for
error messages.


Mar 11 12:22:34 wsfs7-rhel nrpe[26314]: Host 127.0.0.1 is not allowed to
talk to
 us!
Mar 11 12:22:43 wsfs7-rhel nrpe[26317]: Host 127.0.0.1 is not allowed to
talk to
 us!
Mar 11 12:22:46 wsfs7-rhel nrpe[26320]: Host 127.0.0.1 is not allowed to
talk to






On Tue, Mar 11, 2008 at 12:05 PM, Marc Powell <[EMAIL PROTECTED]> wrote:

>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of John Duraisw
> > Sent: Tuesday, March 11, 2008 10:52 AM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] nrpe on rhel 4 {Disarmed} {Fraud?}
> >
> > All,
> > I have problems getting output check_nrpe from client machine. My
> nagios
> > server is Centos5 and the client server rhel 4 and I am having the
> following
> > issue. I am running the latest version of nrpe and also tried bunch of
> other
> > older version, still no luck. When I try to monitor other centos
> server with
> > the same config it works fine.
> >
> > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21
> > NRPE v2.10
> > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load
> > NRPE: Unable to read output
>
> Run the check_load command as defined in nrpe.cfg on 10.31.47.21 as the
> nagios user on 10.31.47.21 and see what it says.
>
> > [EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj
> > NRPE: Command 'check_lljfj' not defined
>
> Define the command 'check_lljfj' in nrpe.cfg on 10.31.47.21.
>
> --
> Marc
>
> -
> 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
>
-
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

[Nagios-users] nrpe on rhel 4

2008-03-11 Thread John Duraisw
All,
I have problems getting output check_nrpe from client machine. My nagios
server is Centos5 and the client server rhel 4 and I am having the following
issue. I am running the latest version of nrpe and also tried bunch of other
older version, still no luck. When I try to monitor other centos server with
the same config it works fine.

[EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21
NRPE v2.10
[EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_load
NRPE: Unable to read output
[EMAIL PROTECTED] libexec]# ./check_nrpe -H 10.31.47.21 -c check_lljfj
NRPE: Command 'check_lljfj' not defined


Thanks,
-john
-
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

Re: [Nagios-users] Check Hsrp

2008-02-06 Thread John Duraisw
Larry,
Thanks you very much. That's what was missing, and now I should be able to
proceed.

[EMAIL PROTECTED] ~]$ ./check_ifoperstatus.0.7.pl -H 10.31.1.106 -C public -k
175 -t hsrpgrp --hsrpgrp 85
OK - Interface 'Vl85' HSRP Group 85 status is 'standby' (index 175)

Thanks,
-john

On Feb 5, 2008 2:39 PM, Larry Low <[EMAIL PROTECTED]> wrote:

>  You need to specify an interface by the ifIndex.  HSRP groups are per
> interface.  I haven't tested the HSRP portion of the code very extensively
> so let me know if you run into any more problems.
>
>
>
> 
>
> Larry Low
>
> 4150 N Drinkwater Blvd., 5th Floor
>
> Scottsdale, AZ  85251
>
> Office: 480.385.7045
>
> E-mail: [EMAIL PROTECTED]'
>
>
>
> Telesphere Networks, Inc
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *John Duraisw
> *Sent:* Tuesday, February 05, 2008 10:56 AM
> *To:* nagios-users@lists.sourceforge.net
> *Subject:* [Nagios-users] Check Hsrp
>
>
>
> Hello All,
> I am trying to check hsrp on 6509 with the following, and I am running
> into problems. Please let me know what I am doing wrong here.
>
> [EMAIL PROTECTED] ~]# ./check_ifoperstatus.0.7.pl -H 10.31.1.8 -C ubetcha
> --hsrpgrp 10Usage:
>   check_ifoperstatus.pl -H  [-C ] -k 
>   check_ifoperstatus.pl [-h | --help]
>   check_ifoperstatus.pl [-V | --version]
>
> Thanks for your help,
>
> -john
>
>
> -
> 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
>
-
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

[Nagios-users] Check Hsrp

2008-02-05 Thread John Duraisw
Hello All,
I am trying to check hsrp on 6509 with the following, and I am running into
problems. Please let me know what I am doing wrong here.

[EMAIL PROTECTED] ~]# ./check_ifoperstatus.0.7.pl -H 10.31.1.8 -C ubetcha
--hsrpgrp 10Usage:
  check_ifoperstatus.pl -H  [-C ] -k 
  check_ifoperstatus.pl [-h | --help]
  check_ifoperstatus.pl [-V | --version]

Thanks for your help,

-john
-
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

Re: [Nagios-users] Nagios-Windows 2003

2007-06-22 Thread John Duraisw

Marc,
Notifications works fine on this server for everything else. Just for this
windows 2003  services I run into problems.

Thanks,

On 6/22/07, Marc Powell <[EMAIL PROTECTED]> wrote:




> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of John Duraisw
> Sent: Friday, June 22, 2007 8:32 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios-Windows 2003
>
> Hello Everyone,
> I've been trying to monitor some services on windows 2003(SP2) using
snmp
> plugins with nagios 2.9, everything is working fine on the monitoring
> side. When the service goes down the GUI turns RED but I don't get any
> notifications all though the nagios GUI says the notifations has been
sent
> out. All the other notifications gets sent properly. I this something
to
> do with windows 2003 ? Any ideas please?

If the nagios log shows them sent the problem is more likely with the
MTA on your nagios machine. Check your mail logs there and see what the
mail server is doing with them or if it even gets them. If you don't see
them in the logs, verify your notification command actually works by
running it as the nagios user, substituting in appropriate values for
macros where necessary.

--
Marc

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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-Windows 2003

2007-06-22 Thread John Duraisw

Stephen,
Thanks for the quick response. Following are the info.

define host {
   use generic-host
   host_name   WebsenseFilterServer1
   alias   WebsenseFilterServer1 - Wilton Woods NOC
   address 10.31.47.13
   parents DC-MSFC
}

define host{
   namegeneric-host
   notifications_enabled   1
   event_handler_enabled   1
   flap_detection_enabled  1
   process_perf_data   1
   retain_status_information   1
   retain_nonstatus_information1
   check_command   check-host-alive
   max_check_attempts  20
   notification_interval   60
   notification_period 24x7
   contact_groups  John
   notification_optionsd,u,r
   register0
}

define service{
   namegeneric-service
   active_checks_enabled   1
   passive_checks_enabled  1
   parallelize_check   1
   obsess_over_service 1
   check_freshness 0
   notifications_enabled   1
   event_handler_enabled   1
   flap_detection_enabled  1
   process_perf_data   1
   retain_status_information   1
   retain_nonstatus_information1
   is_volatile 0
   check_period24x7
   max_check_attempts  3
   normal_check_interval   5
   retry_check_interval1
   notification_interval   120
   notification_period 24x7
   notification_optionsc,r
   contact_groups  John
   register
define service{
   use generic-service
   host_name   WebsenseFilterServer1
   service_description check_WebsenseFilteringService
   check_command
check_WebsenseFilteringService!public!"websense filtering service"
   }

# 'notify-by-email' command definition - good
define command{
   command_namenotify-by-email
   command_line/usr/bin/printf "%b" "Ladies and Gentlemen
$SERVICEDESC$ for $HOSTNAME$ is $SERVICESTATE$ at this time\n\nNotificatio
n Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost:
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time:
$LONGDAT
ETIME$\n\nAdditional Info: $SERVICEOUTPUT$\nComments:
$SERVICEACKCOMMENT$\nAuthor: $SERVICEACKAUTHOR$" | /bin/mail -s "**
$NOTIFICATIONTYPE$
alert - $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$
   }


[1182517451] SERVICE NOTIFICATION:
john;WebsenseFilterServer1;check_WebsenseFilteringService;CRITICAL;notify-by-email;EIMServer.exe:
not running


Thanks,

-john

On 6/22/07, Valdinger, Stephen (DOV, MSX) <[EMAIL PROTECTED]> wrote:


 Can you post your log files so we can read them? There could be a number
of things wrong. Also, please include the host/service definition commands
so we can take a look at them. Could be something as simple as a typo.





Stephen Valdinger

MIS Helpdesk Coordinator

Dover Chemical Corporation

3676 Davis Rd NW

Dover, OH 44622

330-365-3622

[EMAIL PROTECTED]




  --

*From:* John Duraisw [mailto:[EMAIL PROTECTED]
*Sent:* Friday, June 22, 2007 9:32 AM
*To:* nagios-users@lists.sourceforge.net
*Subject:* [Nagios-users] Nagios-Windows 2003



Hello Everyone,
I've been trying to monitor some services on windows 2003(SP2) using snmp
plugins with nagios 2.9, everything is working fine on the monitoring
side. When the service goes down the GUI turns RED but I don't get any
notifications all though the nagios GUI says the notifations has been sent
out. All the other notifications gets sent properly. I this something to do
with windows 2003 ? Any ideas please?

Thanks,
-john

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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] Nagios-Windows 2003

2007-06-22 Thread John Duraisw

Hello Everyone,
I've been trying to monitor some services on windows 2003(SP2) using snmp
plugins with nagios 2.9, everything is working fine on the monitoring side.
When the service goes down the GUI turns RED but I don't get any
notifications all though the nagios GUI says the notifations has been sent
out. All the other notifications gets sent properly. I this something to do
with windows 2003 ? Any ideas please?

Thanks,
-john
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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