Re: [Nagios-users] Update Nagios 3.3.1 to 3.5.0

2013-08-05 Thread alexus
yum update nagios*
service nagios restart


On Mon, Aug 5, 2013 at 11:41 AM, Jorge Luis Paneda jlpan...@sciodev.comwrote:

  Hi, 

 ** **

 I’m running Nagios 3.3.1 on Centos Linux release 5.9 and I want to update
 my Nagios version to 3.5.0. 

 ** **

 ¿Which ones would be the best steps or best way to accomplish this?

 ** **

 Regards,

 ** **

 Jorge L. Pañeda

 ** **

 *[image: Description: Description: scio]***

 * *

 *Systems Administrator*

 Scio Consulting | IT  Infrastructure Dept.

 Las Cañadas 501 Int. 230 Col. Tres Marías 

 Morelia, Mich., México Tel. (443) 310-96-01 ext. 402**

 U.S. Phone: 408 404 3897 Ext. 402

 www.sciodev.com

 ** **


 --
 Get your SQL database under version control now!
 Version control is standard for application code, but databases havent
 caught up. So what steps can you take to put your SQL databases under
 version control? Why should you start doing it? Read more to find out.
 http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk
 ___
 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




-- 
http://alexus.org/
image001.jpg--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
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] I'm trying to configuring Nagios w/ notification escalation by using PAGER instead of MAIL

2013-07-30 Thread alexus
I'm trying to figure out how I can configure Nagios to use $CONTACTPAGER$ macro
instead of$CONTACTEMAIL$ in event of escalation or perhaps using
alternative command? as I'd be able to specify using pager instead of email
there...

in another words, for escalation purpose I need to be able to send email to
alternative email address other then email that was used for first
notification.

please advise.
-- 
http://alexus.org/
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___
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] rpmbuild nagios-3.5.0

2013-07-24 Thread alexus
# md5sum nagios-3.5.0.tar.gz
aeef195d2033cc362bf6cb972bcc8f07  nagios-3.5.0.tar.gz
# rpmbuild -tb nagios-3.5.0.tar.gz
warning: line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig,
sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VOVWNc
+ umask 022
+ cd /root/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /root/rpmbuild/BUILD
+ rm -rf nagios-3.5.0
+ /usr/bin/gzip -dc /root/nagios-3.5.0.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nagios-3.5.0
/var/tmp/rpm-tmp.VOVWNc: line 38: cd: nagios-3.5.0: No such file or
directory
error: Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep)


RPM build errors:
line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig,
sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep)
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
# uname -a
Linux XXX.XXX.XXX 2.6.32-358.6.2.el6.x86_64 #1 SMP Tue May 14 15:48:21 EDT
2013 x86_64 x86_64 x86_64 GNU/Linux
#

I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was
3.2.3.
any ideas/suggestions?

-- 
http://alexus.org/
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] rpmbuild nagios-3.5.0

2013-07-24 Thread alexus
[root@uftwfnagios ~]# tar -ztvf nagios-3.5.0.tar.gz | head -1
drwxrwxr-x nagios/nagios 0 2013-03-15 07:18 nagios/
[root@uftwfnagios ~]#

I see nagios inside of nagios-3.5.0.tar.gz not nagios-3.5.0.

[root@uftwfnagios nagios]# grep BuildRoot nagios.spec
BuildRoot: %{_tmppath}/%{name}-buildroot
[root@uftwfnagios nagios]#

as I mention earlier I was able to build w/out any issue 3.2.3
I'm thinking I should probably submit this as bug to nagios?



On Wed, Jul 24, 2013 at 10:19 AM, Werner Flamme werner.fla...@ufz.dewrote:

 alexus [24.07.2013 15:56]:
  # md5sum nagios-3.5.0.tar.gz
  aeef195d2033cc362bf6cb972bcc8f07  nagios-3.5.0.tar.gz
  # rpmbuild -tb nagios-3.5.0.tar.gz
  warning: line 40: prereq is deprecated: PreReq: /usr/bin/logger,
 chkconfig,
  sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
  Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VOVWNc
  + umask 022
  + cd /root/rpmbuild/BUILD
  + LANG=C
  + export LANG
  + unset DISPLAY
  + cd /root/rpmbuild/BUILD
  + rm -rf nagios-3.5.0
  + /usr/bin/gzip -dc /root/nagios-3.5.0.tar.gz
  + /bin/tar -xf -
  + STATUS=0
  + '[' 0 -ne 0 ']'
  + cd nagios-3.5.0
  /var/tmp/rpm-tmp.VOVWNc: line 38: cd: nagios-3.5.0: No such file or
  directory
  error: Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep)
 
 
  RPM build errors:
  line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig,
  sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
  Bad exit status from /var/tmp/rpm-tmp.VOVWNc (%prep)
  # cat /etc/redhat-release
  Red Hat Enterprise Linux Server release 6.4 (Santiago)
  # uname -a
  Linux XXX.XXX.XXX 2.6.32-358.6.2.el6.x86_64 #1 SMP Tue May 14 15:48:21
 EDT
  2013 x86_64 x86_64 x86_64 GNU/Linux
  #
 
  I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was
  3.2.3.
  any ideas/suggestions?

 The first error I see is cd: nagios-3.5.0: No such file or directory

 Is  there a directory named nagios-3.5.0 in the tar ball or is it
 named only nagios?

 What does you spec file say? Maybe you have to adapt the BuildRoot?
 Like, from %{_tmppath}/%{name}-%{version} to %{_tmppath}/%{name}?

 Just a guess,
 Werner

 --


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 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




-- 
http://alexus.org/
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] rpmbuild nagios-3.5.0

2013-07-24 Thread alexus
thank you for your recommendation) although I'd really like to know why it
was ok on 3.2.3 and not ok going forward (seems like a bug to me that
needed to be reported back to nagios folks).


On Wed, Jul 24, 2013 at 10:42 AM, Trond Hasle Amundsen 
t.h.amund...@usit.uio.no wrote:

 alexus ale...@gmail.com writes:

  I'm unable to build RPM w/ nagios 3.5.0, last one that worked for me was
 3.2.3.
  any ideas/suggestions?

 I'd recommend using the already prebuilt package for rhel6 which is
 available from EPEL[1]. Add the EPEL repo and you can simply do yum
 install nagios and be done :)

 [1] http://fedoraproject.org/wiki/EPEL

 Cheers,
 --
 Trond H. Amundsen t.h.amund...@usit.uio.no
 Center for Information Technology Services, University of Oslo


 --
 See everything from the browser to the database with AppDynamics
 Get end-to-end visibility with application monitoring from AppDynamics
 Isolate bottlenecks and diagnose root cause in seconds.
 Start your free trial of AppDynamics Pro today!
 http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk
 ___
 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




-- 
http://alexus.org/
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
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] Parent/Child relationship for HV/VM

2012-01-03 Thread alexus
I have few hyper-visors that running bunch of VMs. Each VM runs on a
HV and can be migrated from one host to another at any given time for
whatever reason(s).
Should I specify all HVs (where VM can run) for each VM as a parent?

-- 
http://alexus.org/

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
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.spec that comes w/ 3.3.1 is BROKEN!

2011-09-06 Thread alexus
[root@uftwfnagios ~]# wget
http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.3.1.tar.gz
--2011-09-06 17:43:11--
http://prdownloads.sourceforge.net/sourceforge/nagios/nagios-3.3.1.tar.gz
Resolving prdownloads.sourceforge.net... 216.34.181.59
Connecting to prdownloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: 
http://downloads.sourceforge.net/project/nagios/nagios-3.x/nagios-3.3.1/nagios-3.3.1.tar.gz
[following]
--2011-09-06 17:43:11--
http://downloads.sourceforge.net/project/nagios/nagios-3.x/nagios-3.3.1/nagios-3.3.1.tar.gz
Resolving downloads.sourceforge.net... 216.34.181.59
Reusing existing connection to prdownloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: 
http://surfnet.dl.sourceforge.net/project/nagios/nagios-3.x/nagios-3.3.1/nagios-3.3.1.tar.gz
[following]
--2011-09-06 17:43:11--
http://surfnet.dl.sourceforge.net/project/nagios/nagios-3.x/nagios-3.3.1/nagios-3.3.1.tar.gz
Resolving surfnet.dl.sourceforge.net... 130.59.138.21, 2001:620:0:1b::21
Connecting to surfnet.dl.sourceforge.net|130.59.138.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1714630 (1.6M) [application/x-gzip]
Saving to: “nagios-3.3.1.tar.gz”

100%[===]
1,714,630   1.42M/s   in 1.1s

2011-09-06 17:43:12 (1.42 MB/s) - “nagios-3.3.1.tar.gz” saved [1714630/1714630]

[root@uftwfnagios ~]# rpmbuild -tb nagios-3.3.1.tar.gz
warning: line 40: prereq is deprecated: PreReq: /usr/bin/logger,
chkconfig, sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1B8XpT
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf nagios-3.3.1
+ /usr/bin/gzip -dc /root/nagios-3.3.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nagios-3.3.1
/var/tmp/rpm-tmp.1B8XpT: line 34: cd: nagios-3.3.1: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.1B8XpT (%prep)


RPM build errors:
line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig,
sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
Bad exit status from /var/tmp/rpm-tmp.1B8XpT (%prep)
[root@uftwfnagios ~]#



[root@uftwfnagios ~]# tar -zxf nagios-3.3.1.tar.gz
[root@uftwfnagios ~]# ls -ld nagios
drwxr-xr-x 16 nagios nagios 4096 Jul 25 17:20 nagios
[root@uftwfnagios ~]# mv nagios nagios-3.3.1
[root@uftwfnagios ~]# tar -cf nagios-3.3.1.tar.gz nagios-3.3.1^C
[root@uftwfnagios ~]# mv nagios-3.3.1.tar.gz nagios-3.3.1.tar.gz.1
[root@uftwfnagios ~]# tar -czf nagios-3.3.1.tar.gz nagios-3.3.1
[root@uftwfnagios ~]# rpmbuild -tb nagios-3.3.1.tar.gz
warning: line 40: prereq is deprecated: PreReq: /usr/bin/logger,
chkconfig, sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wi8zWR
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf nagios-3.3.1
+ /usr/bin/gzip -dc /root/nagios-3.3.1.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nagios-3.3.1
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.13SH1H
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd nagios-3.3.1
+ export 
PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/sbin
+ 
PATH=/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/usr/sbin
+ CFLAGS='-O2 -g'
+ CXXFLAGS='-O2 -g'
+ ./configure --with-init-dir=/etc/init.d
--with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios
--with-lockfile=/var/run/nagios.pid --with-nagios-user=nagios
--with-nagios-group=nagios --prefix=/usr --exec-prefix=/usr/sbin
--bindir=/usr/sbin --sbindir=/usr/lib/nagios/cgi
--libexecdir=/usr/lib/nagios/plugins --datarootdir=/usr/share/nagios
--sysconfdir=/etc/nagios --localstatedir=/var/log/nagios
--with-file-perfdata --with-gd-lib=/usr/lib --with-gd-inc=/usr/include
--with-template-objects --with-template-extinfo
configure: error: unrecognized option: --datarootdir=/usr/share/nagios
Try `./configure --help' for more information.
error: Bad exit status from /var/tmp/rpm-tmp.13SH1H (%build)


RPM build errors:
line 40: prereq is deprecated: PreReq: /usr/bin/logger, chkconfig,
sh-utils, shadow-utils, sed, initscripts, fileutils, mktemp
Bad exit status from /var/tmp/rpm-tmp.13SH1H (%build)
[root@uftwfnagios ~]# cd nagios-3.3.1
[root@uftwfnagios nagios-3.3.1]# ./configure --help | grep -i datarootdir
[root@uftwfnagios nagios-3.3.1]# cd ../nagios-3.2.3
[root@uftwfnagios nagios-3.2.3]# ./configure --help | grep -i datarootdir
  --datarootdir=DIR  read-only arch.-independent data root [PREFIX/share]
  --datadir=DIR  read-only architecture-independent data [DATAROOTDIR]
  --infodir=DIR  info 

Re: [Nagios-users] nagios 3.2.3 , which is better OS ?

2011-02-24 Thread alexus
I'm running latest (stable) Nagios on latest (stable) CentOS

works pretty well

On Thu, Feb 24, 2011 at 10:31 AM, Marco Borsani m.bors...@it.net wrote:
 Hi all



 I have to install , study and put on-line the last release.



 I’d like to install it on the better OS possible…

 What about Cent-OS 5 ?



 Actually I am managing Nagios 1.4.1. on a Red Hat Enterprise Linux ES 4



 Regards



 Marco Borsani

 Unix and Monitoring Sysadmin

 Technical Operations Dpt.

 tel: +39 010 4310115

 fax: +39 02 30130311

 cell: +39 329 5953944

 ITnet Srl

 Società con socio unico

 Direzione e Coordinamento di WIND TELECOM S.p.A.

 --
 Free Software Download: Index, Search  Analyze Logs and other IT data in
 Real-Time with Splunk. Collect, index and harness all the fast moving IT
 data
 generated by your applications, servers and devices whether physical,
 virtual
 or in the cloud. Deliver compliance at lower cost and gain new business
 insights. http://p.sf.net/sfu/splunk-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




-- 
http://alexus.org/

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-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] event handler flapping

2010-04-26 Thread alexus
is there a way to incorporate flapping state into event handler?

-- 
http://alexus.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


Re: [Nagios-users] event handler flapping

2010-04-26 Thread alexus
On Mon, Apr 26, 2010 at 11:20 AM, Flyinvap flyin...@orange.fr wrote:
 Le Mon, 26 Apr 2010 10:25:37 -0400,
 alexus ale...@gmail.com a écrit :

 is there a way to incorporate flapping state into event handler?

 May be test $HOSTPERCENTCHANGE$, $SERVICEPERCENTCHANGE$ or
 $NOTIFICATIONTYPE$ macros in your event handler script ?

 --
 Fly



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

I'm trying to pass $NOTIFICATIONTYPE$ into my event handler but I'm
not sure why, it won't get passed...
I even turn on debuging and I see my event handler kicks in, yet
nothing get passed for NOTIFICATIONTYPE, yet all other stuff get
passed that I was doing before such as SERVICESTATE SERVICESSTATETYPE
and SERVICEATTEMPTS

-- 
http://alexus.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] nagios alternative notification methods

2010-04-07 Thread alexus
what are alternative methods of getting notified if let's say internet
went down?
can it interact with pos line? send sms through a modem or something?

-- 
http://alexus.org/

--
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] priority: host or service who's really on top?

2010-03-09 Thread alexus
 If the service check fails, I think Nagios would check the host
 anyway.  You might like to run a test to confirm this.

testing yes, but your answer didn't cover any part of my question at
all other then you suggest to test it..

anyone else actually knows the answer? i was thinking maybe not to
specify timeperiod inside of service and let it take it from host
definition?

-- 
http://alexus.org/

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

[Nagios-users] priority: host or service who's really on top?

2010-03-08 Thread alexus
if i define my host to be checked/notify only at certain time frame,
let's say 10-18
yet service states 24/7 ... who takes priority? host's definition or service?

-- 
http://alexus.org/

--
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] NRPE on macs

2010-02-17 Thread alexus
NRPE works only one direction.

you make a request through check_nrpe (remotely) to NRPE daemon that
runs wherever (in your case on mac server)

if you looking sort of passing checking look into Nagios NSCA


On Wed, Feb 17, 2010 at 3:05 PM, Alex Dehaini alexdeha...@gmail.com wrote:
 Hi Guys,

 Quick question - is NRPE bi-directional or uni-directional. By that, I mean
 when NRPE is installed on a client - does it push it output to the nagios
 server or does nagios pull the results from the client?

 Cheers,
 Alex


 --
 SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
 Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
 http://p.sf.net/sfu/solaris-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




-- 
http://alexus.org/

--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-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] notifications

2009-09-24 Thread alexus
On Sun, Sep 20, 2009 at 7:49 AM, Jim Avery j...@jimavery.me.uk wrote:
 2009/9/19 alexus ale...@gmail.com:
 why this won't work?
 i dont get notifications


 define service {
        hostgroup_name                  nrpe-disk
        service_description             disk
        use                             alarm,check
        check_command                   check_nrpe1!check_disk
        register                        1
        }

 define command {
       command_name                             check_nrpe1
       command_line                             $USER1$/check_nrpe -H
 $HOSTADDRESS$ -c $ARG1$
 }


 If you are using the standard check_disk plugin, I expect it needs
 some options to tell it what the warning and critical thresholds are
 and which disk you want to check.  Run check_disk --help from the
 command line to see which options are required.

if it passed through NRPE, on the other side i can configure to work
without passing anything and the NRPE side will have all appropriate
parameters, plus nagios reports me disk usage so it's obviously
working the way it should

 Do other notifications work okay from your Nagios system, or are you
 not getting any at all?  Can you send emails using /usr/bin/mail
 from the command line?


and yes some of the services works fine and some aren't


-- 
http://alexus.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] notifications

2009-09-24 Thread alexus
On Sun, Sep 20, 2009 at 10:34 PM, Drex devans3...@gmail.com wrote:
 Increase your nagios logging to include at least notifications, verify that
 notifications are at least trying to be sent out.   If you see the mail
 notification in your nagios.log, you should be able to run the exact command
 via command line.  Also to verify you check_nrpe1 command run the exact
 command from command line.   If there are syntax errors, you should see them
 via command line.

 On Sun, Sep 20, 2009 at 6:49 AM, Jim Avery j...@jimavery.me.uk wrote:

 2009/9/19 alexus ale...@gmail.com:
  why this won't work?
  i dont get notifications
 
 
  define service {
         hostgroup_name                  nrpe-disk
         service_description             disk
         use                             alarm,check
         check_command                   check_nrpe1!check_disk
         register                        1
         }
 
  define command {
        command_name                             check_nrpe1
        command_line                             $USER1$/check_nrpe -H
  $HOSTADDRESS$ -c $ARG1$
  }


 If you are using the standard check_disk plugin, I expect it needs
 some options to tell it what the warning and critical thresholds are
 and which disk you want to check.  Run check_disk --help from the
 command line to see which options are required.

 Do other notifications work okay from your Nagios system, or are you
 not getting any at all?  Can you send emails using /usr/bin/mail
 from the command line?


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



 --
 Drex


my debug level is -1, which means debug everything... there is no
notification trying to be sent out thats the problem because if they
were it would be super easy to solve, the problem is nagios doesn't
generate any alerts to be send and thats where i stumble and need
other's help ...

-- 
http://alexus.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] notifications

2009-09-24 Thread alexus
On Thu, Sep 24, 2009 at 12:19 PM, Marc Powell m...@ena.com wrote:
 2009/9/19 alexus ale...@gmail.com:
 why this won't work?
 i dont get notifications


 define service {
        hostgroup_name                  nrpe-disk
        service_description             disk
        use                             alarm,check
        check_command                   check_nrpe1!check_disk
        register                        1
        }

 define command {
       command_name                             check_nrpe1
       command_line                             $USER1$/check_nrpe -H
 $HOSTADDRESS$ -c $ARG1$
 }


 You don't have notifications configured properly.

 Seriously though, this is not enough information to provide even a
 guess what you've done wrong. There are many more variables than what
 you've detailed here and nothing you've provided says anything about
 your notification configuration. For starters, do you have the correct
 notification options for the service? For the contact? Is the
 timeperiod valid for both? Is the service reaching an alertable, HARD
 state?

 If you want help with this, post the following--

 *From objects.cache* --

 host definition

define host {
host_name   jothost.j
alias   alexusbiz corp. (jothost)
address 64.52.58.58
parents jothost.j.gw
check_period247
contact_groups  staff
notification_period 247
initial_state   o
check_interval  5.00
retry_interval  1.00
max_check_attempts  3
active_checks_enabled   1
passive_checks_enabled  1
obsess_over_host1
event_handler_enabled   1
low_flap_threshold  0.00
high_flap_threshold 0.00
flap_detection_enabled  1
flap_detection_options  o,d,u
freshness_threshold 0
check_freshness 0
notification_optionsd,u,r,f,s
notifications_enabled   1
notification_interval   0.00
first_notification_delay0.00
stalking_optionsn
process_perf_data   1
failure_prediction_enabled  1
retain_status_information   1
retain_nonstatus_information1
}


 service definition

define service {
host_name   jothost.j
service_description dummy
check_period247
check_command   check_dummy!2
contact_groups  staff
notification_period 247
initial_state   o
check_interval  2.00
retry_interval  1.00
max_check_attempts  3
is_volatile 0
parallelize_check   1
active_checks_enabled   1
passive_checks_enabled  1
obsess_over_service 1
event_handler_enabled   1
low_flap_threshold  0.00
high_flap_threshold 0.00
flap_detection_enabled  1
flap_detection_options  o,w,u,c
freshness_threshold 0
check_freshness 0
notification_optionsu,w,c,r,f,s
notifications_enabled   1
notification_interval   0.00
first_notification_delay0.00
stalking_optionsn
process_perf_data   1
failure_prediction_enabled  1
retain_status_information   1
retain_nonstatus_information1
}


 contactgroup definition

define contactgroup {
contactgroup_name   staff
alias   alexusbiz corp.
members dmitry chorine
}


 contact definition

define contact {
contact_namedmitry chorine
alias   sprint
service_notification_period 247
host_notification_period247
service_notification_optionsw,u,c,r,f,s
host_notification_options   d,u,r,f,s
service_notification_commands
notify-service-by-email,notify-service-by-pager
host_notification_commands
notify-host-by-email,notify-host-by-pager
email   xxx...@xx.xxx
pager   xxx...@messaging.sprintpcs.com
host_notifications_enabled  1
service_notifications_enabled   1
can_submit_commands 1
retain_status_information   1
retain_nonstatus_information1
}


 the service notification command{} definition for the contact

define command {
command_namenotify-service-by-email
command_line/usr/bin/printf %b * Nagios
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAddit
ional Info:\n\n$SERVICEOUTPUT$ | /usr/bin/mail -s **
$NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is
$SERVICESTATE$ ** $CONTACTEMAIL$
}

define command {
command_namenotify-service-by-pager
command_line/usr/bin/printf %b Notification Type

Re: [Nagios-users] notifications

2009-09-24 Thread alexus
On Thu, Sep 24, 2009 at 1:49 PM, Marc Powell m...@ena.com wrote:

 On Sep 24, 2009, at 12:05 PM, alexus wrote:

 On Thu, Sep 24, 2009 at 12:19 PM, Marc Powell m...@ena.com wrote:
 2009/9/19 alexus ale...@gmail.com:

 *From objects.cache* --

 host definition

 define host {

 looks good

 service definition

 define service {

 looks good.

 contactgroup definition

 define contactgroup {
        contactgroup_name       staff
        alias   alexusbiz corp.
        members dmitry chorine

 I haven't seen anyone use contact names with spaces in them but I'm
 not aware of any reason it wouldn't work.

 contact definition

 define contact {

 This looks good as well.

 the service notification command{} definition for the contact

 define command {

 Fine.

 all referenced timeperiod definitions

 define timeperiod {

 Here too...

 Nothing obviously wrong with the object configs that I can see.

  From nagios.log --

 all entries related to this host or service around the time you
 expect
 a notification to be sent.

 -bash-3.2# grep dummy nagios.log
 [1253764800] CURRENT SERVICE STATE: jothost.j;dummy;CRITICAL;HARD;
 3;CRITICAL
 [1253807636] SERVICE ALERT: jothost.j;dummy;CRITICAL;SOFT;1;CRITICAL
 [1253807696] SERVICE ALERT: jothost.j;dummy;CRITICAL;SOFT;2;CRITICAL
 [1253807756] SERVICE ALERT: jothost.j;dummy;CRITICAL;HARD;3;CRITICAL

 Yet nagios doesn't believe that it's supposed to attempt a notification

 Also, verify in the web interface that notifications are enabled for
 the host and service and that it is not in a period of scheduled
 downtime.

 Did you check the web interface to verify that notifications for the
 specific service are enabled? You should also check under 'Process
 Info' to make sure notifications are enabled program wide
 (enable_notifications 1 in nagios.cfg).

through web i see notifications is enabled

if this would be disabled i wouldn't get any notifications, yet some
of notifications i'm getting and some not...

-bash-3.2# grep enable_notifications ~nagios/etc/nagios.cfg
enable_notifications=1
-bash-3.2#



 Both of these options can be disabled in the web interface. Since you
 appear to be using retention, those settings will be remembered
 between restarts and will take precedence over config file/
 objects.cache settings. You can see the current settings for these
 types of things in the status.dat file but using the web interface is
 usually easier.


this is from status.dat

servicestatus {
host_name=jothost.j
service_description=dummy
modified_attributes=0
check_command=check_dummy!2
check_period=247
notification_period=247
check_interval=2.00
retry_interval=1.00
event_handler=
has_been_checked=1
should_be_scheduled=1
check_execution_time=0.006
check_latency=0.221
check_type=0
current_state=2
last_hard_state=2
last_event_id=0
current_event_id=3158
current_problem_id=1526
last_problem_id=0
current_attempt=3
max_attempts=3
state_type=1
last_state_change=1253807626
last_hard_state_change=1253807746
last_time_ok=0
last_time_warning=0
last_time_unknown=0
last_time_critical=1253824786
plugin_output=CRITICAL
long_plugin_output=
performance_data=
last_check=1253824786
next_check=1253824906
check_options=0
current_notification_number=0
current_notification_id=0
last_notification=0
next_notification=0
no_more_notifications=0
notifications_enabled=1
active_checks_enabled=1
passive_checks_enabled=1
event_handler_enabled=1
problem_has_been_acknowledged=0
acknowledgement_type=0
flap_detection_enabled=1
failure_prediction_enabled=1
process_performance_data=1
obsess_over_service=1
last_update=1253824866
is_flapping=0
percent_state_change=0.00
scheduled_downtime_depth=0
}


 --
 Marc

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




-- 
http://alexus.org/

--
Come build with us

[Nagios-users] notifications

2009-09-19 Thread alexus
why this won't work?
i dont get notifications


define service {
hostgroup_name  nrpe-disk
service_description disk
use alarm,check
check_command   check_nrpe1!check_disk
register1
}   

define command {
   command_name check_nrpe1
   command_line $USER1$/check_nrpe -H
$HOSTADDRESS$ -c $ARG1$
}


define service {
   name alarm
   notification_interval0
   notification_period  247
   notification_options w,u,r,c,f,s
   notifications_enabled1
   contact_groups   staff
   register 0

}   

define service {
   name check
   max_check_attempts   3
   check_interval   2
   retry_interval   1
   check_period 247
   register 0

}   

define contactgroup {
contactgroup_name   staff
alias   XX
members XXX 
}   


define contact {
contact_namedc
alias   sprint
host_notifications_enabled  1
service_notifications_enabled   1
host_notification_period247
service_notification_period 247
host_notification_options   d,u,r,f,s
service_notification_optionsw,u,c,r,f,s
host_notification_commands  
notify-host-by-email,notify-host-by-pager
service_notification_commands   
notify-service-by-email,notify-service-by-pager
email   xxx...@xx.org
pager   
xxx...@messaging.sprintpcs.com
}   

define command {
   command_name notify-host-by-email
   command_line /usr/bin/printf %b *
Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:
$HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:
$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /usr/bin/mail -s **
$NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **
$CONTACTEMAIL$
}   

define command {
   command_name notify-host-by-pager
   command_line /usr/bin/printf %b
Notification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState:
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$ |
/usr/bin/mail $CONTACTPAGER$
}   

define command {
   command_name notify-service-by-email
   command_line /usr/bin/printf %b *
Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$ | /usr/bin/mail -s ** $NOTIFICATIONTYPE$
Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **
$CONTACTEMAIL$
}   

define command {
   command_name notify-service-by-pager
   command_line /usr/bin/printf %b
Notification Type: $NOTIFICATIONTYPE$\n\nService:
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ | /usr/bin/mail
$CONTACTPAGER$
}   

d

-- 
http://alexus.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


[Nagios-users] nagios web ui granular access

2009-07-20 Thread alexus
is there a way to provide an access to a nagios's web interface for a
user and assign only particular host/service or hostgroup/servicegroup
and nothing else?

-- 
http://alexus.org/

--
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] nagios web ui granular access

2009-07-20 Thread alexus
On Mon, Jul 20, 2009 at 3:42 PM, Marc Powellm...@ena.com wrote:

 On Jul 20, 2009, at 2:34 PM, alexus wrote:

 is there a way to provide an access to a nagios's web interface for a
 user and assign only particular host/service or hostgroup/servicegroup
 and nothing else?

 With authorization enabled, users can only see hosts and services (and
 groups) that they are authorized contacts for. Does that suit your
 needs?

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

 You might also want to take a look at the Nagios Looking Glass add-on.

 --
 Marc


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


i dont see how... can you give me an example?

-- 
http://alexus.org/

--
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] ../include/config.h:315:18: error: ltdl.h: No suchfile or directory

2009-06-08 Thread alexus
On Fri, May 29, 2009 at 3:03 PM, alexusale...@gmail.com wrote:
 On Fri, Mar 6, 2009 at 3:22 PM, James Pratt jpr...@norwich.edu wrote:


 -Original Message-
 From: alexus [mailto:ale...@gmail.com]
 Sent: Friday, March 06, 2009 2:08 PM
 To: nagios-user Mailinglist
 Subject: [Nagios-users] ../include/config.h:315:18: error: ltdl.h: No
 suchfile or
 directory

 r...@lama /usr/local/src/nagios-3.0.6 586$ ./configure
 LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
 checking for a BSD-compatible install... /usr/bin/install -c
 checking build system type... x86_64-unknown-freebsd7.1
 checking host system type... x86_64-unknown-freebsd7.1
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 a whole lot of worthless trash snipped

 Err.. you can just send us the error instead of the whole configure
 script output...

  ... Google is your friend:

 http://www.google.com/search?hl=enq=ltdl.h%3A+No+such+file+or+directory
 +%22nagios%22btnG=Search


 regards,
 jamie


 r...@lama /usr/local/src/nagios-3.1.0 530$ ./configure
 LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
 checking for a BSD-compatible install... /usr/bin/install -c
 checking build system type... x86_64-unknown-freebsd7.2
 checking host system type... x86_64-unknown-freebsd7.2
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ANSI C... none needed
 checking whether make sets $(MAKE)... yes
 checking for strip... /usr/bin/strip
 checking how to run the C preprocessor... gcc -E
 checking for egrep... grep -E
 checking for ANSI C header files... yes
 checking whether time.h and sys/time.h may both be included... yes
 checking for sys/wait.h that is POSIX.1 compatible... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking arpa/inet.h usability... yes
 checking arpa/inet.h presence... yes
 checking for arpa/inet.h... yes
 checking ctype.h usability... yes
 checking ctype.h presence... yes
 checking for ctype.h... yes
 checking dirent.h usability... yes
 checking dirent.h presence... yes
 checking for dirent.h... yes
 checking errno.h usability... yes
 checking errno.h presence... yes
 checking for errno.h... yes
 checking fcntl.h usability... yes
 checking fcntl.h presence... yes
 checking for fcntl.h... yes
 checking getopt.h usability... yes
 checking getopt.h presence... yes
 checking for getopt.h... yes
 checking grp.h usability... yes
 checking grp.h presence... yes
 checking for grp.h... yes
 checking libgen.h usability... yes
 checking libgen.h presence... yes
 checking for libgen.h... yes
 checking limits.h usability... yes
 checking limits.h presence... yes
 checking for limits.h... yes
 checking math.h usability... yes
 checking math.h presence... yes
 checking for math.h... yes
 checking netdb.h usability... yes
 checking netdb.h presence... yes
 checking for netdb.h... yes
 checking netinet/in.h usability... yes
 checking netinet/in.h presence... yes
 checking for netinet/in.h... yes
 checking pthread.h usability... yes
 checking pthread.h presence... yes
 checking for pthread.h... yes
 checking pthreads.h usability... no
 checking pthreads.h presence... no
 checking for pthreads.h... no
 checking pwd.h usability... yes
 checking pwd.h presence... yes
 checking for pwd.h... yes
 checking regex.h usability... yes
 checking regex.h presence... yes
 checking for regex.h... yes
 checking signal.h usability... yes
 checking signal.h presence... yes
 checking for signal.h... yes
 checking socket.h usability... no
 checking socket.h presence... no
 checking for socket.h... no
 checking stdarg.h usability... yes
 checking stdarg.h presence... yes
 checking for stdarg.h... yes
 checking for string.h... (cached) yes
 checking for strings.h... (cached) yes
 checking sys/mman.h usability... yes
 checking sys/mman.h presence... yes
 checking for sys/mman.h... yes
 checking for sys/types.h... (cached) yes
 checking sys/time.h usability... yes
 checking sys/time.h presence... yes
 checking for sys/time.h... yes
 checking sys/resource.h usability... yes
 checking sys/resource.h presence... yes
 checking for sys/resource.h... yes
 checking for sys/wait.h... (cached) yes
 checking sys/socket.h usability... yes
 checking sys/socket.h presence... yes
 checking for sys/socket.h... yes
 checking for sys/stat.h... (cached) yes
 checking sys/timeb.h usability... yes
 checking sys/timeb.h presence

Re: [Nagios-users] ../include/config.h:315:18: error: ltdl.h: No suchfile or directory

2009-05-29 Thread alexus
On Fri, Mar 6, 2009 at 3:22 PM, James Pratt jpr...@norwich.edu wrote:


 -Original Message-
 From: alexus [mailto:ale...@gmail.com]
 Sent: Friday, March 06, 2009 2:08 PM
 To: nagios-user Mailinglist
 Subject: [Nagios-users] ../include/config.h:315:18: error: ltdl.h: No
 suchfile or
 directory

 r...@lama /usr/local/src/nagios-3.0.6 586$ ./configure
 LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
 checking for a BSD-compatible install... /usr/bin/install -c
 checking build system type... x86_64-unknown-freebsd7.1
 checking host system type... x86_64-unknown-freebsd7.1
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 a whole lot of worthless trash snipped

 Err.. you can just send us the error instead of the whole configure
 script output...

  ... Google is your friend:

 http://www.google.com/search?hl=enq=ltdl.h%3A+No+such+file+or+directory
 +%22nagios%22btnG=Search


 regards,
 jamie


r...@lama /usr/local/src/nagios-3.1.0 530$ ./configure
LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-freebsd7.2
checking host system type... x86_64-unknown-freebsd7.2
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/ipc.h usability... yes

[Nagios-users] ../include/config.h:315:18: error: ltdl.h: No such file or directory

2009-03-06 Thread alexus
r...@lama /usr/local/src/nagios-3.0.6 586$ ./configure
LDFLAGS=-L/usr/local/lib CPPFLAGS=-I/usr/local/include
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... x86_64-unknown-freebsd7.1
checking host system type... x86_64-unknown-freebsd7.1
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking socket.h usability... no
checking socket.h presence... no
checking for socket.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/wait.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/ipc.h usability... yes
checking sys/ipc.h presence... yes
checking for sys/ipc.h... yes
checking sys/msg.h usability... yes
checking sys/msg.h presence... yes
checking for sys/msg.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking uio.h usability... no
checking uio.h presence... no
checking for uio.h... no
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for va_copy... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for asprintf... yes
checking for 

[Nagios-users] nagiosQL

2009-01-27 Thread alexus
does anyone knows if latest version of nagiosQL lacks any features vs
command prompt configuration?

-- 
http://alexus.org/

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
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 not sending service alerts

2008-11-19 Thread alexus
nothing in nagios logs

and locally it works, meaning if i copy and paste this command into
shell i get an email/alert, but nagios itself doesn't trigger it for
whatever reason...



On Wed, Nov 19, 2008 at 2:18 PM, Fernando Rocha
[EMAIL PROTECTED] wrote:
 Hi Alexus,

 Is just for this contact/service?
 have you tried by the command line?
 is there some occurrence on the nagios logs?

 --
 Fernando Rocha [EMAIL PROTECTED]
 Analista de Suporte - Operação
 OpServices - Porto Alegre - RS - Brasil
 +55 51 3275.3588
 www.opservices.com.br
 www.opmon.org

 - alexus [EMAIL PROTECTED] wrote:

 anyone else have some ideas?



 On Tue, Nov 18, 2008 at 3:25 PM, alexus [EMAIL PROTECTED] wrote:
  everything is enabled
 
  through WEB UI as well
 
  On Tue, Nov 18, 2008 at 11:09 AM, Marc Powell [EMAIL PROTECTED] wrote:
 
  On Nov 18, 2008, at 9:46 AM, alexus wrote:
 
  define  contactgroup {
contactgroup_name   staff
alias   staff
members DAC2
}
 
  define  contact {
contact_nameDAC2
alias   XXX
host_notification_period24x7
service_notification_period 24x7
host_notification_options   d,u,r
service_notification_optionsw,u,c,r
host_notification_commands  notify-host-by-email
service_notification_commands   notify-service-by-email
email   [EMAIL PROTECTED]
pager   [EMAIL PROTECTED]
}
 
  Looks fine. Are notifications disabled for the service in the web
  interface or disabled globally, either in nagios.cfg or via the
 web
  interface?
 
  --
  Marc
 
 
 
 -
  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
 
 
 
 
  --
  http://alexus.org/
 



 --
 http://alexus.org/

 -
 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




-- 
http://alexus.org/
-
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] nagios not sending service alerts

2008-11-19 Thread alexus
program {
modified_host_attributes=17
modified_service_attributes=17
nagios_pid=13374
daemon_mode=1
program_start=1226993882
last_command_check=1227151516
last_log_rotation=1227070800
enable_notifications=1
active_service_checks_enabled=1
passive_service_checks_enabled=1
active_host_checks_enabled=1
passive_host_checks_enabled=1
enable_event_handlers=1
obsess_over_services=0
obsess_over_hosts=0
check_service_freshness=1
check_host_freshness=0
enable_flap_detection=1
enable_failure_prediction=1
process_performance_data=0
global_host_event_handler=
global_service_event_handler=
total_external_command_buffer_slots=4096
used_external_command_buffer_slots=0
high_external_command_buffer_slots=1
total_check_result_buffer_slots=4096
used_check_result_buffer_slots=1
high_check_result_buffer_slots=9
}


service {
host_name=acies.ny.box
service_description=check_http
modified_attributes=0
check_command=check_http!80
event_handler=
has_been_checked=1
should_be_scheduled=1
check_execution_time=0.048
check_latency=0.246
check_type=0
current_state=0
last_hard_state=0
current_attempt=1
max_attempts=2
state_type=1
last_state_change=1226075415
last_hard_state_change=1226030235
last_time_ok=1227151447
last_time_warning=0
last_time_unknown=0
last_time_critical=1226075355
plugin_output=HTTP OK HTTP/1.1 200 OK - 282 bytes in 0.035 seconds
performance_data=time=0.034983s;;;0.00 size=282B;;;0
last_check=1227151447
next_check=1227151687
current_notification_number=0
last_notification=0
next_notification=0
no_more_notifications=0
notifications_enabled=1
active_checks_enabled=1
passive_checks_enabled=1
event_handler_enabled=1
problem_has_been_acknowledged=0
acknowledgement_type=0
flap_detection_enabled=1
failure_prediction_enabled=1
process_performance_data=0
obsess_over_service=1
last_update=1227151517
is_flapping=0
percent_state_change=0.00
scheduled_downtime_depth=0
}

i do not have contact{} defenition in my status.dat, I do however have
my contact in objects.cache, which is

define contactgroup {
contactgroup_name   staff
alias   staff
members DAC2
}

define contact {
contact_nameDAC2
alias   Dmitry A Chorine (Sprint)
service_notification_period 24x7
host_notification_period24x7
service_notification_optionsw,u,c,r
host_notification_options   d,u,r
service_notification_commands   notify-service-by-email
host_notification_commands  notify-host-by-email
email   [EMAIL PROTECTED]
pager   [EMAIL PROTECTED]
}

i honestly dont know where else to look

i'm pretty sure it's somewhere misconfiguration of nagios, because it
sometimes (very rare) does send notification (example)

d# grep NOTIFICATION nagios.log
[1227110402] SERVICE NOTIFICATION:
DAC2;hoowy;check_http;CRITICAL;notify-service-by-email;CRITICAL -
Socket timeout after 10 seconds
[1227110642] SERVICE NOTIFICATION:
DAC2;hoowy;check_http;OK;notify-service-by-email;HTTP OK HTTP/1.1 200
OK - 250 bytes in 9.802 seconds
[1227124132] SERVICE NOTIFICATION:
DAC2;ac1.alpha;check_http.ac;CRITICAL;notify-service-by-email;CRITICAL
- Socket timeout after 10 seconds
[1227124132] SERVICE NOTIFICATION:
AC;ac1.alpha;check_http.ac;CRITICAL;notify-service-by-email;CRITICAL -
Socket timeout after 10 seconds
[1227124602] SERVICE NOTIFICATION:
DAC2;ac1.alpha;check_http.ac;OK;notify-service-by-email;HTTP OK
HTTP/1.1 200 OK - 16328 bytes in 0.479 seconds
[1227124602] SERVICE NOTIFICATION:
AC;ac1.alpha;check_http.ac;OK;notify-service-by-email;HTTP OK HTTP/1.1
200 OK - 16328 bytes in 0.479 seconds
d#

no, configuration has been changed from that moment






On Wed, Nov 19, 2008 at 6:28 PM, Marc Powell [EMAIL PROTECTED] wrote:

 On Nov 19, 2008, at 4:48 PM, alexus wrote:

 nothing in nagios logs

 and locally it works, meaning if i copy and paste this command into
 shell i get an email/alert, but nagios itself doesn't trigger it for
 whatever reason...

 Nagios doesn't believe it's supposed to send notifications. If it did,
 at the very least it would log the attempt. Please post the general
 'program{}' section, the 'service{}' definition for something you
 should have received a notification and the 'contact{}' definition for
 that contact, *obtained from var/status.dat* (or whatever the value of
 status_file is in nagios.cfg). That will allow us to see for certain
 what

Re: [Nagios-users] nagios not sending service alerts

2008-11-18 Thread alexus
define  contactgroup {
contactgroup_name   staff
alias   staff
members DAC2
}   

define  contact {
contact_nameDAC2
alias   XXX
host_notification_period24x7
service_notification_period 24x7
host_notification_options   d,u,r
service_notification_optionsw,u,c,r
host_notification_commands  notify-host-by-email
service_notification_commands   notify-service-by-email
email   [EMAIL PROTECTED]
pager   [EMAIL PROTECTED]
}   


define  command {
command_namenotify-host-by-email
command_line/usr/bin/printf %b * Nagios 2.12
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost:
$HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo:
$HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | /usr/bin/mail -s Host
$HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$
}

define  command {
command_namenotify-service-by-email
command_line/usr/bin/printf %b * Nagios 2.12
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService:
$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState:
$SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional
Info:\n\n$SERVICEOUTPUT$ | /usr/bin/mail -s ** $NOTIFICATIONTYPE$
alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$
}

d# file /usr/bin/printf
/usr/bin/printf: ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), for FreeBSD 6.3, dynamically linked (uses shared libs),
stripped
d# file /usr/bin/mail
/usr/bin/mail: ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), for FreeBSD 6.3, dynamically linked (uses shared libs),
stripped
d#





On Tue, Nov 18, 2008 at 5:44 AM, Assaf Flatto [EMAIL PROTECTED] wrote:
 And the Contacts in the staff group , what notification did you put in there ?



 On Tuesday 18 November 2008 07:57:24 alexus wrote:
 for some reason I'm not getting any alerts for any of services, I
 think I've checked everywhere...

 I've created a dummy service

 [1226994112] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;SOFT;1;CRITICAL
 [1226994172] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;HARD;2;CRITICAL

 besides these two, nothing.. no NOTIFICATION

 this is my host configuration

 define  host {
   host_name   XXX
   alias   XXX
   address XXX
   parents XXX
   hostgroups  XXX
   check_command   check_icmp
   max_check_attempts  1
   check_interval  0
   active_checks_enabled   1
   passive_checks_enabled  1
   check_period24x7
   obsess_over_host1
   check_freshness 0
   event_handler_enabled   1
   flap_detection_enabled  1
   failure_prediction_enabled  1
   process_perf_data   0
   retain_status_information   1
   retain_nonstatus_information1
   contact_groups  staff
   notification_interval   30
   notification_period 24x7
   notification_optionsd,u,r,f
   notifications_enabled   1
   register1
   }

 and this is my service

 define  service {
 host_name   XXX
 service_description check_dummy
 is_volatile 0
 check_command   check_dummy!2
 max_check_attempts  2
 normal_check_interval   2
 retry_check_interval1
 active_checks_enabled   1
 passive_checks_enabled  1
 check_period24x7
 parallelize_check   1
 obsess_over_service 1
 check_freshness 0
 event_handler_enabled   1
 flap_detection_enabled  1
 failure_prediction_enabled  1
 process_perf_data   0
 retain_status_information   1
 retain_nonstatus_information1
 contact_groups  staff
 notification_interval   4
 notification_period 24x7
 notification_optionsw,u,c,r,f
 notifications_enabled   1
 register1
 }



 --
 Assaf Flatto
 SSP Ops Team
 Linux System Administrator
 169 Euston Road, London, NW1 2AE





 IMPORTANT . this email and the information in it may be confidential, legally
 privileged and/or protected by law. It is intended solely for the use of the
 person to whom

Re: [Nagios-users] nagios not sending service alerts

2008-11-18 Thread alexus
this is what i'm talking about, I'm not even seeing them in logs, so
nagios itself isn't generating alerts to send out

# grep log_notifications ~nagios/etc/nagios.cfg
log_notifications=1
#


On Tue, Nov 18, 2008 at 11:15 AM, hiren [EMAIL PROTECTED] wrote:
 On Tue, 2008-11-18 at 02:57 -0500, alexus wrote:
 for some reason I'm not getting any alerts for any of services, I
 think I've checked everywhere...

 I've created a dummy service

 [1226994112] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;SOFT;1;CRITICAL
 [1226994172] SERVICE ALERT: XXX.box;check_dummy;CRITICAL;HARD;2;CRITICAL

 you have notification logging in nagios.cfg enabled?
 if so, I think you should see messages that look like SERVICE
 NOTIFICATION. I see those in my logs among the SERVICE ALERT
 messages.
 this might help you decide if it's a nagios configuration issue or
 command issue somewhere else.


 besides these two, nothing.. no NOTIFICATION

 this is my host configuration

 define  host {
   host_name   XXX
   alias   XXX
   address XXX
   parents XXX
   hostgroups  XXX
   check_command   check_icmp
   max_check_attempts  1
   check_interval  0
   active_checks_enabled   1
   passive_checks_enabled  1
   check_period24x7
   obsess_over_host1
   check_freshness 0
   event_handler_enabled   1
   flap_detection_enabled  1
   failure_prediction_enabled  1
   process_perf_data   0
   retain_status_information   1
   retain_nonstatus_information1
   contact_groups  staff
   notification_interval   30
   notification_period 24x7
   notification_optionsd,u,r,f
   notifications_enabled   1
   register1
   }

 and this is my service

 define  service {
 host_name   XXX
 service_description check_dummy
 is_volatile 0
 check_command   check_dummy!2
 max_check_attempts  2
 normal_check_interval   2
 retry_check_interval1
 active_checks_enabled   1
 passive_checks_enabled  1
 check_period24x7
 parallelize_check   1
 obsess_over_service 1
 check_freshness 0
 event_handler_enabled   1
 flap_detection_enabled  1
 failure_prediction_enabled  1
 process_perf_data   0
 retain_status_information   1
 retain_nonstatus_information1
 contact_groups  staff
 notification_interval   4
 notification_period 24x7
 notification_optionsw,u,c,r,f
 notifications_enabled   1
 register1
 }







-- 
http://alexus.org/

-
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] nagios not sending service alerts

2008-11-18 Thread alexus
everything is enabled

through WEB UI as well

On Tue, Nov 18, 2008 at 11:09 AM, Marc Powell [EMAIL PROTECTED] wrote:

 On Nov 18, 2008, at 9:46 AM, alexus wrote:

 define  contactgroup {
   contactgroup_name   staff
   alias   staff
   members DAC2
   }

 define  contact {
   contact_nameDAC2
   alias   XXX
   host_notification_period24x7
   service_notification_period 24x7
   host_notification_options   d,u,r
   service_notification_optionsw,u,c,r
   host_notification_commands  notify-host-by-email
   service_notification_commands   notify-service-by-email
   email   [EMAIL PROTECTED]
   pager   [EMAIL PROTECTED]
   }

 Looks fine. Are notifications disabled for the service in the web
 interface or disabled globally, either in nagios.cfg or via the web
 interface?

 --
 Marc


 -
 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




-- 
http://alexus.org/

-
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] two pings / service depended on host

2008-07-16 Thread alexus
I have general question, whenever I add new host to nagios, i add it
with check_host_alive or check_icmp or check_ping, but then i have to
add check_ping as a service as well, for service dependencies, as i
can't depend a services on host

how do you guys do that? do you do two pings per host or is there some
other way?

-- 
http://alexus.org/

-
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] Best administration tool for Nagios

2008-06-02 Thread alexus
i like nagiosQL, i haven't tried latest version yet, but older had
some bugs, i really hope they fix it in new release


On Fri, Apr 25, 2008 at 12:42 PM, Luis Fernando Lacayo
[EMAIL PROTECTED] wrote:
 Not to offend anyone,

 But I think that this is a great opportunity for the community to get
 involved and help with the translation.  Unfortunately, my French is as
 good as my Arabic, but I am willing to help with the Spanish version.

 :-)

 Thanks,

 Luis

 On Fri, 2008-03-28 at 15:29 +1300, Steve Wray wrote:
 Yost, Karl wrote:
  Centreon for me, support for nagios 3 is on the way with the Centreon 2
  release.

 yeah it looks interesting but a fair bit of it still seems to come
 through in French even though I've told it my language choice is en.

 Eg Services Check Load de l'host oreon

 Forums would be more useful if you know French too... I guess that, wow,
 the universe really *doesn't* revolve around English...

 :)


  Thanks,
  Karl
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of PO
  Michel
  Sent: Wednesday, March 26, 2008 8:43 AM
  To: nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] Best administration tool for Nagios
 
  Hi list
 
  What is the best PHP/Mysql based tool to administer Nagios ? Nagios Web
  Config ? NagEdit ? Nagios PHP ? NagiosQL ? Nagat ?
 
  Does someone has an idea of which tool will sooner support Nagios 3.0 ?
 
  Thanks in advance for your advice,
 
 
  - PO Michel (misterpo)


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
 ___
 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
 --
 Luis Fernando Lacayo
 Chicago Public Schools
 Senior Unix Administrator
 ITS/ UNIX Infrastructure
 Office: 773-553-3835
 Cell: 773-203-4493


 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.
 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 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




-- 
http://alexus.org/

-
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/plugin

2008-03-09 Thread alexus
anyone??


On Sat, Mar 8, 2008 at 6:04 PM, alexus [EMAIL PROTECTED] wrote:
 hi

 i ran into one very interesting issue

 whenever i do from nagios box

 d# ./check_nrpe -H XX.XX.XX.XX -c check_procs -a rsync
 PROCS OK: 1 process with args 'rsync'
 /(!8@((c)Þ
 d#

 what with those extra characters??

 on remote box in debug log i see following

 Mar  8 16:58:02 box nrpe[61700]: Connection from XX.XX.XX.XX port 26050
 Mar  8 16:58:02 box nrpe[61700]: Host address is in allowed_hosts
 Mar  8 16:58:02 box nrpe[61700]: Handling the connection...
 Mar  8 16:58:02 box nrpe[61700]: Host is asking for command
 'check_procs' to be run...
 Mar  8 16:58:02 box nrpe[61700]: Running command:
 /usr/local/nagios/libexec/check_procs -a rsync
 Mar  8 16:58:02 box nrpe[61700]: Command completed with return code 0
 and output: PROCS OK: 1 process with args 'rsync' /(!8@(A9DE^D^H^R
 Mar  8 16:58:02 box nrpe[61700]: Return Code: 0, Output: PROCS OK: 1
 process with args 'rsync' /(!8@(A9DE^D^H^R
 Mar  8 16:58:02 box nrpe[61700]: Connection from 64.237.55.82 closed.

 yet if i issue command myself

 su-3.2# /usr/local/nagios/libexec/check_procs -a rsync
 PROCS OK: 0 processes with args 'rsync'
 su-3.2#

 any ideas?



 --
 http://alexus.org/




-- 
http://alexus.org/
-
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/plugin

2008-03-08 Thread alexus
hi

i ran into one very interesting issue

whenever i do from nagios box

d# ./check_nrpe -H XX.XX.XX.XX -c check_procs -a rsync
PROCS OK: 1 process with args 'rsync'
/(!8@((c)Þ
d#

what with those extra characters??

on remote box in debug log i see following

Mar  8 16:58:02 box nrpe[61700]: Connection from XX.XX.XX.XX port 26050
Mar  8 16:58:02 box nrpe[61700]: Host address is in allowed_hosts
Mar  8 16:58:02 box nrpe[61700]: Handling the connection...
Mar  8 16:58:02 box nrpe[61700]: Host is asking for command
'check_procs' to be run...
Mar  8 16:58:02 box nrpe[61700]: Running command:
/usr/local/nagios/libexec/check_procs -a rsync
Mar  8 16:58:02 box nrpe[61700]: Command completed with return code 0
and output: PROCS OK: 1 process with args 'rsync' /(!8@(A9DE^D^H^R
Mar  8 16:58:02 box nrpe[61700]: Return Code: 0, Output: PROCS OK: 1
process with args 'rsync' /(!8@(A9DE^D^H^R
Mar  8 16:58:02 box nrpe[61700]: Connection from 64.237.55.82 closed.

yet if i issue command myself

su-3.2# /usr/local/nagios/libexec/check_procs -a rsync
PROCS OK: 0 processes with args 'rsync'
su-3.2#

any ideas?



-- 
http://alexus.org/
-
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_disk

2007-11-15 Thread alexus
Hello,

I'm having following issue, and i was wondering to get people's
input/suggestions for that:

i have a box, that has external storage connect through external
SCSI/RAID card, and i'm using check_disk to monitor free space on it.
external enclosure actually failed, not enclosure itself but power
supply failed, and it became unavailable for my box, when i issued
check_disk, check_disk didn't say anything as drives weren't available
for check_disk to check.

what from nagios i can use to monitor that external enclosure, that it
is there...

if i hardcode -p flag and point it to external enclosure, that would
seems to do the trick, but then again, i'm hardcoding stuff, plus if
we add/change anything there, i'm going need to make appropriate
changes in nagios to reflect those changes, so i was hoping maybe
there is some other, better way of doing that.


thank you.

-- 
http://alexus.org/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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] Fwd: check_disk

2007-11-15 Thread alexus
sorry, i hit reply instead of reply all


-- Forwarded message --
From: alexus [EMAIL PROTECTED]
Date: Nov 15, 2007 3:55 PM
Subject: Re: [Nagios-users] check_disk
To: Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED]


well, defining service as you defined for me, i have no problem doing
that, but i was hoping maybe there is something else besides
check_disk that can see if external storage is exists/attached to my
box, and i really didnt want to hardcode devices and/or mount points
as if something adds changes it wouldnt pick it up on the fly, while
if you not using -p in check_disk plugin it would have pick up
anything that is available, in my case its also a bad thing since if
drive isn't available then check_disk wouldn't even see that either,
it can only say if there is an issue with disk space and that is it.



On Nov 15, 2007 3:39 PM, Valdinger, Stephen (DOV, MSX)

[EMAIL PROTECTED] wrote:


 -Original Message-
 From: alexus [mailto:[EMAIL PROTECTED]

 Sent: Thursday, November 15, 2007 3:32 PM
 To: Valdinger, Stephen (DOV, MSX)
 Subject: Re: [Nagios-users] check_disk

 local (nagios)
 nagios 2.9
 check_disk (nagios-plugins 1.4.5) 1.79
 Red Hat Enterprise Linux ES release 4 (Nahant Update 5)

 remote (ext)
 check_disk (nagios-plugins 1.4.2) 1.57
 Red Hat Enterprise Linux ES release 3 (Taroon Update 9)

 fdisk -l (without) external enclosure attached:
 [EMAIL PROTECTED] root]# fdisk -l

 Disk /dev/cciss/c0d0: 146.8 GB, 146807930880 bytes
 255 heads, 32 sectors/track, 35139 cylinders
 Units = cylinders of 8160 * 512 = 4177920 bytes

   Device BootStart   EndBlocks   Id  System
 /dev/cciss/c0d0p1   * 125101984   83  Linux
 /dev/cciss/c0d0p226 34638 141221040   83  Linux
 /dev/cciss/c0d0p3 34639 35139   2044080   82  Linux swap
 [EMAIL PROTECTED] root]#


 and this is with external enclosure attached:

 [EMAIL PROTECTED] root]# fdisk -l

 Disk /dev/cciss/c1d0: 291.3 GB, 291334717440 bytes
 255 heads, 32 sectors/track, 69732 cylinders
 Units = cylinders of 8160 * 512 = 4177920 bytes

 Disk /dev/cciss/c1d0 doesn't contain a valid partition table

 Disk /dev/cciss/c1d1: 587.2 GB, 587243773952 bytes
 255 heads, 63 sectors/track, 71394 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes

 Disk /dev/cciss/c1d1 doesn't contain a valid partition table

 Disk /dev/cciss/c0d0: 146.8 GB, 146807930880 bytes
 255 heads, 32 sectors/track, 35139 cylinders
 Units = cylinders of 8160 * 512 = 4177920 bytes

   Device BootStart   EndBlocks   Id  System
 /dev/cciss/c0d0p1   * 125101984   83  Linux
 /dev/cciss/c0d0p226 34638 141221040   83  Linux
 /dev/cciss/c0d0p3 34639 35139   2044080   82  Linux swap
 [EMAIL PROTECTED] root]#
 #

 
 Disk /dev/cciss/c1d1: 587.2 GB, 587243773952 bytes
 255 heads, 63 sectors/track, 71394 cylinders Units = cylinders of 16065 * 512 
 = 8225280 bytes

 Disk /dev/cciss/c1d1 doesn't contain a valid partition table

 I'm going to wager a guess that this is the external scsi drive.

 As such, here is a basic command definition for check_disk

 define service{
host_name   linuxhost
command_namecheck_disk!/dev/cciss/c1d1!75!90
service_description External SCSI Disk
 }

 This is just a very basic service definition that supplies the location of 
 the disk to $ARG1$, warning criteria to $ARG2$, and critical criteria to 
 $ARG3$. This is not all conclusive, as I have no idea what you have defined 
 in your service template.

 Stephen Valdinger







--
http://alexus.org/



-- 
http://alexus.org/

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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 timesout!

2007-11-06 Thread alexus
i  understand that, all of those are enabled as before i switched to
nagios3 and trying to reconfigure everything from scratch it seems to
be working fine in nagios2 (using same settings from nagios2 to
nagios3) with nrpe, so i've dealt with nrpe and it has been working in
the past

On Nov 2, 2007 4:31 AM, Hari Sekhon [EMAIL PROTECTED] wrote:
 alexus wrote:
  i assume instead of check_http -a 10.10.10.34 you mean whatever is in
  nrpe.cfg for check_http command, so i'm showing you whats in there and
  i'm trying to execute that command and it works fine, but not through
  nrpe...
 
  # grep check_http ~nagios/etc/nrpe.cfg
  command[check_http]=/usr/local/nagios/libexec/check_http -I $ARG1$ -e 200
  # /usr/local/nagios/libexec/check_http -I 10.10.10.34 -e 200
  HTTP OK HTTP/1.1 200 OK - 299 bytes in 0.002 seconds
  |time=0.002095s;;;0.00 size=299B;;;0
  #
 2 things:

 1. Are you running this as root? The # at the beginning of the line
 suggests so. Try running it as the user account that nrpe runs as.

 2. You are passing args through nrpe, this is not good practice. It also
 will not work unless you have dont_blame_nrpe=1 in your nrpe.cfg on the
 remote host against which you are executing the nrpe call. I would
 recommend not passing args but instead defining more check_commands with
 the args already in them, this is more secure as it is more tightly
 controlled.

 -h




-- 
http://alexus.org/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.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] check_file_age

2007-11-05 Thread alexus
what if i need to check if file is no more then X Mb, how would I do
that? because with check_file_age it only allowes you to check if it
at least X amount of bytes, not the other way around.

-- 
http://alexus.org/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.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] nrpe timesout!

2007-11-01 Thread alexus
i assume instead of check_http -a 10.10.10.34 you mean whatever is in
nrpe.cfg for check_http command, so i'm showing you whats in there and
i'm trying to execute that command and it works fine, but not through
nrpe...

# grep check_http ~nagios/etc/nrpe.cfg
command[check_http]=/usr/local/nagios/libexec/check_http -I $ARG1$ -e 200
# /usr/local/nagios/libexec/check_http -I 10.10.10.34 -e 200
HTTP OK HTTP/1.1 200 OK - 299 bytes in 0.002 seconds
|time=0.002095s;;;0.00 size=299B;;;0
#


On 10/30/07, Hari Sekhon [EMAIL PROTECTED] wrote:
 alexus wrote:
  does it make sense for anyone?
 
  d# ~nagios/libexec/check_nrpe -H 10.10.10.34
  NRPE v2.6
  d# ~nagios/libexec/check_nrpe -H 10.10.10.34 -c check_http -a 10.10.10.34
  CHECK_NRPE: Socket timeout after 10 seconds.
  d#
 
 
 
 This does not make sense to me. Why are you using nrpe against a machine
 and then testing the web server on the same local machine?

 If you have a good reason and insist on doing this, then try logging in
 the the machine 10.10.10.34 and running the check_http -a 10.10.10.34
 command manually to see if the plugin is returning properly. Nrpe could
 timeout waiting for the plugin. Alternatively you can also try to
 increase the check_nrpe timeout to 30 secs with -t 30.

 -h

 Hari Sekhon






-- 
http://alexus.org/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.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] nrpe timesout!

2007-10-29 Thread alexus
does it make sense for anyone?

d# ~nagios/libexec/check_nrpe -H 10.10.10.34
NRPE v2.6
d# ~nagios/libexec/check_nrpe -H 10.10.10.34 -c check_http -a 10.10.10.34
CHECK_NRPE: Socket timeout after 10 seconds.
d#


-- 
http://alexus.org/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.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] check_http

2007-10-08 Thread alexus
how can i create a command/template using check_http and as paramert1
pass virtual host (website address)

sounds too easy?

here is the big problem...

i want to be able to check several websites that resides on 1 IP, so
i'm going be using same template,check_command to query mulitple
virtualhosts, last time when i've tried using that (unless i did
something wrong) nagios didnt like me using multiple entrys...

any suggestions/tricks/workaround are very welcome

thanks

-- 
http://alexus.org/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.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] check_mysql -S isn't working

2007-08-02 Thread alexus
# ./check_mysql -H 10.52.208.99 -u  -p x -S
Slave IO: Yes Slave SQL: No Seconds Behind Master: (null)
#

how come I get null in No Seconds Behind Master?
anyone?


-- 
http://alexus.org/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.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] check_mysql -S isn't working {Disarmed} {Fraud?}

2007-08-02 Thread alexus
ok, 'Seconds Behind Master' does have value of null, but
where and what do i need to set, in order for it to function properly?
i'm using mysql-5.0.45



On 8/2/07, Marc Powell [EMAIL PROTECTED] wrote:



  -Original Message-
  From: [EMAIL PROTECTED] [mailto:nagios-users-
  [EMAIL PROTECTED] On Behalf Of alexus
  Sent: Thursday, August 02, 2007 2:24 PM
  To: Nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] check_mysql -S isn't working {Disarmed}
 {Fraud?}
 
  # ./check_mysql -H 10.52.208.9910. http://10.52.208.99  -u  -p
  x -S
  Slave IO: Yes Slave SQL: No Seconds Behind Master: (null)
  #
 
  how come I get null in No Seconds Behind Master?
  anyone?

 Ok. I'll bite on the second time around...

 My GUESS- The Seconds_Behind_Master column of the of the mysql command
 'show slave status' has the value 'null' or is empty. Connect to mysql,
 issue the 'show slave status;' command and verify if that's the case.

 Alternately, the version of mysql that you are using, whatever it is,
 changed that column such that the plugin can no longer parse it.

 Alternately, the slave is broken in some way.

 --
 Marc

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.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




-- 
http://alexus.org/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.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] check_mysql -S isn't working

2007-08-02 Thread alexus
my replication does work...

On 8/2/07, Peter Hinse [EMAIL PROTECTED] wrote:

 alexus wrote:
  # ./check_mysql -H 10.52.208.99 http://10.52.208.99 -u 
  -p x -S
  Slave IO: Yes Slave SQL: No Seconds Behind Master: (null)
  #
 
  how come I get null in No Seconds Behind Master?
  anyone?

 Read it as

 Slave IO: Yes
 Slave SQL: No
 Seconds Behind Master: (null)

 Your replication does not seem to work. Try a

 slave stop ;
 slave start ;
 show slave status ;

 on your mysql console.

 Regards,

Peter




-- 
http://alexus.org/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.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] check_mysql

2007-07-31 Thread alexus
Hello,

I'm running into a little issue here, whenever I check if the slave thread
is running properly, I get this:

No Seconds Behind Master: (null)

here is the command, I issue:

# ~nagios/libexec/check_mysql -H db2 -u repl -p slavepass -S
Slave IO: Yes Slave SQL: No Seconds Behind Master: (null)
#

for the test purpose (just to be on safe side)  I even tried it with root,
same thing...

replication is however is working, and for test purposes, replication was
interupted, yet nagios didn't send any alerts, obviosly due to something
wrong with nagios plugin.
another weird issue, i'm having is even though I get that output whenever I
try to run command manually, nagios doesn't show me, CRITICAL state through
Services.

please advise,
thank you in advance

-- 
http://alexus.org/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.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] nagios

2007-07-31 Thread alexus
this might seem a little complicated, but it's really not that
complicated... anyways..

i have service that assigned to a hostgroup (not to an idividual host).
host have specific timeperiod that i want to be monitored/notified
service has different 24x7 timeperiod, as it needs to check for other hosts,
that are being monitored/notified on 24x7 basis

the thing is, whenever host goes down, nagios supress any service alerts,
but since in my case service is being monitored 24x7 it still keeps on
notifiying me about service is being down, even though i specified that host
doesn't need to be monitored/notified and there for is services assigned to
this host for that time period.

so its kind of mix, now i dont know if this is a bug or do I need to create
another service to monitor non-24 timeperiod hosts

i hope it made some sort of sense...

please advice
thank you

-- 
http://alexus.org/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.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