Re: [Nagios-users] what should i do?

2010-01-24 Thread Terry L. Inzauro
On 01/24/2010 06:29 PM, fizah zali wrote:
 hello,
  
 Initially, i have successfully installed nagios 3.2 version but after
 the installation of nagios-text, the nagios 3.2 version turn to nagios
 1.3 version.
 What should i do to get back the nagios 3.2 version?
 

Odd, someone asked this very questio on the 22nd.

You would get better responses if you actually asked good questions or gave the 
list participants one iota of information to
work with.

Eric Steven Raymond made a document to assist with the art of asking questions:
http://catb.org/~esr/faqs/smart-questions.html


Please read, then repost.


kind regards,


Terry Inzauro



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] Plugins for jvm memory

2010-01-22 Thread Terry L. Inzauro
On 01/22/2010 06:38 AM, Wolfe, Robert wrote:
 Renaud, have you tried giving Nagios Exchange a search for this?
  
 
 *From:* Renaud Vanderhagen [skym...@hotmail.com]
 *Sent:* Friday, January 22, 2010 2:48 AM
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* [Nagios-users] Plugins for jvm memory
 
 
 Hello all !
 
 I'm new in Nagios world and I want to monitor the jvm memory of tomcat
 with NRPE...
 I want nagios warn me if the memory used is over 80% or 90%.
 Do you know a plugins for that ?
 
 Thank you a lot !
 


check_procs will accomplish what you desire:

http://nagiosplugins.org/man/check_procs


kind regards,


Terry Inzauro
http://ha-solutions.net



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] removing and installing nagios

2010-01-22 Thread Terry L. Inzauro
On 01/22/2010 02:39 PM, liyas m wrote:
 i use apt-get remove nagios-text and apt-get remove --purge nagios-text
 but still does not work
 the old version 1.3 is still there.
 
 
 On Thu, Jan 21, 2010 at 6:17 PM, Assaf Flatto nag...@flatto.net
 mailto:nag...@flatto.net wrote:
 
 liyas m wrote:
  DEar all,
 
   I have installed nagios 3.2 on my server for student project and
   everything worked fine until i run apt-get nagios-text. After
 that the
  version appeared on the server is Nagios 1.3 not 3.2 which is very
   strange. I tried to reinstalled but still the old version appear
   although the engine shown by nagios -c is 3.2
 
   Nagios Core 3.2.0
   Copyright (c) 2009 Nagios Core Development Team and Community
  Contributors
   Copyright (c) 1999-2009 Ethan Galstad
   Last Modified: 08-12-2009
   License: GPL
 
   How do I remove the old version ? Thank you for your help.
 
   Regards,
  Liyas
 if you installed with apt - you can try apt-get purge nagios-text .
 that will remove the package installed .
 As for returning to  the source installed software - you might have to
 rerun the configure / make process to make sure the newer files are
 installed and used .
 
 or you can use the blunt force method and rm every file related to
 nagios - but i wouldn't recommend it  , only as a last resort .
 
 Assaf
 


If, by helping you, are we enabling you to cheat? If the answer is yes, you had 
better stop reading this and figure out your
issue on your own (by reading the apt docs...hint...hint)


What OS/version is this?

-
If the OS is Debian Lenny (This may/may not work in Ubuntu):
-

Fist find which nagios packages are installed. Install apt-show-versions.  I 
recommend using aptitude has it has greater
package dependency handling abilities and saftey guards.


[15:27:28 r...@jenna:~]# aptitude install apt-show-versions


Second, invoke apt-show-versions and parse the output using grep.

[15:29:28 r...@jenna:~]# apt-show-versions  | grep nagios
nagios-images/lenny uptodate 0.4
nagios-nrpe-plugin/lenny uptodate 2.12-1
nagios-plugins/lenny uptodate 1.4.12-5
nagios-plugins-basic/lenny uptodate 1.4.12-5
nagios-plugins-standard/lenny uptodate 1.4.12-5
nagios3/lenny uptodate 3.0.6-4~lenny2
nagios3-common/lenny uptodate 3.0.6-4~lenny2
nagios3-doc/lenny uptodate 3.0.6-4~lenny2
[15:29:33 r...@jenna:~]#


The first string is the package name to use as an argument to `aptitude remove 
--purge`.  I recommend you start from scratch
and remove ALL nagios packages to help quell confusion.

If I wanted to only remove the nagios core package(s) (and purge configuration 
files) I would invoke aptitude like this:

[15:29:33 r...@jenna:~]# aptitude remove --purge nagios3 nagios3-common

If I wanted to save the configuration files, I would omit the --purge switch.

If, you are like me and are short tempered, you can invoke aptitude with more 
than one task. Such as the following.

[15:29:33 r...@jenna:~]# aptitude remove --purge nagios3 nagios3-common nagios2+

This command will remove (and purge) nagios3 and nagios3-common. Then it will 
install nagios2 thuns accomplishing a
downgrade.  Obviously, this command isn't what you want, but I decided to show 
it for informational purposes.



hope this helps.


Terry
http://ha-solutions.net
-- 
/*
Name:   Terry Inzauro
Locale: Omaha Office
Addr0:  222 South 15th
Addr1:  Suite 3B
Addr2:  Omaha, NE 68102
Office: 402.884.7967x103
Fax:402.884.7970
Mobile: 402.212.1450
Email:  tinza...@ha-solutions.net
Web1:   http://ha-solutions.net
Web2:   http://storsolgroup.com
GNNUPG: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0xE55FA44C
*/

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-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] conditional statments in alerts

2009-09-25 Thread Terry L. Inzauro
Does nagios support (in one way or another) the support to checking of the 
existence of a defined macro and then including it
if it does?

Example (in alert command definition):

if $HOSTACKCOMMENT$
the
include $HOSTACKCOMMENT$ in email alert?


best regards,


_Terry


--
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] Fwd: Contact w/ clue re: ATT SMS email gateway?

2009-09-18 Thread Terry L. Inzauro
Marc Powell wrote:
 Seen on NANOG mailling list, forwarding here due to recent question  
 about this same issue. Appears to be an ATT thing at this point.
 
 No interesting responses to the thread yet.
 
 --
 Marc
 
 Begin forwarded message:
 
 From: Dave Pascoe davek...@gmail.com
 Date: September 17, 2009 2:03:55 PM CDT
 To: na...@nanog.org
 Subject: Contact w/ clue re: ATT SMS email gateway?
 Reply-To: Dave Pascoe d...@tcnc.com

 Recently something seems to have changed with the @txt.att.net email  
 to
 SMS gateway.  Messages sent through the gateway suffer from the  
 following:

 1) Long delay in reaching the phone (intermittent)
   (yes I know there is no latency guarantee)

 and, even more crippling,

 2) Message comes through as just SMS Message instead of the SMTP
 message content.  And the sender is always 410-000-01x, where x
 increments by 1 with each new incoming email-to-SMS gateway-handled  
 message.

 Phone is an iPhone 3GS.  This has worked fine for quite a while.  No
 changes on the iPhone.

 I have gone through normal ATT Wireless Customer Service but there
 isn't much clue there - had to explain what an email to SMS gateway  
 is.

 Anyone elese seeing this?  Anyone from ATT Wireless here?

 Please contact me off-list.

 TIA,
 Dave Pascoe

 

i've been seeing this behavior for about 3 months now.  from what i understand, 
it is caused by the large influx of traffic
generated by the iphones.  the sms from change is not specific to the iphone 
(i use an old motorola razr ) and I see the
same behavior.

the att network just cant keep up, that is, right now.  it is to my 
understanding that att is planning some major upgrades
but those upgrades will not affect current users. the users will have to 
upgrade in order to take advantage of the new tech.

http://www.nytimes.com/2009/09/03/technology/companies/03att.html?_r=1hp



regards,


_Terry




--
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] unusual behavior

2009-05-27 Thread Terry L. Inzauro
List,

I have an odd occurrence that I cant seem to work out.

I have a host with various services defined that belongs to a hostgroup and 
such. The other day, the host had some IP issues
that cause nagios to report that the services were down.  After the host came 
back up, there was one service (check_dig) that
still reported as being down. All other services were fine (check_ssh, 
check_users, check_load, check_ping, check_procs).

The only workaround that allowed the check_dig to return to normal was to 
change the  'host_name' and 'alias' in the host
definition.

host_name   host-mgmt
alias   host.dom.tld

It seemed that there was a cached or stale entry stored somewhereAny ideas 
as to why this would be?



regards,


_Terry



--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-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] Binding Nagios to a single domain

2009-04-27 Thread Terry L. Inzauro
vism...@email.it wrote:
 Hello,
 
 I have installed Nagios on a machine which has more than one domain; all is
 working fine, but I reach Nagios login form from all domains hosted in the
 machine. 
 
 I'd like to set Nagios in the way that it will be accessible only via one
 specified domain (for example testingtools.mydomain.com/nagios) and
 absolutely not from others; it is possibile? 
 If yes, how I can make this? 
 
 Another question: it is possible to switch Nagios first page (immediately
 after the login) to a specified one (for example the tactical view)?
 
 Thank you in advance!
 
 Best regards!
 
  

Assuming you are using Apache 2.x (and i understand you question correctly):

Looks like you have Nagios setup under the _defaut_ vhost and you need it 
setup as a separate Apache virtual host with its
own authentication setup.

See http://httpd.apache.org/docs/2.0/vhosts/ for information on how to 
accomplish this. Dedicate the Nagios installation to a
specific virtual host with its own auth and you should be off to the races.

As far as the default view is concerned, I am stumped. You should be able to 
use Apache mod_rewrite to accomplish if Nagios
doesn't do it natively.

hope this helps.


regards,


_Terry







--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
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 and Festival

2008-12-16 Thread Terry L. Inzauro
TheCajun wrote:
 TheCajun wrote:
 I have recently upgraded to Fedora10.  It seems every release they
 decide to break something.  Fedora9 was Video.

 I have Nagios working using my old configuration from Fedora9.  But when
 a monitored service has a problem, I get no audio.  Log shows this..

 Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: 
 domino;(null);(null);(null);host-notify
 Dec 16 01:23:58 localhost nagios: SERVICE ALERT: 
 zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65
 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: 
 durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 
 1.65
 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM 
 device hw:0: Permission denied
 Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load  
 module module-alsa-sink (argument: device_id=0 
 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 
 tsched=1): initialization failed.
 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM 
 device hw:0: Permission denied
 Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load  
 module module-alsa-source (argument: device_id=0 
 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 
 tsched=1): initialization failed.


 If I su to nagios user and use festival directly, I get this..

 I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
 I: caps.c: Dropping root privileges.
 I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.


 Festival does work as root, and I can play music using xmms logged on as
 my normal user.

 During my searches, it was suggested to add nagios to certain pulseaudio
 groups which I did.  This did nothing.

 Any one have any ideas?

 Thank you for any help.

 Durwin

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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


 Try seeing what the group perms are for /dev/audiodevice and update your 
 nagios user/group
 accordingly. maybe they changed perms on you...lowlife bastards ;(

 Both /dev/dsp and /dev/audio are 660 and user and group are both root. 
 Isn't that as it should be?  Isn't Pulseaudio suppose to interface with
 the hardware and not the individual processes?
 

i can't remember. try chgrp'ing the /dev/audiodevice to match your nagios/group 
user and see it that
works...




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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] Nagios and Festival

2008-12-16 Thread Terry L. Inzauro
TheCajun wrote:
 I have recently upgraded to Fedora10.  It seems every release they
 decide to break something.  Fedora9 was Video.
 
 I have Nagios working using my old configuration from Fedora9.  But when
 a monitored service has a problem, I get no audio.  Log shows this..
 
 Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: 
 domino;(null);(null);(null);host-notify
 Dec 16 01:23:58 localhost nagios: SERVICE ALERT: 
 zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65
 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: 
 durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 
 1.65
 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM 
 device hw:0: Permission denied
 Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load  module 
 module-alsa-sink (argument: device_id=0 
 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 tsched=1): 
 initialization failed.
 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening PCM 
 device hw:0: Permission denied
 Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load  module 
 module-alsa-source (argument: device_id=0 
 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 tsched=1): 
 initialization failed.
 
 
 If I su to nagios user and use festival directly, I get this..
 
 I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
 I: caps.c: Dropping root privileges.
 I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
 
 
 Festival does work as root, and I can play music using xmms logged on as
 my normal user.
 
 During my searches, it was suggested to add nagios to certain pulseaudio
 groups which I did.  This did nothing.
 
 Any one have any ideas?
 
 Thank you for any help.
 
 Durwin
 
 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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



Try seeing what the group perms are for /dev/audiodevice and update your nagios 
user/group
accordingly. maybe they changed perms on you...lowlife bastards ;(




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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] Nagios and Festival

2008-12-16 Thread Terry L. Inzauro
Terry L. Inzauro wrote:
 TheCajun wrote:
 TheCajun wrote:
 I have recently upgraded to Fedora10.  It seems every release they
 decide to break something.  Fedora9 was Video.

 I have Nagios working using my old configuration from Fedora9.  But when
 a monitored service has a problem, I get no audio.  Log shows this..

 Dec 16 01:21:36 localhost nagios: HOST EVENT HANDLER: 
 domino;(null);(null);(null);host-notify
 Dec 16 01:23:58 localhost nagios: SERVICE ALERT: 
 zaphod;CheckLoad;OK;HARD;1;OK - load average: 0.03, 0.24, 1.65
 Dec 16 01:23:58 localhost nagios: SERVICE NOTIFICATION: 
 durwin;zaphod;CheckLoad;OK;service-festival;OK - load average: 0.03, 0.24, 
 1.65
 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening 
 PCM device hw:0: Permission denied
 Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load  
 module module-alsa-sink (argument: device_id=0 
 sink_name=alsa_output.pci_1274_1371_sound_card_0_alsa_playback_0 
 tsched=1): initialization failed.
 Dec 16 01:23:58 localhost pulseaudio[28852]: alsa-util.c: Error opening 
 PCM device hw:0: Permission denied
 Dec 16 01:23:58 localhost pulseaudio[28852]: module.c: Failed to load  
 module module-alsa-source (argument: device_id=0 
 source_name=alsa_input.pci_1274_1371_sound_card_0_alsa_capture_0 
 tsched=1): initialization failed.


 If I su to nagios user and use festival directly, I get this..

 I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
 I: caps.c: Dropping root privileges.
 I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.


 Festival does work as root, and I can play music using xmms logged on as
 my normal user.

 During my searches, it was suggested to add nagios to certain pulseaudio
 groups which I did.  This did nothing.

 Any one have any ideas?

 Thank you for any help.

 Durwin

 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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

 Try seeing what the group perms are for /dev/audiodevice and update your 
 nagios user/group
 accordingly. maybe they changed perms on you...lowlife bastards ;(

 Both /dev/dsp and /dev/audio are 660 and user and group are both root. 
 Isn't that as it should be?  Isn't Pulseaudio suppose to interface with
 the hardware and not the individual processes?

 
 i can't remember. try chgrp'ing the /dev/audiodevice to match your 
 nagios/group user and see it that
 works...
 
 
 
 
 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at
 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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



does alsaconf run properly?



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.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-plugins fail to compile solaris 10 x86/x64

2008-05-21 Thread Terry L. Inzauro
hey list,

im getting the following when attempting to compile nagios-plugins on a
solaris 10 x86 (x4500) box.


# begin background system info


-bash-3.00$ uname -a
SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc

-bash-3.00$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

-bash-3.00$ which ar
/usr/local/bin/ar

-bash-3.00$ which make
/usr/local/bin/make

-bash-3.00$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-solaris2.10

# end background system


# begin make errors (output truncated)

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT vasnprintf.o -MD -MP -MF
.deps/vasnprintf.Tpo -c -o vasnprintf.o vasnprintf.c; \
then mv -f .deps/vasnprintf.Tpo .deps/vasnprintf.Po; else rm
-f .deps/vasnprintf.Tpo; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT vasprintf.o -MD -MP -MF
.deps/vasprintf.Tpo -c -o vasprintf.o vasprintf.c; \
then mv -f .deps/vasprintf.Tpo .deps/vasprintf.Po; else rm
-f .deps/vasprintf.Tpo; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT xmalloc.o -MD -MP -MF
.deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c; \
then mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po; else rm -f
.deps/xmalloc.Tpo; exit 1; fi
rm -f libgnu.a
ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o
xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o
creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o
fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o
pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o
safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o
vasprintf.o xmalloc.o
/bin/bash: /usr/local/bin/ar: Invalid argument
make[3]: *** [libgnu.a] Error 126
make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11'


any ideas?



regards,


_Terry




-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios-plugins fail to compile solaris 10 x86/x64

2008-05-21 Thread Terry L. Inzauro
[EMAIL PROTECTED] wrote:
 I used the following:
 
 ./configure --prefix=/opt/nagios --enable-perl-modules
 --with-perl=/usr/bin/perl --without-ipv6 --without-openssl
 --without-ssl --disable-ssl --disable-openssl
 --with-ps-command=/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime
 comm args' --with-ps-format=%s %d %d %d %d %d %f %s %s %n
 --with-ps-cols=10
 -with-ps-varlist=procstat,procuid,procpid,procppid,procvsz,procrss,procpcpu,procetime,procprog,pos
 
 I also used the sunfreeware gcc compiler instead.
 
 binaries are available on the nagiosexchange:
 
 http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2564.html;d=1
 
 
 On 5/21/08, Terry L. Inzauro [EMAIL PROTECTED] wrote:
 list,

 im getting the following when attempting to compile nagios-plugins on a
 solaris 10 x86 (x4500) box.


 # begin background system info


 -bash-3.00$ uname -a
 SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc

 -bash-3.00$ gcc -v
 Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
 Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
 --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
 --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
 --enable-shared
 Thread model: posix
 gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

 -bash-3.00$ which ar
 /usr/local/bin/ar

 -bash-3.00$ which make
 /usr/local/bin/make

 -bash-3.00$ make -v
 GNU Make 3.81
 Copyright (C) 2006  Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE.

 This program built for i386-pc-solaris2.10

 # end background system


 # begin make errors (output truncated)

 if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
 -I/usr/local/ssl/include  -g -O2 -MT vasnprintf.o -MD -MP -MF
 .deps/vasnprintf.Tpo -c -o vasnprintf.o vasnprintf.c; \
 then mv -f .deps/vasnprintf.Tpo .deps/vasnprintf.Po; else rm
 -f .deps/vasnprintf.Tpo; exit 1; fi
 if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
 -I/usr/local/ssl/include  -g -O2 -MT vasprintf.o -MD -MP -MF
 .deps/vasprintf.Tpo -c -o vasprintf.o vasprintf.c; \
 then mv -f .deps/vasprintf.Tpo .deps/vasprintf.Po; else rm
 -f .deps/vasprintf.Tpo; exit 1; fi
 if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
 -I/usr/local/ssl/include  -g -O2 -MT xmalloc.o -MD -MP -MF
 .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c; \
 then mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po; else rm -f
 .deps/xmalloc.Tpo; exit 1; fi
 rm -f libgnu.a
 ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o
 xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o
 creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o
 fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o
 pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o
 safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o
 vasprintf.o xmalloc.o
 /bin/bash: /usr/local/bin/ar: Invalid argument
 make[3]: *** [libgnu.a] Error 126
 make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11'


 any ideas?



 regards,


 _Terry



 -
 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



yeah, i have the sunfreeware compiler installed as well in /usr/local.
the results are the same.  i don't have an issues with using someone
elses binaries, i just dislike not knowing why something is not working.

my build environment is 'all' sunfreeware software of the latest
available version (gcc,binutils,automake,autoconf)

anyone have hints as to how to proceed? perhaps a bug in the configure
script?



regards,

_Terry


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] nagios-plugins fail to compile solaris 10 x86/x64

2008-05-21 Thread Terry L. Inzauro
[EMAIL PROTECTED] wrote:
 I used the following:
 
 ./configure --prefix=/opt/nagios --enable-perl-modules
 --with-perl=/usr/bin/perl --without-ipv6 --without-openssl
 --without-ssl --disable-ssl --disable-openssl
 --with-ps-command=/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime
 comm args' --with-ps-format=%s %d %d %d %d %d %f %s %s %n
 --with-ps-cols=10
 -with-ps-varlist=procstat,procuid,procpid,procppid,procvsz,procrss,procpcpu,procetime,procprog,pos
 
 I also used the sunfreeware gcc compiler instead.
 
 binaries are available on the nagiosexchange:
 
 http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2564.html;d=1
 
 
 On 5/21/08, Terry L. Inzauro [EMAIL PROTECTED] wrote:
 list,

 im getting the following when attempting to compile nagios-plugins on a
 solaris 10 x86 (x4500) box.


 # begin background system info


 -bash-3.00$ uname -a
 SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc

 -bash-3.00$ gcc -v
 Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
 Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
 --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
 --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
 --enable-shared
 Thread model: posix
 gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

 -bash-3.00$ which ar
 /usr/local/bin/ar

 -bash-3.00$ which make
 /usr/local/bin/make

 -bash-3.00$ make -v
 GNU Make 3.81
 Copyright (C) 2006  Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE.

 This program built for i386-pc-solaris2.10

 # end background system


 # begin make errors (output truncated)

 if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
 -I/usr/local/ssl/include  -g -O2 -MT vasnprintf.o -MD -MP -MF
 .deps/vasnprintf.Tpo -c -o vasnprintf.o vasnprintf.c; \
 then mv -f .deps/vasnprintf.Tpo .deps/vasnprintf.Po; else rm
 -f .deps/vasnprintf.Tpo; exit 1; fi
 if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
 -I/usr/local/ssl/include  -g -O2 -MT vasprintf.o -MD -MP -MF
 .deps/vasprintf.Tpo -c -o vasprintf.o vasprintf.c; \
 then mv -f .deps/vasprintf.Tpo .deps/vasprintf.Po; else rm
 -f .deps/vasprintf.Tpo; exit 1; fi
 if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
 -I/usr/local/ssl/include  -g -O2 -MT xmalloc.o -MD -MP -MF
 .deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c; \
 then mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po; else rm -f
 .deps/xmalloc.Tpo; exit 1; fi
 rm -f libgnu.a
 ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o
 xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o
 creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o
 fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o
 pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o
 safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o
 vasprintf.o xmalloc.o
 /bin/bash: /usr/local/bin/ar: Invalid argument
 make[3]: *** [libgnu.a] Error 126
 make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11'


 any ideas?



 regards,


 _Terry



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

 
 -
 This SF.net email is sponsored by: Microsoft 
 Defy all challenges. Microsoft(R) Visual Studio 2008. 
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null



it almost looks as if 'ar' isn't being passed the correct arguments.
could it be that the configure script is not discovering which
version/platform of 'ar' is installed and thus not passing the arguments
(if any) properly?

it appears that there is no arguments being passed.







-
This SF.net email is sponsored by: Microsoft 
Defy all challenges

[Nagios-users] nagios-plugins fail to compile solaris 10 x86/x64

2008-05-20 Thread Terry L. Inzauro
list,

im getting the following when attempting to compile nagios-plugins on a
solaris 10 x86 (x4500) box.


# begin background system info


-bash-3.00$ uname -a
SunOS loraine 5.10 Generic_127128-11 i86pc i386 i86pc

-bash-3.00$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

-bash-3.00$ which ar
/usr/local/bin/ar

-bash-3.00$ which make
/usr/local/bin/make

-bash-3.00$ make -v
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-solaris2.10

# end background system


# begin make errors (output truncated)

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT vasnprintf.o -MD -MP -MF
.deps/vasnprintf.Tpo -c -o vasnprintf.o vasnprintf.c; \
then mv -f .deps/vasnprintf.Tpo .deps/vasnprintf.Po; else rm
-f .deps/vasnprintf.Tpo; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT vasprintf.o -MD -MP -MF
.deps/vasprintf.Tpo -c -o vasprintf.o vasprintf.c; \
then mv -f .deps/vasprintf.Tpo .deps/vasprintf.Po; else rm
-f .deps/vasprintf.Tpo; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../intl -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -MT xmalloc.o -MD -MP -MF
.deps/xmalloc.Tpo -c -o xmalloc.o xmalloc.c; \
then mv -f .deps/xmalloc.Tpo .deps/xmalloc.Po; else rm -f
.deps/xmalloc.Tpo; exit 1; fi
rm -f libgnu.a
ar cru libgnu.a full-read.o full-write.o strnlen1.o xalloc-die.o
xstrndup.o asnprintf.o asprintf.o basename.o c-strtod.o cloexec.o
creat-safer.o dirname.o dup-safer.o error.o exitfail.o fd-safer.o
fsusage.o getopt.o getopt1.o mbchar.o mountlist.o open-safer.o
pipe-safer.o printf-args.o printf-parse.o regex.o safe-read.o
safe-write.o strcasecmp.o stripslash.o strndup.o strnlen.o vasnprintf.o
vasprintf.o xmalloc.o
/bin/bash: /usr/local/bin/ar: Invalid argument
make[3]: *** [libgnu.a] Error 126
make[3]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11/gl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/toor/nagios-plugins-1.4.11'


any ideas?



regards,


_Terry



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

2007-09-07 Thread Terry L. Inzauro
list,

i can't seem to get the check_procs plugin to look for the xend processes.


[EMAIL PROTECTED]:/etc/xen# ps -ef | grep xend
root  2392 1  0 Sep07 ?00:00:00 python 
/usr/lib/xen-3.0.3-1/bin/xend start
root  2394  2392  0 Sep07 ?00:00:11 python 
/usr/lib/xen-3.0.3-1/bin/xend start



i've tried the following with no success:

'/opt/nagios/libexec/check_procs -w 2:2 -c 2:2 -C python -a 
'/usr/lib/xen-3.0.3-1/bin/xend start''
'/opt/nagios/libexec/check_procs -w 2:2 -c 2:2 -C python -a 
'/usr/lib/xen-3.0.3-1/bin/xend''
'/opt/nagios/libexec/check_procs -w 2:2 -c 2:2 -C python -a 'start''
'/opt/nagios/libexec/check_procs -w 2:2 -c 2:2 -C python'


any help would be greatly appreciated.


_Terry




-
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] check_log2.pl perl module

2006-03-24 Thread Terry L. Inzauro

Terry L. Inzauro wrote:

folks,

the check_log2.pl script is calling for the util.pm perl module.  i saw 
it in the contrib directory, but it isn't using it properly or can't 
find it.  is that the correct module to use, or is there a cpan module 
out there that i should grab.


also, does the /path/to/contrib directory need to be in @INC?


best regards,


_Terry





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live 
webcast

and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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


so, i added  BEGIN{unshift @INC, /usr/nagios/libexec} to check_log2.pl to append the location of utils.pm module to @INC and it works, however i get 
the following warnings.



jenna contrib # ./check_log2.pl -l /var/log/messages -s /tmp/seekfile -p error
Name main::blocks used only once: possible typo at ./check_log2.pl line 115.
Name main::mode used only once: possible typo at ./check_log2.pl line 115.
Name main::uid used only once: possible typo at ./check_log2.pl line 115.
Name main::dev used only once: possible typo at ./check_log2.pl line 115.
Name main::atime used only once: possible typo at ./check_log2.pl line 115.
Name main::gid used only once: possible typo at ./check_log2.pl line 115.
Name main::blksize used only once: possible typo at ./check_log2.pl line 115.
Name main::ctime used only once: possible typo at ./check_log2.pl line 115.
Name main::rdev used only once: possible typo at ./check_log2.pl line 115.
Name main::mtime used only once: possible typo at ./check_log2.pl line 115.
Name main::nlink used only once: possible typo at ./check_log2.pl line 115.
Name main::ino used only once: possible typo at ./check_log2.pl line 115.
OK - No matches found.
jenna contrib #


i'm a novice perl coder and would love to troubleshoot, but my skillz are not 
worthy ;)

Thoughts?



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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_log

2006-03-24 Thread Terry L. Inzauro

Maccy wrote:


Can anybody give me an example of a correct command definition for 
check_log ?


I'm looking to locate the word 'Error' in /var/log/messages on each 
machine.


If anyone can forward example portions of their services.cfg and 
checkcommand.cfg files I would be most grateful! So far I've been able 
to get the correct syntax :(


Many thanks in advance

Mark


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live 
webcast

and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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


what i am trying to get to work as it seems to do the job much better.
/opt/nagios/libexec/check_log2.pl  -l /var/adm/messages -s /tmp/seekfile -p auth

from nrpe on my solaris 5.9 box:
command[check_log_warning]=/opt/nagios/libexec/check_log -F /var/adm/messages 
-O /tmp/messages.warning -q warning



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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_log2.pl perl module

2006-03-24 Thread Terry L. Inzauro

Arno Lehmann wrote:

Hello,

On 3/24/2006 8:08 PM, Terry L. Inzauro wrote:

Arno Lehmann wrote:

...

indeed i did.  sometime you can't see the trees through the forest ;)

...

sorry for the rookie mistake.


Been there, done that. Most of us here, I guess...

Arno



so battle #2.  i am trying to figure out how to make check_log2.pl have multiple search strings.  the documentation inside the script states that any 
perl regex can be  used to the -p argumentbut warned to be very carefuli'm gussing careful to not kill yourself in the process ;)



my question to the list is: how do you quote the command so it can be run by 
the check_by_ssh_plugin?

/usr/nagios/libexec/check_by_ssh -H testcase -C '/opt/nagios/libexec/check_log2.pl -l 
/var/log/messages -s /tmp/seekfile -p crit|warn|info|auth'
Could not open pipe: /usr/bin/ssh testcase '/opt/nagios/libexec/check_log2.pl -l 
/var/log/messages -s /tmp/seekfile -p crit|warn|info|auth'
[EMAIL PROTECTED] ~ $





---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
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] Question: is there any interest in a WMI client for Linux?

2006-02-14 Thread Terry L. Inzauro

Ron Gage wrote:

Hi everyone:

I am thinking about writing a WMI (Windows Management Instrumentation) client
for Linux.  This would basically be a command line way to perform various
performance queries to a Windows box - with absolutely no agent software
anywhere.   All that would be required on the Windows side of things is a
service account.

This would not be for allowing Windows computers to query Linux - at least not
immediately.  Allowing a Windows computer to query a Linux computer is
downstream from this.

What can WMI provide?  For example, hardware inventory, performance counters,
various disk stats (per logical disk), and so on.

Would there be any interest in such a program?



sure. being able to gather info from w1nd0z3 boxen without any other client 
software would be nice ;)


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=103432bid=230486dat=121642
___
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