[Nagios-users] Help needed: How do you configure dynamic thresholds depending on timeframes.

2010-08-30 Thread Alex Peeters

Help needed: How do you configure dynamic thresholds depending on timeframes.

Example.   -w = 80 -c = 90 during business hours but -w = 90 -c = 95  
outsite business hours.

How can we configure into nagios dynamic thresholds depending on  
timeframes: Part II

define service{
 use local-service ; Name  
of service template to use
 host_name   localhost
 service_description Current Users
   check_command   check_local_users!20!50
   check_period nonworkhours
   notification_period  nonworkhours
 }

define service{
 use local-service ; Name  
of service template to use
 host_name   localhost
 service_description Current Users
   check_command   check_local_users!40!60
   check_period workhours
   notification_period  workhours
 }

In my above example i dit configure the same test twice. The two  
timeframes 'nonworkhours' en 'workhours' together equals 24x7

Is this way of configuring allowed. Because this solves my problem.

1) how will the nagios scheduling react on this configuration?

2) how will the display react on this configuration?


# 'workhours' timeperiod definition
define timeperiod{
 timeperiod_name workhours
 alias   Normal Working Hours
 monday  09:00-17:00
 tuesday 09:00-17:00
 wednesday   09:00-17:00
 thursday09:00-17:00
 friday  09:00-17:00
 }


# 'nonworkhours' timeperiod definition
define timeperiod{
 timeperiod_name nonworkhours
 alias   Non-Work Hours
 sunday  00:00-24:00
 monday  00:00-09:00,17:00-24:00
 tuesday 00:00-09:00,17:00-24:00
 wednesday   00:00-09:00,17:00-24:00
 thursday00:00-09:00,17:00-24:00
 friday  00:00-09:00,17:00-24:00
 saturday00:00-24:00
 }


check_period: This directive is used to specify the short name of the  
time period during which active checks of this host can be made.

check_period: This directive is used to specify the short name of the  
time period during which active checks of this service can be made.

If you do not use the check_period directive to specify a timeperiod,  
Nagios will be able to schedule active
checks of the host or service anytime it needs to. This is essentially  
a 24x7 monitoring scenario.

Specifying a timeperiod in the check_period directive allows you to  
restrict the time that Nagios perform
regularly scheduled, active checks of the host or service. When Nagios  
attempts to reschedule a host or
service check, it will make sure that the next check falls within a  
valid time range within the defined
timeperiod. If it doesn’t, Nagios will adjust the next check time to  
coincide with the next valid time in
the specified timeperiod. This means that the host or service may not  
get checked again for another hour,
day, or week, etc.

Timeperiods:
Exclusions and Host/Service Checks - There is a bug in the  
service/host check scheduling logic
that rears its head when you use timeperiod definitions that use the  
excludedirective. The
problem occurs when Nagios Core tries to re-schedule the next check.  
In this case, the
scheduling logic may incorrectly schedule the next check further out  
in the future than it
should. In essence, it skips over the (missing) logic where it could  
determine an earlier possible
time using the exception times. Imperfect Solution: Don’t use  
timeperiod definitions that
exclude other timeperods for your host/service check periods. A fix is  
being worked on, and
will hopefully make it into a 3.4.x release.


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
___
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] Help Needed | Web Authentication

2010-08-25 Thread Himanshu Arora
Thanks for all your help tony,

Tried implementing webinject again and it worked like a charm this time and
it solved my pupose. :)


Thanks,
Himanshu

On Tue, Aug 24, 2010 at 7:58 PM, Tony Yarusso tyaru...@nagios.com wrote:

  On 8/22/2010 3:44 PM, Himanshu Arora wrote:

  Hi Tony,

  Thanks for replying,

  I have already tried using webinject couple of days ago...  but i was
 getting so many errors while using the webinject.pl plugin after the
 installation.

  Even though the execution steps are also given on the link you've
 provided me, but couldn't get through to it.
 Would be really appreciated if you could assist me a bit on this or let me
 know the other way around because its been more than a month now, m trying
 to get this done...

  Just an FYI for you that m trying to monitor a website @ work on
 production enviromment. FB is just an example i hv used.


 Possibly.  I've only done a little myself as well.  What sort of errors?
 Also, you'll find two examples and a couple of caveats on pages 4-6 of
 http://assets.nagios.com/downloads/nagiosxi/docs/Monitoring_Websites_With_XI.pdfif
  that helps.

 (Also, it's probably best to keep this on the list so others can learn from
 it and contribute as well.)


   On 8/18/2010 2:56 PM, Himanshu Arora wrote:
  So i need to know what am i doing wrong here or may be i am not using
  the right plugin to do so because as i know its not the basic
  authentication that i am going through.
 You want to use WebInject for this (it's an extra library plus Nagios
 plugin)
 http://www.webinject.org/plugin.html

 It lets you say first, go to Facebook.  Then fill out the form with
 these credentials.  Submit those, now check the page it returns back.
 You could even do something like checking whether someone is still your
 friend, or whether your news feed contains some string.

 --
 Tony Yarusso
 Technical Team


 --
 Tony Yarusso
 Technical Team
 ___
 Nagios Enterprises, LLC
 Email:  tyaru...@nagios.com
 Web:www.nagios.com


--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
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] Help Needed | Web Authentication

2010-08-24 Thread Tony Yarusso

 On 8/22/2010 3:44 PM, Himanshu Arora wrote:

Hi Tony,

Thanks for replying,

I have already tried using webinject couple of days ago...  but i was 
getting so many errors while using the webinject.pl 
http://webinject.pl plugin after the installation.


Even though the execution steps are also given on the link you've 
provided me, but couldn't get through to it.
Would be really appreciated if you could assist me a bit on this or 
let me know the other way around because its been more than a month 
now, m trying to get this done...


Just an FYI for you that m trying to monitor a website @ work on 
production enviromment. FB is just an example i hv used.


Possibly.  I've only done a little myself as well.  What sort of 
errors?  Also, you'll find two examples and a couple of caveats on pages 
4-6 of 
http://assets.nagios.com/downloads/nagiosxi/docs/Monitoring_Websites_With_XI.pdf 
if that helps.


(Also, it's probably best to keep this on the list so others can learn 
from it and contribute as well.)



On 8/18/2010 2:56 PM, Himanshu Arora wrote:
 So i need to know what am i doing wrong here or may be i am not using
 the right plugin to do so because as i know its not the basic
 authentication that i am going through.
You want to use WebInject for this (it's an extra library plus Nagios
plugin)
http://www.webinject.org/plugin.html

It lets you say first, go to Facebook.  Then fill out the form with
these credentials.  Submit those, now check the page it returns back.
You could even do something like checking whether someone is still your
friend, or whether your news feed contains some string.

--
Tony Yarusso
Technical Team


--
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyaru...@nagios.com
Web:www.nagios.com

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
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] Help Needed | Web Authentication

2010-08-18 Thread Himanshu Arora
It would be really appreciated if somone can help me out setting up nagios
monitoring for a website or a secured website.

I just wanted to match the string after the website is authenticated.
 for eg: i am trying to setup the monitoring for facebook.com, and the
command i am using for this is-

./check_http -H facebook.com -u http://www.facebook.com; -a
myfbusername:myfbpassword -s Facebook helps you connect -f follow

Plugin responds back --- HTTP OK: HTTP/1.1 200 OK - 27441 bytes in 2.614
second response time |time=2.613975s;;;0.00 size=27441B;;;0

even if the password is incorrect i gives me same response because it is
verifying the string and responds back correctly.

So i need to know what am i doing wrong here or may be i am not using the
right plugin to do so because as i know its not the basic authentication
that i am going through.

Need your help, trying to get this done from couple of days now... but not
getting it solved.

Please help or suggest... Thanks


Himanshu
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] Help Needed | Web Authentication

2010-08-18 Thread Tony Yarusso
  On 8/18/2010 2:56 PM, Himanshu Arora wrote:
 So i need to know what am i doing wrong here or may be i am not using 
 the right plugin to do so because as i know its not the basic 
 authentication that i am going through.
You want to use WebInject for this (it's an extra library plus Nagios 
plugin)
http://www.webinject.org/plugin.html

It lets you say first, go to Facebook.  Then fill out the form with 
these credentials.  Submit those, now check the page it returns back.  
You could even do something like checking whether someone is still your 
friend, or whether your news feed contains some string.

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyaru...@nagios.com
Web:www.nagios.com


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] Help Needed | Web Authentication

2010-08-18 Thread Matthew J. Salerno
The login mechanism probably doesn't work with the plugin.  The plugin probably 
uses HTTP based auth rather than form based.  Are you really trying to check 
fb? 

Himanshu Arora himanshuaro...@gmail.com wrote:

It would be really appreciated if somone can help me out setting up nagios
monitoring for a website or a secured website.

I just wanted to match the string after the website is authenticated.
 for eg: i am trying to setup the monitoring for facebook.com, and the
command i am using for this is-

./check_http -H facebook.com -u http://www.facebook.com; -a
myfbusername:myfbpassword -s Facebook helps you connect -f follow

Plugin responds back --- HTTP OK: HTTP/1.1 200 OK - 27441 bytes in 2.614
second response time |time=2.613975s;;;0.00 size=27441B;;;0

even if the password is incorrect i gives me same response because it is
verifying the string and responds back correctly.

So i need to know what am i doing wrong here or may be i am not using the
right plugin to do so because as i know its not the basic authentication
that i am going through.

Need your help, trying to get this done from couple of days now... but not
getting it solved.

Please help or suggest... Thanks


Himanshu
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] Help Needed | Web Authentication

2010-08-18 Thread Herb J.
Basic HTTP authentication is what you would use if you were password 
protecting a web page using an .htaccess file. Since Facebook does not 
use basic HTTP authentication, Facebook is ignoring the login and 
password you are sending it and is just displaying the standard login 
page (in this situation the check_http plugin will not work with the 
parameters you are sending it). To verify login access to a site like 
Facebook you will need to configure the check to run the same way that 
the browser would. That means you must get the variable names from the 
login form (view the source code and get *all* of the form parameters 
that are contained in the login form, including the hidden ones) and 
populate them with the required values. Those parameters then need to be 
sent by either a GET request and/or a POST request (using key=value 
pairs joined by an , e.g. login=myfbusernamepass=myfbpassword), 
depending on how Facebook's login page is configured. (You will need to 
be aware that if the names of the form fields ever change you must 
update your check to match them.) For GET requests, use the -u 
parameter to populate the fields, and for POST requests, use the -P 
parameter.


Also, if you are monitoring a Facebook login/pass by repeatedly logging 
into it, it is possible that you might set off a warning flag in some 
Facebook internal system that monitors for automated logins. If it is 
for some other site, make sure that the code on that site will not have 
any problems with constantly repeating logins.



On 08/18/2010 03:56 PM, Himanshu Arora wrote:
It would be really appreciated if somone can help me out setting up 
nagios monitoring for a website or a secured website.


I just wanted to match the string after the website is authenticated.
for eg: i am trying to setup the monitoring for facebook.com 
http://facebook.com, and the command i am using for this is-


./check_http -H facebook.com http://facebook.com -u 
http://www.facebook.com; -a myfbusername:myfbpassword -s Facebook 
helps you connect -f follow


Plugin responds back --- HTTP OK: HTTP/1.1 200 OK - 27441 bytes in 
2.614 second response time |time=2.613975s;;;0.00 size=27441B;;;0


even if the password is incorrect i gives me same response because it 
is verifying the string and responds back correctly.


So i need to know what am i doing wrong here or may be i am not using 
the right plugin to do so because as i know its not the basic 
authentication that i am going through.


Need your help, trying to get this done from couple of days now... but 
not getting it solved.


Please help or suggest... Thanks


Himanshu


--
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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


--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-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] Help Needed

2010-02-04 Thread Shoaib Ahmed Baig
HI,

Can any one explain/guide me what is the difference between the central
and distributive server. And what will be there role if i setup a
distributive server with the central Server

-- 
Regards,
Shoaib Ahmed Baig
Network Engineer
Systems Limited
Lahore Chamber of Commerce Building
11, Sharae Aiwane Tijarat
Lahore - Pakistan
Tel: + 92 42 6304825, 6304835 and 6369390 Ext: 228
Fax: + 92 42 6368857
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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] Help Needed

2010-02-04 Thread Assaf Flatto

 HI,

 Can any one explain/guide me what is the difference between the 
 central and distributive server. And what will be there role if i 
 setup a distributive server with the central Server

I think that what you need is explained here :

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


--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-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] help needed

2008-02-21 Thread mark . potter
[EMAIL PROTECTED] wrote on 02/20/2008 11:49:55 
PM:

 Hi ,
 
 We are not able to access  View Config option tab in Web Access. 
 Getting the CGI permission error. Could someone point out what could
 be the problem/s


Depending on your version here is where you start:

http://nagios.sourceforge.net/docs/3_0/ - 3.x docs
http://nagios.sourceforge.net/docs/2_0/ - 2.x docs

If you are going to get help on the list you will likely need to give at 
least the following information:

1. Nagios version
2. OS and version
3. What troubleshooting you have done thus far

If you want support without doing any of your own troubleshooting then 
nagios.com might be your best bet.-
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] help needed

2008-02-20 Thread sachin holikar
Hi 
  Could you please help me giving proper documentation of NAGIOS.
   
   
  Thanks
   
  Sachin

   
-
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.-
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] help needed

2008-02-20 Thread narendran.neelamegam
This should get you going...
 
http://nagios.sourceforge.net/docs/3_0/quickstart.html
 
All the docs are available here...
 
 
http://www.nagios.org/docs/
http://nagios.sourceforge.net/docs/3_0/  
 
Best Regards,
 
Narendran Neelamegam



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sachin
holikar
Sent: Thursday, February 21, 2008 11:10 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] help needed


Hi 
Could you please help me giving proper documentation of NAGIOS.
 
 
Thanks
 
Sachin



Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it now.
http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i6
2sR8HDtDypao8Wcj9tAcJ 
-
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] help needed

2008-02-20 Thread sachin holikar
Hi ,
   
  We are not able to access  View Config option tab in Web Access. Getting 
the CGI permission error. Could someone point out what could be the problem/s

   
-
Looking for last minute shopping deals?  Find them fast with Yahoo! Search.-
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] help needed .. newbie

2006-09-05 Thread ankush grover
On 9/5/06, rahul ramasubramanian [EMAIL PROTECTED] wrote:
 hi all
 i am a newbie to nagios and am trying to install it on my server..
 i successfully installed the nagios framework and plugins and got a pre
 flight check -ok..
 a nagios -s command gave the following output
 Max host check spread:   30 min
 First scheduled check:   N/A
 Last scheduled check:N/A


 SERVICE SCHEDULING INFORMATION
 ---
 Total services: 5
 Total scheduled services:   5
 Service inter-check delay method:   SMART
 Average service check interval: 300.00 sec
 Inter-check delay:  60.00 sec
 Interleave factor method:   SMART
 Average services per host:  5.00
 Service interleave factor:  5
 Max service check spread:   30 min
 First scheduled check:  Mon Sep  4 02:34:08 2006
 Last scheduled check:   Mon Sep  4 02:38:08 2006


 CHECK PROCESSING INFORMATION
 
 Service check reaper interval:  10 sec
 Max concurrent service checks:  Unlimited


 PERFORMANCE SUGGESTIONS
 ---
 I have no suggestions - things look okay.

 so i guessed that  everything was  going on allright...
 why i tried to use my web interface to access nagios( apache web server )
 ... i reach the main   nagios screen..( the documentation part )
 but on trying  to click on any other tab i got the following error.
 Internal Server Error
 The server encountered an internal error or misconfiguration and was unable

 to complete your request.

 Please contact the server administrator, [EMAIL PROTECTED] and inform them of
 the time the error occurred, and anything you might have done that may have
 caused the error.

 More information about this error may be available in the server error log.


 
 what is happening 
 ..
 some data which might  be useful..
 no nagios directory is being created in /var/spool..
 can anyone shed some light on this...
 do i need to do something to the permissions of any dir/files..( all the
 files in the nagios installation directory have been set to 775 )

 Any help will be greatly appriciated.


hey,

Is the nagios service running

If you are using redhat linux do this

service nagios start (you need to be root to do this)

or /etc/init.d/nagios start

if Nagios is already running then check cgi.cfg under /etc/nagios directory

make
use_authentication=0

this means any user can access nagios through the web interface and if

use_authentication=1 then you need to assign users who can access nagios.

Thanks  Regards

Ankush Grover

-
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=lnkkid=120709bid=263057dat=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] help needed .. newbie

2006-09-05 Thread rahul ramasubramanian

hi ankush..
thanks for the help... the nagios service is running now but still i get the 
same error
the error message that is being writetn in the logs is

Warning: Return code of 127 for check of service 'PING' on host 'localhost' 
wa
s out of bounds. Make sure the plugin you're trying to run actually exists.

what does this mean...
i am using the minimal.cfg file to get nagios up and running first ...

in the command prompt
services like ./check_ping  ./check_tcp are working fine for the 
localhost..

thanks
rahul



From: ankush grover [EMAIL PROTECTED]
To: rahul ramasubramanian [EMAIL PROTECTED], Nagios Users 
Mailinglist nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] help needed .. newbie
Date: Tue, 5 Sep 2006 12:02:53 +0530

On 9/5/06, rahul ramasubramanian [EMAIL PROTECTED] wrote:
hi all
i am a newbie to nagios and am trying to install it on my server..
i successfully installed the nagios framework and plugins and got a pre
flight check -ok..
a nagios -s command gave the following output
Max host check spread:   30 min
First scheduled check:   N/A
Last scheduled check:N/A


SERVICE SCHEDULING INFORMATION
---
Total services: 5
Total scheduled services:   5
Service inter-check delay method:   SMART
Average service check interval: 300.00 sec
Inter-check delay:  60.00 sec
Interleave factor method:   SMART
Average services per host:  5.00
Service interleave factor:  5
Max service check spread:   30 min
First scheduled check:  Mon Sep  4 02:34:08 2006
Last scheduled check:   Mon Sep  4 02:38:08 2006


CHECK PROCESSING INFORMATION

Service check reaper interval:  10 sec
Max concurrent service checks:  Unlimited


PERFORMANCE SUGGESTIONS
---
I have no suggestions - things look okay.

so i guessed that  everything was  going on allright...
why i tried to use my web interface to access nagios( apache web server )
... i reach the main   nagios screen..( the documentation part )
but on trying  to click on any other tab i got the following error.
Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable

to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may 
have
caused the error.

More information about this error may be available in the server error 
log.



what is happening 
..
some data which might  be useful..
no nagios directory is being created in /var/spool..
can anyone shed some light on this...
do i need to do something to the permissions of any dir/files..( all the
files in the nagios installation directory have been set to 775 )

Any help will be greatly appriciated.


hey,

Is the nagios service running

If you are using redhat linux do this

service nagios start (you need to be root to do this)

or /etc/init.d/nagios start

if Nagios is already running then check cgi.cfg under /etc/nagios directory

make
use_authentication=0

this means any user can access nagios through the web interface and if

use_authentication=1 then you need to assign users who can access nagios.

Thanks  Regards

Ankush Grover



-
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=lnkkid=120709bid=263057dat=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] help needed .. newbie

2006-09-05 Thread Arno Lehmann
Hi,

On 9/5/2006 9:18 AM, rahul ramasubramanian wrote:
 hi ankush..
 thanks for the help... the nagios service is running now but still i get the 
 same error
 the error message that is being writetn in the logs is
 
 Warning: Return code of 127 for check of service 'PING' on host 'localhost' 
 wa
 s out of bounds. Make sure the plugin you're trying to run actually exists.

This is most probably not what you see in the web server error log.

The original problems seems to indicate that you did not set up the web 
server correctly. It's described in the manual, but basically you need 
to make sure that the nagios cgi-scripts are executed correctly. 
Permissions, ownership, selinux and AppArmor are some things to check 
first, then make sure the web server setup is thus that these scripts 
are actually executed and not simply sent when they are called.

 what does this mean...
 i am using the minimal.cfg file to get nagios up and running first ...

Have you modified the configuration so that it actually uses the plugins 
you installed?

Nagios really needs to be setup by you.

 in the command prompt
 services like ./check_ping  ./check_tcp are working fine for the 
 localhost..

As which user? Have you checked the paths?

Arno

 thanks
 rahul
 
 
 
 
From: ankush grover [EMAIL PROTECTED]
To: rahul ramasubramanian [EMAIL PROTECTED], Nagios Users 
Mailinglist nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] help needed .. newbie
Date: Tue, 5 Sep 2006 12:02:53 +0530

On 9/5/06, rahul ramasubramanian [EMAIL PROTECTED] wrote:

hi all
i am a newbie to nagios and am trying to install it on my server..
i successfully installed the nagios framework and plugins and got a pre
flight check -ok..
a nagios -s command gave the following output
Max host check spread:   30 min
First scheduled check:   N/A
Last scheduled check:N/A

SERVICE SCHEDULING INFORMATION
---
Total services: 5
Total scheduled services:   5
Service inter-check delay method:   SMART
Average service check interval: 300.00 sec
Inter-check delay:  60.00 sec
Interleave factor method:   SMART
Average services per host:  5.00
Service interleave factor:  5
Max service check spread:   30 min
First scheduled check:  Mon Sep  4 02:34:08 2006
Last scheduled check:   Mon Sep  4 02:38:08 2006


CHECK PROCESSING INFORMATION

Service check reaper interval:  10 sec
Max concurrent service checks:  Unlimited


PERFORMANCE SUGGESTIONS
---
I have no suggestions - things look okay.

so i guessed that  everything was  going on allright...
why i tried to use my web interface to access nagios( apache web server )
... i reach the main   nagios screen..( the documentation part )
but on trying  to click on any other tab i got the following error.
Internal Server Error
The server encountered an internal error or misconfiguration and was 
unable

to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of
the time the error occurred, and anything you might have done that may 
have
caused the error.

More information about this error may be available in the server error 
log.



what is happening 
..
some data which might  be useful..
no nagios directory is being created in /var/spool..
can anyone shed some light on this...
do i need to do something to the permissions of any dir/files..( all the
files in the nagios installation directory have been set to 775 )

Any help will be greatly appriciated.


hey,

Is the nagios service running

If you are using redhat linux do this

service nagios start (you need to be root to do this)

or /etc/init.d/nagios start

if Nagios is already running then check cgi.cfg under /etc/nagios directory

make
use_authentication=0

this means any user can access nagios through the web interface and if

use_authentication=1 then you need to assign users who can access nagios.

Thanks  Regards

Ankush Grover
 
 
 
 
 -
 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=lnkkid=120709bid=263057dat=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

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

Re: [Nagios-users] help needed .. newbie

2006-09-05 Thread Andy Shellam
It's always better to put the full path to the plugins (or check this is 
so in minimal.cfg.)  $USER1$ I believe has the path to the plugins 
folder (nagios/libexec), so you can use $USER1$/check_ping -H 
localhost in a service definition as the check command to ping the 
localhost.

Return code 127 means either the path to the plugin was invalid, the 
plugin is missing, or the nagios user doesn't have permissions to 
execute the plugin.




rahul ramasubramanian wrote:
 hi ankush..
 thanks for the help... the nagios service is running now but still i get the 
 same error
 the error message that is being writetn in the logs is

 Warning: Return code of 127 for check of service 'PING' on host 'localhost' 
 wa
 s out of bounds. Make sure the plugin you're trying to run actually exists.

 what does this mean...
 i am using the minimal.cfg file to get nagios up and running first ...

 in the command prompt
 services like ./check_ping  ./check_tcp are working fine for the 
 localhost..

 thanks
 rahul



   
 From: ankush grover [EMAIL PROTECTED]
 To: rahul ramasubramanian [EMAIL PROTECTED], Nagios Users 
 Mailinglist nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] help needed .. newbie
 Date: Tue, 5 Sep 2006 12:02:53 +0530

 On 9/5/06, rahul ramasubramanian [EMAIL PROTECTED] wrote:
 
 hi all
 i am a newbie to nagios and am trying to install it on my server..
 i successfully installed the nagios framework and plugins and got a pre
 flight check -ok..
 a nagios -s command gave the following output
 Max host check spread:   30 min
 First scheduled check:   N/A
 Last scheduled check:N/A
   
 SERVICE SCHEDULING INFORMATION
 ---
 Total services: 5
 Total scheduled services:   5
 Service inter-check delay method:   SMART
 Average service check interval: 300.00 sec
 Inter-check delay:  60.00 sec
 Interleave factor method:   SMART
 Average services per host:  5.00
 Service interleave factor:  5
 Max service check spread:   30 min
 First scheduled check:  Mon Sep  4 02:34:08 2006
 Last scheduled check:   Mon Sep  4 02:38:08 2006


 CHECK PROCESSING INFORMATION
 
 Service check reaper interval:  10 sec
 Max concurrent service checks:  Unlimited


 PERFORMANCE SUGGESTIONS
 ---
 I have no suggestions - things look okay.

 so i guessed that  everything was  going on allright...
 why i tried to use my web interface to access nagios( apache web server )
 ... i reach the main   nagios screen..( the documentation part )
 but on trying  to click on any other tab i got the following error.
 Internal Server Error
 The server encountered an internal error or misconfiguration and was 
 unable
   
 to complete your request.

 Please contact the server administrator, [EMAIL PROTECTED] and inform them 
 of
 the time the error occurred, and anything you might have done that may 
 have
 caused the error.

 More information about this error may be available in the server error 
 log.


 
 what is happening 
 ..
 some data which might  be useful..
 no nagios directory is being created in /var/spool..
 can anyone shed some light on this...
 do i need to do something to the permissions of any dir/files..( all the
 files in the nagios installation directory have been set to 775 )

 Any help will be greatly appriciated.
   
 hey,

 Is the nagios service running

 If you are using redhat linux do this

 service nagios start (you need to be root to do this)

 or /etc/init.d/nagios start

 if Nagios is already running then check cgi.cfg under /etc/nagios directory

 make
 use_authentication=0

 this means any user can access nagios through the web interface and if

 use_authentication=1 then you need to assign users who can access nagios.

 Thanks  Regards

 Ankush Grover
 



 -
 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=lnkkid=120709bid=263057dat=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

 !DSPAM:37,44fd24d9143291462088831!


   


-
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

[Nagios-users] help needed .. newbie

2006-09-04 Thread rahul ramasubramanian
hi all
i am a newbie to nagios and am trying to install it on my server..
i successfully installed the nagios framework and plugins and got a pre 
flight check -ok..
a nagios -s command gave the following output
Max host check spread:   30 min
First scheduled check:   N/A
Last scheduled check:N/A


SERVICE SCHEDULING INFORMATION
---
Total services: 5
Total scheduled services:   5
Service inter-check delay method:   SMART
Average service check interval: 300.00 sec
Inter-check delay:  60.00 sec
Interleave factor method:   SMART
Average services per host:  5.00
Service interleave factor:  5
Max service check spread:   30 min
First scheduled check:  Mon Sep  4 02:34:08 2006
Last scheduled check:   Mon Sep  4 02:38:08 2006


CHECK PROCESSING INFORMATION

Service check reaper interval:  10 sec
Max concurrent service checks:  Unlimited


PERFORMANCE SUGGESTIONS
---
I have no suggestions - things look okay.

so i guessed that  everything was  going on allright...
why i tried to use my web interface to access nagios( apache web server ) 
... i reach the main   nagios screen..( the documentation part )
but on trying  to click on any other tab i got the following error.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable 
to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform them of 
the time the error occurred, and anything you might have done that may have 
caused the error.

More information about this error may be available in the server error log.



what is happening 
..
some data which might  be useful..
no nagios directory is being created in /var/spool..
can anyone shed some light on this...
do i need to do something to the permissions of any dir/files..( all the 
files in the nagios installation directory have been set to 775 )

Any help will be greatly appriciated.



-
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=lnkkid=120709bid=263057dat=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] Help needed from experts for Juniper SA4000 monitoring

2006-08-25 Thread Sekhar
Hi,I am having two Juniper SA4000 devices i need to monitor those devices using snmp.Can some one help me how to monitor these devices or plugins or OID's to monitor the followingCPU/Memory/Swap/Disk space/Fan status/Power status/RAID status  Logged in usersI really need experts help on this.Thanks 
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.-
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=lnkkid=120709bid=263057dat=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