Re: [Nagios-users] monitoring for IO in Nagios

2006-10-16 Thread August Simonelli
Alex,Thanks for the info ... sorry I wasn't any help to you but I came out learning a lot! :-)AugustOn 10/16/06, Alexander Harvey <
[EMAIL PROTECTED]> wrote:That doesn't look like a Solaris script to me but as far as your coding is concerned, my thoughts are
(i) get yourself a book on the k-shell 'cause it's a lot more powerful that the bourne (/bin/sh) shell.(ii) you can say
vmstat -dp | awk '/sda/ {print $2}' instead ofvmstat -dp | grep sda | awk '{print $2}'(iii) if you were using bash or ksh your could sayreaddiff=$(( $currreads - $prevreads ))instead ofreaddiff=$(expr $currreads - $prevreads)
(iv) for security you ought to use full paths to all of your binaries:i.e./usr/bin/echoinstead ofechoOtherwise I guess it'll work in Nagios (although most Nagios plugins can give warnings or critical alerts by exiting with exit codes 0 for OK, or 1 for WARNING, or 2 for CRITICAL.
Have fun,AlexOn 10/16/06, August Simonelli <
[EMAIL PROTECTED]> wrote:
Hi Alexander and list folks,I set up two little shell scripts for disk i/o calculations for mrtg which i hope to use for nagios down the track. I'm still learning shell scripting /nagios / etc so i welcome corrections to my logic, coding, anything! :-)
It's not really fancy, just uses vmstat to get disk reads and writes, stores it, then compares that the next time. As i said, it's just for mrtg now so dunno if it will work for nagios, but soon i'll play with it and find out.
AugustOn 10/15/06, Alexander Harvey <

[EMAIL PROTECTED]> wrote:

Hi All,I wonder if anyone out there is using Nagios to monitor disk I/O on UNIX servers and if so I'm curious as to how they're doing it, what plugins they're using, are they calling iostat from a shell script? What options of iostat are they calling etc?
Many thanks in advance,Alex HarveyUNIX AdministratorSydney, Australia

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo


http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing list


Nagios-users@lists.sourceforge.nethttps://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




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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

[Nagios-users] /tmp/embedded* files

2006-10-16 Thread Mark.Law
One of my Nagios servers is not cleaning up /tmp/embedded* files.  Has
anyone seen this?  What is the fix?


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Custom Email Notification

2006-10-16 Thread Sekhar
thanks for your reply i am using nagios 1.3 can you please let me know where i have to check thisMarc Powell <[EMAIL PROTECTED]> wrote:  > -Original Message-> From: [EMAIL PROTECTED] [mailto:nagios-users-> [EMAIL PROTECTED] On Behalf Of Sekhar> Sent: Monday, October 16, 2006 8:38 AM> To: nagios-users@lists.sourceforge.net> Subject: [Nagios-users] Custom Email Notification> > Hi Guys,> > I want to add one more line for my nagios email notifications so tahti> can add some custom message for my NOC people.> > 1)How do i add custom message in notification command ?Edit your notification command{} definition. It's simple shell script.> 2)I want to know alias field is limited to some characters so
 how do i> increase the number the characters in alias field in when i try to addnew> host.Presuming you're using nagios 2.x, I've taken a quick look at the sourcecode and don't see a limit beyond the 65535 char line input limit. Athow many characters do you see a problem?--Marc-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://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 
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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

[Nagios-users] Attending LinuxExpo in London

2006-10-16 Thread Ton Voon
Hi!Just wanted to announce that I will be at the LinuxExpo show in London next week (http://www.linuxworldexpo.co.uk). I'll be there officially under the guise of my role at Altinity (at stand A7), but if any of you are in the area, please pop round - I'd love to meet up and chat with my Nagios Plugins hat on!Tonhttp://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon -
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Event Handler problems

2006-10-16 Thread Marc Powell
It uses syslog so it's being logged to wherever *.info,*.notice, *.debug
are being sent to in syslog.conf (usually something like
/var/log/messages). I believe you can change the log file by adding
'nrpe.*   /some/other/file' to syslog.conf and HUP or restart syslogd.

--
Marc

> -Original Message-
> From: Sandeep Narasimha Murthy [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 16, 2006 10:18 AM
> To: Marc Powell; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Event Handler problems
> 
> Hi,
> 
> I have the debug option on in the nrpe.cfg but still nothing is being
> logged. Can I specify another log file ??
> 
> Thanks
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Marc
> Powell
> Sent: segunda-feira, 16 de Outubro de 2006 15:27
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Event Handler problems
> 
> 
> 
> > -Original Message-
> > From: Sandeep Narasimha Murthy [mailto:[EMAIL PROTECTED]
> > Sent: Monday, October 16, 2006 9:05 AM
> > To: Marc Powell; nagios-users@lists.sourceforge.net
> > Subject: RE: [Nagios-users] Event Handler problems
> >
> >
> > Hi,
> >
> > Thanks for the suggestion. I had already enabled logging of service
> > retries, host retries, and event handler commands. In fact, I
> discovered
> > that Nagios is invoking the Event Handler but the problem appears to
> be
> > in the remote host:
> >
> > [1160997995] EXTERNAL COMMAND:
> >
SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969
> >
> > [1160998115] SERVICE ALERT:
> > PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The
> > service apax is not running.
> > [1160998115] SERVICE EVENT HANDLER:
> >
PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer
> >
> > I am using NRPE on my remote hosts (all solaris 5.9 machines). Where
> can
> > I view the plugins being invoked ?? I checked the /var/adm/messages
> and
> > /var/log/syslog but there appears no commands at all. Is there any
> other
> > log which I can consult or alternatively configure nrpe.cfg to log
all
> > the plugins being invoked ?
> 
> In nrpe.cfg --
> 
> # DEBUGGING OPTION
> # This option determines whether or not debugging messages are logged
to
> the
> # syslog facility.
> # Values: 0=debugging off, 1=debugging on
> 
> debug=0
> 
> Also, try running the command_line for start_autonomyServer exactly as
> it's defined and run it as the nagios user and watch for errors.
> 
> --
> marc
> 
>

> -
> Using Tomcat but need to do more? Need to support web services,
> security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
> Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Event Handler problems

2006-10-16 Thread Sandeep Narasimha Murthy
Hi,

I have the debug option on in the nrpe.cfg but still nothing is being
logged. Can I specify another log file ??

Thanks

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc
Powell
Sent: segunda-feira, 16 de Outubro de 2006 15:27
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Event Handler problems



> -Original Message-
> From: Sandeep Narasimha Murthy [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 16, 2006 9:05 AM
> To: Marc Powell; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Event Handler problems
> 
> 
> Hi,
> 
> Thanks for the suggestion. I had already enabled logging of service
> retries, host retries, and event handler commands. In fact, I
discovered
> that Nagios is invoking the Event Handler but the problem appears to
be
> in the remote host:
> 
> [1160997995] EXTERNAL COMMAND:
> SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969
> 
> [1160998115] SERVICE ALERT:
> PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The
> service apax is not running.
> [1160998115] SERVICE EVENT HANDLER:
> PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer
> 
> I am using NRPE on my remote hosts (all solaris 5.9 machines). Where
can
> I view the plugins being invoked ?? I checked the /var/adm/messages
and
> /var/log/syslog but there appears no commands at all. Is there any
other
> log which I can consult or alternatively configure nrpe.cfg to log all
> the plugins being invoked ?

In nrpe.cfg --

# DEBUGGING OPTION
# This option determines whether or not debugging messages are logged to
the
# syslog facility.
# Values: 0=debugging off, 1=debugging on

debug=0

Also, try running the command_line for start_autonomyServer exactly as
it's defined and run it as the nagios user and watch for errors.

--
marc


-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] custom fields

2006-10-16 Thread Aaron Segura
We accomplish this same thing using a script called 'oncall', which will
output the contact information for whoever is on call currently, in
conjunction with a script I posted on nagiosexchange called
'nagios_notify'.  It allows you to easily execute a command and include
the output in your notifications, among a few other neat little tricks.
 
http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[
p_view]=627



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Shipway
Sent: Sunday, October 15, 2006 3:14 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] custom fields

Az wrote:
> Kyle Vorster wrote:
> > What i am trying to do is give a more detailed email 
> notification to my
> > clients.
> You can define your notification commands 
> (http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#command) with

> whatever you want in them using the relevant macros 

I think the idea was to get a more detailed description on a
*per-service* basis.  This was our problem, also.

The way I managed to get around it was to create a new program -
'buster'.

This has two parts - one, a web frontend that stores messages in a mysql
database, and two, an extraction utility that, when given hostname and
servicename, will spit out a message deduced from the database.  This
utility is embedded in the notify command.

The web frontend unfortunately doesnt have any extra security in it, so
anyone can edit any of the match templates.  Also, the extracted
messages are fixed text and dont have embedded replaceable symbols;  but
they can match on host, hstgroup, servicename, status, and using
wildcards.

I havent posted to Nagiosexchange because it would require a bit more
work to be generic enough for everyone else to use it easily; however if
youre perl-savvy email me and you can have a copy.

The name 'buster' comes from 'ghostbuster', since it is supposed to use
this extra text to tell the night ops who they're gonna call...

Steve

--
Steve Shipway
ITSS, University of Auckland 
(09) 3737 599 x 86487
[EMAIL PROTECTED]

 


-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Event Handler problems

2006-10-16 Thread Marc Powell


> -Original Message-
> From: Sandeep Narasimha Murthy [mailto:[EMAIL PROTECTED]
> Sent: Monday, October 16, 2006 9:05 AM
> To: Marc Powell; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] Event Handler problems
> 
> 
> Hi,
> 
> Thanks for the suggestion. I had already enabled logging of service
> retries, host retries, and event handler commands. In fact, I
discovered
> that Nagios is invoking the Event Handler but the problem appears to
be
> in the remote host:
> 
> [1160997995] EXTERNAL COMMAND:
> SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969
> 
> [1160998115] SERVICE ALERT:
> PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The
> service apax is not running.
> [1160998115] SERVICE EVENT HANDLER:
> PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer
> 
> I am using NRPE on my remote hosts (all solaris 5.9 machines). Where
can
> I view the plugins being invoked ?? I checked the /var/adm/messages
and
> /var/log/syslog but there appears no commands at all. Is there any
other
> log which I can consult or alternatively configure nrpe.cfg to log all
> the plugins being invoked ?

In nrpe.cfg --

# DEBUGGING OPTION
# This option determines whether or not debugging messages are logged to
the
# syslog facility.
# Values: 0=debugging off, 1=debugging on

debug=0

Also, try running the command_line for start_autonomyServer exactly as
it's defined and run it as the nagios user and watch for errors.

--
marc

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Event Handler problems

2006-10-16 Thread Sandeep Narasimha Murthy

Hi,

Thanks for the suggestion. I had already enabled logging of service
retries, host retries, and event handler commands. In fact, I discovered
that Nagios is invoking the Event Handler but the problem appears to be
in the remote host:

[1160997995] EXTERNAL COMMAND:
SCHEDULE_FORCED_SVC_CHECK;PRD7_WCMAUT01;CheckAutonomyServer;1160997969

[1160998115] SERVICE ALERT:
PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;CRITICAL: NOK, The
service apax is not running.
[1160998115] SERVICE EVENT HANDLER:
PRD7_WCMAUT01;CheckAutonomyServer;CRITICAL;SOFT;4;start_autonomyServer

I am using NRPE on my remote hosts (all solaris 5.9 machines). Where can
I view the plugins being invoked ?? I checked the /var/adm/messages and
/var/log/syslog but there appears no commands at all. Is there any other
log which I can consult or alternatively configure nrpe.cfg to log all
the plugins being invoked ?

Thanks,
sg

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc
Powell
Sent: segunda-feira, 16 de Outubro de 2006 14:53
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Event Handler problems



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy
> Sent: Monday, October 16, 2006 6:08 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Event Handler problems
> 
> Hello,
> 
> I have an event handler configured in one of our services such that,
> when the service state hits critical or warning, it should activate
the
> event handler. I am quite sure I have it configured fine but it simply
> does not seem to work when the service states turns critical. I also
> confirmed this by forcing a critical feedback to the service and it
did
> not work.
> 
> Here is my service config. Has anyone faced any similar situations?
> Thanks in adv:
> 

No problems here. I'd suggest configuring nagios to log event handlers
to verify that an attempt is made to run them. If not, try enabling
enable_event_handlers in nagios.cfg.

--
Marc


-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] monitoring for IO in Nagios

2006-10-16 Thread Alexander Harvey
That doesn't look like a Solaris script to me but as far as your coding is concerned, my thoughts are(i) get yourself a book on the k-shell 'cause it's a lot more powerful that the bourne (/bin/sh) shell.(ii) you can say
vmstat -dp | awk '/sda/ {print $2}' instead ofvmstat -dp | grep sda | awk '{print $2}'(iii) if you were using bash or ksh your could sayreaddiff=$(( $currreads - $prevreads ))instead ofreaddiff=$(expr $currreads - $prevreads)
(iv) for security you ought to use full paths to all of your binaries:i.e./usr/bin/echoinstead ofechoOtherwise I guess it'll work in Nagios (although most Nagios plugins can give warnings or critical alerts by exiting with exit codes 0 for OK, or 1 for WARNING, or 2 for CRITICAL.
Have fun,AlexOn 10/16/06, August Simonelli <[EMAIL PROTECTED]> wrote:
Hi Alexander and list folks,I set up two little shell scripts for disk i/o calculations for mrtg which i hope to use for nagios down the track. I'm still learning shell scripting /nagios / etc so i welcome corrections to my logic, coding, anything! :-)
It's not really fancy, just uses vmstat to get disk reads and writes, stores it, then compares that the next time. As i said, it's just for mrtg now so dunno if it will work for nagios, but soon i'll play with it and find out.
AugustOn 10/15/06, Alexander Harvey <
[EMAIL PROTECTED]> wrote:

Hi All,I wonder if anyone out there is using Nagios to monitor disk I/O on UNIX servers and if so I'm curious as to how they're doing it, what plugins they're using, are they calling iostat from a shell script? What options of iostat are they calling etc?
Many thanks in advance,Alex HarveyUNIX AdministratorSydney, Australia

-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo

http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing list

Nagios-users@lists.sourceforge.nethttps://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


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Event Handler problems

2006-10-16 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Sandeep Narasimha Murthy
> Sent: Monday, October 16, 2006 6:08 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Event Handler problems
> 
> Hello,
> 
> I have an event handler configured in one of our services such that,
> when the service state hits critical or warning, it should activate
the
> event handler. I am quite sure I have it configured fine but it simply
> does not seem to work when the service states turns critical. I also
> confirmed this by forcing a critical feedback to the service and it
did
> not work.
> 
> Here is my service config. Has anyone faced any similar situations?
> Thanks in adv:
> 

No problems here. I'd suggest configuring nagios to log event handlers
to verify that an attempt is made to run them. If not, try enabling
enable_event_handlers in nagios.cfg.

--
Marc

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Custom Email Notification

2006-10-16 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Sekhar
> Sent: Monday, October 16, 2006 8:38 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Custom Email Notification
> 
> Hi Guys,
> 
> I want to add one more line for my nagios email notifications so taht
i
> can add some custom message for my NOC people.
> 
> 1)How do i add custom message in notification command ?

Edit your notification command{} definition. It's simple shell script.
 
> 2)I want to know alias field is limited to some characters so how do i
> increase the number the characters in alias field in when i try to add
new
> host.

Presuming you're using nagios 2.x, I've taken a quick look at the source
code and don't see a limit beyond the 65535 char line input limit. At
how many characters do you see a problem?

--
Marc

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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


[Nagios-users] Custom Email Notification

2006-10-16 Thread Sekhar
Hi Guys,     I want to add one more line for my nagios email notifications so taht i can add some custom message for my NOC people.     1)How do i add custom message in notification command ?     2)I want to know alias field is limited to some characters so how do i increase the number the characters in alias field in when i try to add new host.     Thnaks for your help 
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail.-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] monitoring linux traffic without snmp

2006-10-16 Thread Jorg . Schulz

Hi , 

Try the "check_traffic_andreas.pl"
from the http://www.nagios-wiki.de

with the syntax 

/usr/local/nagios/libexec/check_traffic_andreas.pl
-H  -i 1 -b 125 -w 10% -c 30% 
Output: 

EXAMPLE : Total RX Bytes: 1839.36
MB, Total TX Bytes: 1839.36 MBAverage Traffic: 1.66 


 
 
It´s a nice plugin 

/Joe

Mvh
Jörg Schulz 
Senior Konsult
Linux/Unix/Novell/Windows/Networking
SYSteam Kalmar AB 

Strömgatan 15
Box 99
S-391 21 Kalmar

Direkt 0480-456638
Mobil 0708-157806
E-Post [EMAIL PROTECTED]
http://www.systeam.se






"Robin Ericsson"
<[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
2006-10-16 13:16




To
nagios-users@lists.sourceforge.net


cc



Subject
[Nagios-users] monitoring
linux traffic without snmp








Hi,

I found a few on Nagiosexchange but didn't really like them. Anyone
got any tips for checking linux traffic locally without using snmp?

-- 
        regards,
        Robin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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




check_traffic_andreas.pl
Description: Binary data
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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

[Nagios-users] monitoring linux traffic without snmp

2006-10-16 Thread Robin Ericsson
Hi,

I found a few on Nagiosexchange but didn't really like them. Anyone
got any tips for checking linux traffic locally without using snmp?

-- 
regards,
Robin

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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


[Nagios-users] Event Handler problems

2006-10-16 Thread Sandeep Narasimha Murthy
Hello,

I have an event handler configured in one of our services such that,
when the service state hits critical or warning, it should activate the
event handler. I am quite sure I have it configured fine but it simply
does not seem to work when the service states turns critical. I also
confirmed this by forcing a critical feedback to the service and it did
not work.

Here is my service config. Has anyone faced any similar situations?
Thanks in adv:

define service {
service_description CheckAutonomyServer
check_command Check_AutonomyServer
max_check_attempts 5
normal_check_interval 5
retry_check_interval 3
active_checks_enabled 1
check_period 24x7
parallelize_check 1
event_handler start_autonomyServer
event_handler_enabled 1
notification_interval 60
notification_period 24x7
notifications_enabled 1
host_name PRD7_WCMAUT01
notification_options w,u,c,r
contact_groups STFS, SUPT
}

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] serviceextinfo view Graph in main frame

2006-10-16 Thread Andreas Ericsson
Sjaak Nabuurs wrote:
> Hello
> 
> 
> How can I tell nagios status.cgi to view serviceextinfo in the main frame and 
> not to open en _blank window ?
> how to skip TARGET='_blank' but use  TARGET='main'
> 

Edit the cgi source-code.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Service checks when host is down

2006-10-16 Thread Andreas Ericsson
Az wrote:
> Hari Sekhon wrote:
>> Indeed, that would be ok too, since then you can disable the host 
>> check and rely entirely on service checks so you get all the service 
>> checks.
>>
>> Almost as good. Of course it won't say host down, but it will say ping 
>> failed so you can tell from that.
>>
>> Another down side is that it will pollute your web interface with 
>> loads of trivial services, whereas it nice at the moment when all you 
>> see is the intended service.
>>
>> It would kind of spoil the web interface in my opinion.
>>
>> I think I will just wait for this to be done at the developer side, so 
>> that it is part of the normal configuration options.
> You may also find that it will blow out your service check execution 
> times if you use a ping (service) check of, say, 5 packets @ 1 second 
> apart. It doesnt sound like much but if you have a large number of hosts 
> it *might* cause you problems.
> 

I can most definitely say that it won't. A typical ICMP packet is 64 
bytes, all headers included. If you're thinking about load issues, 99% 
of the time check_icmp, /bin/ping and other ping-like programs use are 
spent waiting for data from the host being pinged. 0.8% of the time is 
spent by the system setting up the stack and creating memory pages for 
the program, and 0.2% is spent sending packets, calculating 
response-times and things like that. I can imagine that this will cause 
problems if you're monitoring tens of thousands of hosts, but if you do 
that without a robust clustering solution or some insanely beefy 
hardware and network line you'll be toast anyways.

check_http, or any other plugin that generally fetches >1KiB of data, 
possibly decrypts it, and parses a bit of text to be able to return a 
result are easily a hundred times heavier on both systemload and network 
traffic than ping checks.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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] Solaris 2.6 nrpe binaries

2006-10-16 Thread Greg Cope
On Fri, 2006-10-13 at 08:24 -0500, Marc Powell wrote:
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Greg Cope
> > Sent: Friday, October 13, 2006 3:50 AM
> > To: nagios
> > Subject: [Nagios-users] Solaris 2.6 nrpe binaries
> > 
> > Hi All.
> > 
> > Anyone have v2.5 nrpe binaries for solaris 2.6 available?  With ssl?
> > 
> > I have a few hosts that are 2.6 without compliers.
> > 
> > The nagios plugins and nrpe port on nagios exchange are v1.9 and do
> not
> > work with 2.5 nagios instances.
> 
> Out of curiosity, what problem are you seeing? There's no reason that I
> can think of that any version of the plugins/nrpe wouldn't work with any
> version of nagios since that interface has been standardized for a very
> very long time.

This is on Sol 2.8:

nrpe and server fail to talk to each other.

On the server I get a socket timeout error.  On the client nrpe
syslogs :

Oct 11 16:02:30 xxx nrpe[16867]: [ID 421412 daemon.error] Could not
read request from client, bailing out...

Installing blastwave 2.5 nrpe packages and everything is fine, sadly
they do not make 2.6 packages.

Greg

> --
> Marc
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
-- 
Greg Cope
Systems Administrator

e-DBA Ltd.
37 Ship Street, Brighton, E.S. BN1 1AB
Office Phone:  0870 366 7800
Direct Phone:  0870 366 9900, ext 306
[EMAIL PROTECTED]
www.e-dba.com


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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