Re: [Nagios-users-br] dependencia de serviços

2010-03-08 Thread Oscar Gemperle
Olá Alex

Sim isso é possível. Eu já implementei isso uma vez na empresa que eu
trabalhava.
Eu não me lembro mais como é a configuração, mas eu fiz assim como está
explicado no manual do Nagios.

Inté,
Oscar

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users-br] Nagios - Como dar permissão pa ra usuário somente inserir comentários de host e serviço?

2010-03-08 Thread benedito.ramos
PessoALL,

Tenho uma dúvida cruel.

Estou precisando criar um usuário no Nagios com permissão de apenas monitorar e 
inserir comentários nos hosts e serviços.
Vendo o arquivo CGI.cfg, tenho as seguintes configurações possíveis:

authorized_for_system_information=

authorized_for_configuration_information=

authorized_for_system_commands=

authorized_for_all_services=

authorized_for_all_hosts=

authorized_for_all_service_commands=

authorized_for_all_host_commands=

authorized_for_read_only=

Então, se eu der a seguinte autorização para o usuário user1, ele somente pode 
monitorar e não consegue colocar comentários:

authorized_for_all_services=user1

authorized_for_all_hosts=user1

E se eu der a seguinte, ele não só pode monitorar e colocar comentários, MAS 
TAMBÉM RECONHECER PROBLEMAS, COLOCAR O HOST EM DOWNTIME, PARAR CHECAGENS 
ATIVAS, ETC.

authorized_for_all_service_commands=user1

authorized_for_all_host_commands=user1

Mas o que eu preciso é que ele somente monitore e insira comentários.

Alguém sabe como fazer isso?

Grato

Diramos



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users-br] Fwd: Instalação do ndo no nagios3

2010-03-08 Thread Renato T Melo
Pessoal,
estou tentando instalar o nagios3 com ndo e no final da instalação,
quando tento startar o ndo, retorna a seguinte mensagem:

...Support for the specified database server is either not yet
supported, or was not found on your system...

Meu sistema está configurado da seguinte forma:

-Linux Debian Lenny 5
-mysql-server-5.0
-nagios-3.2.0
-nagios-plugins-1.4.14
-ndo2db-0.3.1.tar.bz2
- apache2
- php5

Alguém pode ajudar?

Obrigado.
Tamiette.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
-- 
Nagios-users-br@lists.sourceforge.net mailing list
https://lists.sourceforge.net/lists/listinfo/nagios-users-br
Wiki: http://nagios-br.sf.net/wiki


[Nagios-users] Monitoring a process with its pid

2010-03-08 Thread Jatin Davey
Hi All

Do we have a plugin that can monitor process id (pid) on a target 
machine , the target machine could be anything such as windows , linux , 
solaris etc and alert with an email notification when the process id 
changes.

Appreciate your responses.

Thanks
Jatin

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Monitoring a process with its pid

2010-03-08 Thread Jatin Davey
Let me re-phrase it a little ,

Basically what i want is to give the process id as the input and make 
sure on that target machine i have the process with the given id running 
, once it stops there might not be the process running with that id and 
hence i need to raise an email notification alert.

Thanks
Jatin

On 3/8/2010 5:41 PM, Jatin Davey wrote:
 Hi All

 Do we have a plugin that can monitor process id (pid) on a target
 machine , the target machine could be anything such as windows , linux ,
 solaris etc and alert with an email notification when the process id
 changes.

 Appreciate your responses.

 Thanks
 Jatin

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Monitoring a process with its pid

2010-03-08 Thread Wolfe, Robert
Forgive me, but I am not quite understanding why you are wanting to do this?  
Don't PIDs change from program startup to program startup?


From: Jatin Davey [jasho...@cisco.com]
Sent: Monday, March 08, 2010 8:10 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring a process with its pid

Let me re-phrase it a little ,

Basically what i want is to give the process id as the input and make
sure on that target machine i have the process with the given id running
, once it stops there might not be the process running with that id and
hence i need to raise an email notification alert.

Thanks
Jatin

On 3/8/2010 5:41 PM, Jatin Davey wrote:
 Hi All

 Do we have a plugin that can monitor process id (pid) on a target
 machine , the target machine could be anything such as windows , linux ,
 solaris etc and alert with an email notification when the process id
 changes.

 Appreciate your responses.

 Thanks
 Jatin

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Monitoring JVM Attributes using Nagios

2010-03-08 Thread Ricardo Maraschini




- Jatin Davey jasho...@cisco.com escreveu:
 Could you let me know how i can install the plugin on the server that
 i 
 need to monitor. 

AFAIK you must install the script on the Nagios Server, not on the JVM Server.
If I'm wrong, let me know.

 But i am not getting
 a 
 clue as to what i need to do on the remote box whose JVM parameters i
 need to monitor.

I truly believe you must enable JMX on JVM. Please refer to [1].
Once you enabled JMX, you can configure the plugin to connect in a remote way.

HTH

-rm

[1] http://java.sun.com/j2se/1.5.0/docs/guide/management/agent.html

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Customization

2010-03-08 Thread wale Ajayi
Hello all, good job by every one of you, i just want to know how can i
remove the nag...@3.0.6 in the headers of this application cos i'm newbee to
this application and the documentation that talks about this after trying
it, it does not work. Thanks for your response with time.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Customization

2010-03-08 Thread steve f

Are you referring to the main page for the Nagios web console?

I have modified both the main page  the side bar by editing either side.php or 
main.php

Steve

Date: Mon, 8 Mar 2010 15:17:43 +0100
From: werty...@gmail.com
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Customization

Hello all, good job by every one of you, i just want to know how can i remove 
the nag...@3.0.6 in the headers of this application cos i'm newbee to this 
application and the documentation that talks about this after trying it, it 
does not work. Thanks for your response with time.
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] how many hosts or services can hold in one nagios?

2010-03-08 Thread HyunSung Jang
hello.
I am think about setting up distributed monitoring but i just wanna know
about how many
hosts or services  can hold in one nagios server.

I have about 1000 hosts in my environment, and 3-5 services for each hosts.
this makes maximum 5000 services check which i need to setup.

can I make one nagios server to check all this hosts and services?
and do you guys think that it is possible?

if not, how many hosts or services should hold in one nagios servers?

at this moment i adjusted interval_length to 1 in nagios.cfg and i am using
10 sec to check_interval in objects.cfg.

Any comments or recommends are appreciated.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Monitoring a process with its pid

2010-03-08 Thread Matt Simmons
If you have snmp enabled on the hosts, you can pull that information out:

~$ snmpwalk -v 2c -c COMMUNITY myhost.mydomain.com
HOST-RESOURCES-MIB::hrSWRunName.3309
HOST-RESOURCES-MIB::hrSWRunName.3309 = STRING: crond



On Mon, Mar 8, 2010 at 8:10 AM, Jatin Davey jasho...@cisco.com wrote:
 Let me re-phrase it a little ,

 Basically what i want is to give the process id as the input and make
 sure on that target machine i have the process with the given id running
 , once it stops there might not be the process running with that id and
 hence i need to raise an email notification alert.

 Thanks
 Jatin

 On 3/8/2010 5:41 PM, Jatin Davey wrote:
 Hi All

 Do we have a plugin that can monitor process id (pid) on a target
 machine , the target machine could be anything such as windows , linux ,
 solaris etc and alert with an email notification when the process id
 changes.

 Appreciate your responses.

 Thanks
 Jatin

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
LITTLE GIRL: But which cookie will you eat FIRST?
COOKIE MONSTER: Me think you have misconception of cookie-eating process.

COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the
NJ-PICC Sysadmin Conference! http://www.picconf.org

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Monitoring a process with its pid

2010-03-08 Thread Jatin
You are correct , pid's change from to startup to startup but the reason 
for doing so is that i want to make sure that a process if it starts 
with some id it stays working as a long as possible and i need to 
monitor it. The moment it changes the pid then it means that it has 
either crashed of re-started with some other pid. I could also monitor 
for the process status using its name , example having to monitor an 
explorer.exe process instead of its pid but in my test environment i 
have multiple instances of the same process and i need to make sure all 
of them keep running. For example i hava 4 java.exe processes that i 
need to monitor and make sure i have not more or less than 4 java.exe 
being running at any given time in my server.

Thanks
Jatin

Wolfe, Robert wrote:
 Forgive me, but I am not quite understanding why you are wanting to do this?  
 Don't PIDs change from program startup to program startup?

 
 From: Jatin Davey [jasho...@cisco.com]
 Sent: Monday, March 08, 2010 8:10 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Monitoring a process with its pid

 Let me re-phrase it a little ,

 Basically what i want is to give the process id as the input and make
 sure on that target machine i have the process with the given id running
 , once it stops there might not be the process running with that id and
 hence i need to raise an email notification alert.

 Thanks
 Jatin

 On 3/8/2010 5:41 PM, Jatin Davey wrote:
   
 Hi All

 Do we have a plugin that can monitor process id (pid) on a target
 machine , the target machine could be anything such as windows , linux ,
 solaris etc and alert with an email notification when the process id
 changes.

 Appreciate your responses.

 Thanks
 Jatin

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null

   


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] how many hosts or services can hold in one nagios?

2010-03-08 Thread Marc Powell

On Mar 8, 2010, at 9:17 AM, HyunSung Jang wrote:

 hello.
 I am think about setting up distributed monitoring but i just wanna know 
 about how many
 hosts or services  can hold in one nagios server.

There's no simple answer to this question because there are too many variables. 
An equivalent question is 'How far will a car go on a liter of gas?

 I have about 1000 hosts in my environment, and 3-5 services for each hosts.
 this makes maximum 5000 services check which i need to setup.

Are these simple checks or complex checks? Are you performing them once a 
second or once every 24 hours? Are you checking things on a fast LAN or slow 
WAN? Answering these questions won't get you a definitive answer but does 
illustrate some of the factors that can affect how many things you can check in 
a given interval.

 can I make one nagios server to check all this hosts and services? 
 and do you guys think that it is possible?

I expect that if you have a mix of simple (like ping) and complex (like 
check_http) checks, performed every 5 minutes or so on modern hardware and a 
decent network, you should be fine. I have single machines checking ~4000 
services with 5 minute interval (complex and simple checks) and I appear to 
have plenty of room to grow.

 if not, how many hosts or services should hold in one nagios servers?
 
 at this moment i adjusted interval_length to 1 in nagios.cfg and i am using
 10 sec to check_interval in objects.cfg.

I'd be surprised if you could run 5000 checks every 10 seconds, even if they 
were just ping (unless just a single ping). It may be possible but you'll have 
several thousand processes running concurrently all the time.

 Any comments or recommends are appreciated.

I think the best answer anyone can give you is Try And Find Out, given your 
environment, the checks you want to perform and the frequency you want to 
perform them.

--
Marc


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Want to Install nagios

2010-03-08 Thread ravishankar.gundlapali
Hi,

 

I have Linux box with Red Hat Fedora 10 installed on it.

 

I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14

 

Please can someone guide me how can I do this.

 

Thanks  Regards,

Ravi G

 

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread Assaf Flatto

start here

http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html


ravishankar.gundlap...@wipro.com wrote:

 Hi,

  

 I have Linux box with Red Hat Fedora 10 installed on it.

  

 I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14

  

 Please can someone guide me how can I do this.

  

 Thanks  Regards,

 *Ravi G*

  

 

 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 

 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when reporting 
 any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Gezina Dekker
Hi all,

I have looked at all the questions so far, and nothing that brings any
comfort.

I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL)

I have all the following installed:
Apache
PHP
GCC compiler
GD development libraries

I have nagios and nagcmd defined

I have installed nagios and the plugins

I have a passwd in htpasswd, and it is read acces for all.

SELinux is disabled

In terms of my nagios.conf, this is it…

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

Directory /usr/local/nagios/sbin
#  SSLRequireSSL
   Options FollowSymLinks ExecCGI
   AllowOverride AuthConfig
   Order allow,deny
   Allow from all
   AuthName Nagios Access
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user
/Directory

Alias /nagios /usr/local/nagios/share

Directory /usr/local/nagios/share
#  SSLRequireSSL
   Options FollowSymLinks
   DirectoryIndex index.html
   AllowOverride AuthConfig
   Order allow,deny
   Allow from all
   AuthName Nagios Access
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user
/Directory


The contents of my /share is the following:
drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
-rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
-rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
-rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
-rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets


The errors I am getting is the following:

Forbidden
You don't have permission to access /nagios on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an
ErrorDocument to handle the request.


Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80


I am making the assumption that the 403 is less serious, and that it is
actually the permissions that needs fixing…

Thanks in advance for your willingness to look at this with me.

Regards

Gezina
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Assaf Flatto
Gezina Dekker wrote:

 Hi all,
  
 I have looked at all the questions so far, and nothing that brings any 
 comfort.
  
 I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL)
  
 I have all the following installed:
 Apache
 PHP
 GCC compiler
 GD development libraries
  
 I have nagios and nagcmd defined
  
 I have installed nagios and the plugins
  
 I have a passwd in htpasswd, and it is read acces for all.
  
 SELinux is disabled
  
 In terms of my nagios.conf, this is it…
  
 ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
  
 Directory /usr/local/nagios/sbin
 #  SSLRequireSSL
Options FollowSymLinks ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory
  
 Alias /nagios /usr/local/nagios/share
  
 Directory /usr/local/nagios/share
 #  SSLRequireSSL
Options FollowSymLinks
DirectoryIndex index.html
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory
  
  
 The contents of my /share is the following:
 drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
 drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
 drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
 drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
 -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
 drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
 -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
 -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
 -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets
  
  
 The errors I am getting is the following:
  
 Forbidden
 You don't have permission to access /nagios on this server.
 Additionally, a 403 Forbidden error was encountered while trying to 
 use an ErrorDocument to handle the request.

  

 Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80
  
  
 I am making the assumption that the 403 is less serious, and that it 
 is actually the permissions that needs fixing…
  
 Thanks in advance for your willingness to look at this with me.

Did you restart the apache after the change to the configuration ?

Assaf



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Robert Wolfe
Try setting ownership of these files to user nagios, group nagios.



From: Gezina Dekker [mailto:gezin...@gmail.com]
Sent: Monday, March 08, 2010 1:17 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] You do not have permission to access /nagios on this 
server


Hi all,

I have looked at all the questions so far, and nothing that brings any comfort.

I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL)

I have all the following installed:
Apache
PHP
GCC compiler
GD development libraries

I have nagios and nagcmd defined

I have installed nagios and the plugins

I have a passwd in htpasswd, and it is read acces for all.

SELinux is disabled

In terms of my nagios.conf, this is it...

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

Directory /usr/local/nagios/sbin
#  SSLRequireSSL
   Options FollowSymLinks ExecCGI
   AllowOverride AuthConfig
   Order allow,deny
   Allow from all
   AuthName Nagios Access
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user
/Directory

Alias /nagios /usr/local/nagios/share

Directory /usr/local/nagios/share
#  SSLRequireSSL
   Options FollowSymLinks
   DirectoryIndex index.html
   AllowOverride AuthConfig
   Order allow,deny
   Allow from all
   AuthName Nagios Access
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user
/Directory


The contents of my /share is the following:
drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
-rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
-rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
-rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
-rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets


The errors I am getting is the following:

Forbidden
You don't have permission to access /nagios on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an 
ErrorDocument to handle the request.


Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80


I am making the assumption that the 403 is less serious, and that it is 
actually the permissions that needs fixing...

Thanks in advance for your willingness to look at this with me.

Regards

Gezina
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread ravishankar.gundlapali
Hi,

When I have given the following command ,the below error occurred.

Please suggest.


Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
error was
[Errno 4] IOError: urlopen error (-2, 'Name or service not known')
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again

Thanks  Regards,
Ravi G


-Original Message-
From: Assaf Flatto [mailto:nag...@flatto.net] 
Sent: Monday, March 08, 2010 11:42 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Want to Install nagios


start here

http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html


ravishankar.gundlap...@wipro.com wrote:

 Hi,

  

 I have Linux box with Red Hat Fedora 10 installed on it.

  

 I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14

  

 Please can someone guide me how can I do this.

  

 Thanks  Regards,

 *Ravi G*

  






--
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev



 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Marc Powell

On Mar 8, 2010, at 12:16 PM, Gezina Dekker wrote:

 Hi all,
 

 The contents of my /share is the following:
 drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
 drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..

Permissions on this directory are not allowing your web server 'rx' access. 
Looks like this is /usr/local/nagios. chmod 755 /usr/local/nagios or chmod g+rx 
/usr/local/nagios if your httpd run-as user is in the nagcmd group.

--
Marc


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Gezina Dekker
Robert,

Which files are we talking about?

Regards

Herbie

2010/3/8 Assaf Flatto nag...@flatto.net

  Gezina Dekker wrote:
 
  Hi all,
 
  I have looked at all the questions so far, and nothing that brings any
  comfort.
 
  I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL)
 
  I have all the following installed:
  Apache
  PHP
  GCC compiler
  GD development libraries
 
  I have nagios and nagcmd defined
 
  I have installed nagios and the plugins
 
  I have a passwd in htpasswd, and it is read acces for all.
 
  SELinux is disabled
 
  In terms of my nagios.conf, this is it…
 
  ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
  Directory /usr/local/nagios/sbin
  #  SSLRequireSSL
 Options FollowSymLinks ExecCGI
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
  Alias /nagios /usr/local/nagios/share
 
  Directory /usr/local/nagios/share
  #  SSLRequireSSL
 Options FollowSymLinks
 DirectoryIndex index.html
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
 
  The contents of my /share is the following:
  drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
  drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
  -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
  drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
  -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
  -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
  -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets
 
 
  The errors I am getting is the following:
 
  Forbidden
  You don't have permission to access /nagios on this server.
  Additionally, a 403 Forbidden error was encountered while trying to
  use an ErrorDocument to handle the request.
 
 
 
  Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80
 
 
  I am making the assumption that the 403 is less serious, and that it
  is actually the permissions that needs fixing…
 
  Thanks in advance for your willingness to look at this with me.

 Did you restart the apache after the change to the configuration ?

 Assaf




 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread ravishankar.gundlapali
Hi,

I have given the command ' yum install httpd php ' to install the
packages initially but the below error occurred.

Please suggest.


Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
error was
[Errno 4] IOError: urlopen error (-2, 'Name or service not known')
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again

Thanks  Regards,
Ravi G


-Original Message-
From: Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES) 
Sent: Monday, March 08, 2010 11:53 PM
To: 'Assaf Flatto'; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Want to Install nagios

Hi,

When I have given the following command ,the below error occurred.

Please suggest.


Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
error was
[Errno 4] IOError: urlopen error (-2, 'Name or service not known')
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again

Thanks  Regards,
Ravi G


-Original Message-
From: Assaf Flatto [mailto:nag...@flatto.net] 
Sent: Monday, March 08, 2010 11:42 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Want to Install nagios


start here

http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html


ravishankar.gundlap...@wipro.com wrote:

 Hi,

  

 I have Linux box with Red Hat Fedora 10 installed on it.

  

 I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14

  

 Please can someone guide me how can I do this.

  

 Thanks  Regards,

 *Ravi G*

  






--
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev



 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
 ::: Messages without supporting info will risk being sent to /dev/null



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread Noel Platzke
That's not a nagios problem. It's an issue with your machine not being able
to talk to the yum repository.

On Mon, Mar 8, 2010 at 1:29 PM, ravishankar.gundlap...@wipro.com wrote:

 Hi,

 I have given the command ' yum install httpd php ' to install the
 packages initially but the below error occurred.

 Please suggest.


 Loaded plugins: refresh-packagekit
 Could not retrieve mirrorlist
 http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
 error was
 [Errno 4] IOError: urlopen error (-2, 'Name or service not known')
 Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 fedora. Please verify its path and try again

 Thanks  Regards,
 Ravi G


 -Original Message-
 From: Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES)
 Sent: Monday, March 08, 2010 11:53 PM
 To: 'Assaf Flatto'; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] Want to Install nagios

 Hi,

 When I have given the following command ,the below error occurred.

 Please suggest.


 Loaded plugins: refresh-packagekit
 Could not retrieve mirrorlist
 http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
 error was
 [Errno 4] IOError: urlopen error (-2, 'Name or service not known')
 Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 fedora. Please verify its path and try again

 Thanks  Regards,
 Ravi G


 -Original Message-
 From: Assaf Flatto [mailto:nag...@flatto.net]
 Sent: Monday, March 08, 2010 11:42 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Want to Install nagios


 start here

 http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html


 ravishankar.gundlap...@wipro.com wrote:
 
  Hi,
 
 
 
  I have Linux box with Red Hat Fedora 10 installed on it.
 
 
 
  I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14
 
 
 
  Please can someone guide me how can I do this.
 
 
 
  Thanks  Regards,
 
  *Ravi G*
 
 
 
 
 
 
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
 
 
 
  ___
  Nagios-users mailing list
  Nagios-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users
  ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
  ::: Messages without supporting info will risk being sent to /dev/null


 
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Gezina Dekker
Thank you,

That was it, and it displays the signon screen now, but it does not accept
my username or password.
I would have thought that either nagios / nagiosadmin would be the one to
use at the start?
Any ideas on this?

Regards

Gezina

2010/3/8 Marc Powell m...@ena.com


 On Mar 8, 2010, at 12:16 PM, Gezina Dekker wrote:

  Hi all,
 

  The contents of my /share is the following:
  drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
  drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..

 Permissions on this directory are not allowing your web server 'rx' access.
 Looks like this is /usr/local/nagios. chmod 755 /usr/local/nagios or chmod
 g+rx /usr/local/nagios if your httpd run-as user is in the nagcmd group.

 --
 Marc



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Can we change the IP address of the Linux box after installing Nagios.

2010-03-08 Thread ravishankar.gundlapali
Hi,

I have a Linux box with Red Hat Fedora 10 installed on it.

There is no internet access from this box.

I have approached my security team and they have suggested me that they
can change the IP address of this Linux box and move it to a different
VLan for some time period where we have internet access, so that I can
install the required packages and Nagios.

After I am done with my work they said that they will move it back and
change the IP.

Can anyone please guide me whether I can follow the above procedure.


Thanks a Lot in advance.



Regards,
Ravi G







--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread Marc Powell

On Mar 8, 2010, at 12:29 PM, ravishankar.gundlap...@wipro.com 
ravishankar.gundlap...@wipro.com wrote:

 Hi,
 
 I have given the command ' yum install httpd php ' to install the
 packages initially but the below error occurred.
 
 Please suggest.

Ask the forum that supports your OS/package manager? It seems you have outdated 
repository data for it.

--
Marc


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread Gezina Dekker
Ravi,

Search for Official Nagios Documentation, this will give you the doc you
need for this purpose.

2010/3/8 ravishankar.gundlap...@wipro.com

  Hi,



 I have Linux box with Red Hat Fedora 10 installed on it.



 I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14



 Please can someone guide me how can I do this.



 Thanks  Regards,

 *Ravi G*




 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread ravishankar.gundlapali
Hi ,

 

Please suggest what can be done for this issue.

 

Thanks a lot in advance.

 

Thanks  Regards,

Ravi G

 

From: Noel Platzke [mailto:neuf...@gmail.com] 
Sent: Tuesday, March 09, 2010 12:08 AM
To: nagios List
Subject: Re: [Nagios-users] Want to Install nagios

 

That's not a nagios problem. It's an issue with your machine not being
able to talk to the yum repository.

On Mon, Mar 8, 2010 at 1:29 PM, ravishankar.gundlap...@wipro.com
wrote:

Hi,

I have given the command ' yum install httpd php ' to install the
packages initially but the below error occurred.

Please suggest.


Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
error was
[Errno 4] IOError: urlopen error (-2, 'Name or service not known')
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again

Thanks  Regards,
Ravi G


-Original Message-
From: Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES)
Sent: Monday, March 08, 2010 11:53 PM
To: 'Assaf Flatto'; nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Want to Install nagios

Hi,

When I have given the following command ,the below error occurred.

Please suggest.


Loaded plugins: refresh-packagekit
Could not retrieve mirrorlist
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
error was
[Errno 4] IOError: urlopen error (-2, 'Name or service not known')
Error: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again

Thanks  Regards,
Ravi G


-Original Message-
From: Assaf Flatto [mailto:nag...@flatto.net]
Sent: Monday, March 08, 2010 11:42 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Want to Install nagios


start here

http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html


ravishankar.gundlap...@wipro.com wrote:

 Hi,



 I have Linux box with Red Hat Fedora 10 installed on it.



 I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14



 Please can someone guide me how can I do this.



 Thanks  Regards,

 *Ravi G*








--
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev



 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

 

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk 

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Gezina Dekker
This is the messages I am getting:

[Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR:
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
[Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user
nagiosadmin not found: /nagios
What does MySql have to do with the bak of patatoes?
2010/3/8 Gezina Dekker gezin...@gmail.com

 Thank you,

 That was it, and it displays the signon screen now, but it does not accept
 my username or password.
 I would have thought that either nagios / nagiosadmin would be the one to
 use at the start?
 Any ideas on this?

 Regards

 Gezina

 2010/3/8 Marc Powell m...@ena.com


 On Mar 8, 2010, at 12:16 PM, Gezina Dekker wrote:

  Hi all,
 

  The contents of my /share is the following:
  drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
  drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..

 Permissions on this directory are not allowing your web server 'rx'
 access. Looks like this is /usr/local/nagios. chmod 755 /usr/local/nagios or
 chmod g+rx /usr/local/nagios if your httpd run-as user is in the nagcmd
 group.

 --
 Marc



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread James Pratt

From what I can see, the perms shouldn't be a big problem , mine are all
owned by nagios:nagios - 

if you remove the .htaccess auth parts, can you get in and view the
CGI's normally?

what do your Apache error and access logs say?

Hth


Cheers,
jamie
 -Original Message-
 From: Robert Wolfe [mailto:rwo...@i-evolve.com]
 Sent: Monday, March 08, 2010 1:20 PM
 To: 'Gezina Dekker'; nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] You do not have permission to access
/nagios on this server
 
 Try setting ownership of these files to user nagios, group nagios.
 
 
 
 
 
 
 
 From: Gezina Dekker [mailto:gezin...@gmail.com]
 Sent: Monday, March 08, 2010 1:17 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] You do not have permission to access /nagios
on this server
 
 
 
 Hi all,
 
 I have looked at all the questions so far, and nothing that brings
any comfort.
 
 I followed the Fedore QuickStart even though I am on RHEL 4
(2.6.9-5.EL)
 
 I have all the following installed:
 Apache
 PHP
 GCC compiler
 GD development libraries
 
 I have nagios and nagcmd defined
 
 I have installed nagios and the plugins
 
 I have a passwd in htpasswd, and it is read acces for all.
 
 SELinux is disabled
 
 In terms of my nagios.conf, this is it...
 
 ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
 Directory /usr/local/nagios/sbin
 #  SSLRequireSSL
Options FollowSymLinks ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory
 
 Alias /nagios /usr/local/nagios/share
 
 Directory /usr/local/nagios/share
 #  SSLRequireSSL
Options FollowSymLinks
DirectoryIndex index.html
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory
 
 
 The contents of my /share is the following:
 drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
 drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
 drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
 drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
 -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
 drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
 -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
 -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
 -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets
 
 
 The errors I am getting is the following:
 
 Forbidden
 You don't have permission to access /nagios on this server.
 Additionally, a 403 Forbidden error was encountered while trying to
use an
 ErrorDocument to handle the request.
 
 
 
 Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80
 
 
 I am making the assumption that the 403 is less serious, and that it
is actually the
 permissions that needs fixing...
 
 Thanks in advance for your willingness to look at this with me.
 
 Regards
 
 
 
 Gezina


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread Kyle O'Donnell
perhaps you should visit nagios.com instead of nagios.org


On Tue, 9 Mar 2010 00:15:53 +0530, ravishankar.gundlap...@wipro.com
wrote:
 Hi ,
 
  
 
 Please suggest what can be done for this issue.
 
  
 
 Thanks a lot in advance.
 
  
 
 Thanks  Regards,
 
 Ravi G
 
  
 
 From: Noel Platzke [mailto:neuf...@gmail.com] 
 Sent: Tuesday, March 09, 2010 12:08 AM
 To: nagios List
 Subject: Re: [Nagios-users] Want to Install nagios
 
  
 
 That's not a nagios problem. It's an issue with your machine not being
 able to talk to the yum repository.
 
 On Mon, Mar 8, 2010 at 1:29 PM, ravishankar.gundlap...@wipro.com
 wrote:
 
 Hi,
 
 I have given the command ' yum install httpd php ' to install the
 packages initially but the below error occurred.
 
 Please suggest.
 
 
 Loaded plugins: refresh-packagekit
 Could not retrieve mirrorlist
 http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
 error was
 [Errno 4] IOError: urlopen error (-2, 'Name or service not known')
 Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 fedora. Please verify its path and try again
 
 Thanks  Regards,
 Ravi G
 
 
 -Original Message-
 From: Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES)
 Sent: Monday, March 08, 2010 11:53 PM
 To: 'Assaf Flatto'; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] Want to Install nagios
 
 Hi,
 
 When I have given the following command ,the below error occurred.
 
 Please suggest.
 
 
 Loaded plugins: refresh-packagekit
 Could not retrieve mirrorlist
 http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
 error was
 [Errno 4] IOError: urlopen error (-2, 'Name or service not known')
 Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 fedora. Please verify its path and try again
 
 Thanks  Regards,
 Ravi G
 
 
 -Original Message-
 From: Assaf Flatto [mailto:nag...@flatto.net]
 Sent: Monday, March 08, 2010 11:42 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Want to Install nagios
 
 
 start here
 
 http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html
 
 
 ravishankar.gundlap...@wipro.com wrote:

 Hi,



 I have Linux box with Red Hat Fedora 10 installed on it.



 I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14



 Please can someone guide me how can I do this.



 Thanks  Regards,

 *Ravi G*




 


 
 --
 Download Intel® Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev

 

 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null
 
 
 
 --
 Download Intel® Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null
 
 
 --
 Download Intel® Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Kyle O'Donnell
What were you configure options?  Do you have net-snmp(dev libs too)
installed?  


On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas am.sr...@gmail.com
wrote:
 Hi,
 
 I very recently installed nagios Nagios-3.2.0 and
Nagios-plugins-1.4.14on
 fedora 12. All went however I am not able to execute nor see check_snmp
 under /usr/local/nagios/libexec/
 
 For your reference:
 [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/
 [r...@nagios01 libexec]# ls
 check_apt   check_file_age  check_log   check_oracle  
 check_tcp
 check_breezecheck_flexlmcheck_mailq check_overcr
 check_time
 check_by_sshcheck_ftp   check_mrtg  check_ping
 check_udp
 check_clamd check_http  check_mrtgtraf  check_pop 
 check_ups
 check_cluster   check_icmp  check_nagioscheck_procs
 check_users
 check_dhcp  check_ide_smart check_nntp  check_real
 check_wave
 check_dig   check_ifoperstatus  check_ntcheck_rpc 
negate
 check_disk  check_ifstatus  check_ntp   check_sensors 
urlize
 check_disk_smb  check_imap  check_ntp_peer  check_smtp
utils.pm
 check_dns   check_ircd  check_ntp_time  check_ssh 
utils.sh
 check_dummy check_load  check_nwstatcheck_swap
 [r...@nagios01 libexec]#
 
 
 
 While I can see files in /nagios-plugins-1.4.14/plugins (after untar)
 check_snmp
 check_snmp.c
 check_snmp.o
 For your refernce:
 [r...@nagios01 Downloads]# ls
 nagios-3.2.0 nagios-plugins-1.4.14
 nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
 [r...@nagios01 Downloads]# pwd
 /home//Downloads
 [r...@nagios01 Downloads]# ls
 nagios-3.2.0 nagios-plugins-1.4.14
 nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
 [r...@nagios01 Downloads]#
 [r...@nagios01 libexec]# cd
 /home//Downloads/nagios-plugins-1.4.14/plugins
 [r...@nagios01 plugins]# pwd
 /home//Downloads/nagios-plugins-1.4.14/plugins
 [r...@nagios01 plugins]# ls
 check_apt  check_ide_smart.ocheck_overcrcheck_udp
 check_apt.ccheck_imap   check_overcr.c  check_ups
 check_apt.ocheck_ldap.c check_overcr.o  check_ups.c
 check_by_ssh   check_load   check_pgsql.c   check_ups.o
 check_by_ssh.c check_load.c check_ping  check_users
 check_by_ssh.o check_load.o check_ping.ccheck_users.c
 check_clamdcheck_mrtg   check_ping.ocheck_users.o
 check_cluster  check_mrtg.c check_pop   common.h
 check_cluster.ccheck_mrtg.o check_procs Makefile
 check_cluster.ocheck_mrtgtraf   check_procs.c   Makefile.am
 check_dig  check_mrtgtraf.c check_procs.o   Makefile.in
 check_dig.ccheck_mrtgtraf.o check_radius.c  negate
 check_dig.ocheck_mysql.ccheck_real  negate.c
 check_disk check_mysql_query.c  check_real.cnegate.o
 check_disk.c   check_nagios check_real.onetutils.c
 check_disk.o   check_nagios.c   check_smtp  netutils.h
 check_dns  check_nagios.o   check_smtp.cnetutils.o
 check_dns.ccheck_nntp   check_smtp.opopen.c
 check_dns.ocheck_nt check_snmp  popen.h
 check_dummycheck_nt.c   check_snmp.cpopen.o
 check_dummy.c  check_nt.o   check_snmp.oruncmd.c
 check_dummy.o  check_ntpcheck_ssh   runcmd.h
 check_fping.c  check_ntp.c  check_ssh.c runcmd.o
 check_ftp  check_ntp.o  check_ssh.o sslutils.c
 check_game.c   check_ntp_peer   check_swap  sslutils.o
 check_hpjd check_ntp_peer.c check_swap.ct
 check_hpjd.c   check_ntp_peer.o check_swap.ourlize
 check_hpjd.o   check_ntp_time   check_tcp   urlize.c
 check_http check_ntp_time.c check_tcp.c urlize.o
 check_http.c   check_ntp_time.o check_tcp.o utils.c
 check_http.o   check_nwstat check_time  utils.h
 check_ide_smartcheck_nwstat.c   check_time.cutils.o
 check_ide_smart.c  check_nwstat.o   check_time.o
 [r...@nagios01 plugins]#
 
 Please advice,
 
 am

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Gary Every
if you don't have net-snmp/snmpd  installed on your system, it will not
compile the plugins - make sure that you have the commands, such as
snmpwalk, etc installed and re-compile

g.;


On Mon, Mar 8, 2010 at 12:35 PM, Ambati Srinivas am.sr...@gmail.com wrote:

 Hi,

 I very recently installed nagios Nagios-3.2.0 and Nagios-plugins-1.4.14on
 fedora 12. All went however I am not able to execute nor see check_snmp
 under /usr/local/nagios/libexec/

 For your reference:
 [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/
 [r...@nagios01 libexec]# ls
 check_apt   check_file_age  check_log   check_oracle
 check_tcp
 check_breezecheck_flexlmcheck_mailq check_overcr
 check_time
 check_by_sshcheck_ftp   check_mrtg  check_ping
 check_udp
 check_clamd check_http  check_mrtgtraf  check_pop
 check_ups
 check_cluster   check_icmp  check_nagioscheck_procs
 check_users
 check_dhcp  check_ide_smart check_nntp  check_real
 check_wave
 check_dig   check_ifoperstatus  check_ntcheck_rpc  negate
 check_disk  check_ifstatus  check_ntp   check_sensors  urlize
 check_disk_smb  check_imap  check_ntp_peer  check_smtp
 utils.pm
 check_dns   check_ircd  check_ntp_time  check_ssh  utils.sh
 check_dummy check_load  check_nwstatcheck_swap
 [r...@nagios01 libexec]#



 While I can see files in /nagios-plugins-1.4.14/plugins (after untar)
 check_snmp
 check_snmp.c
 check_snmp.o
 For your refernce:
 [r...@nagios01 Downloads]# ls
 nagios-3.2.0 nagios-plugins-1.4.14
 nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
 [r...@nagios01 Downloads]# pwd
 /home//Downloads
 [r...@nagios01 Downloads]# ls
 nagios-3.2.0 nagios-plugins-1.4.14
 nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
 [r...@nagios01 Downloads]#
 [r...@nagios01 libexec]# cd
 /home//Downloads/nagios-plugins-1.4.14/plugins
 [r...@nagios01 plugins]# pwd
 /home//Downloads/nagios-plugins-1.4.14/plugins
 [r...@nagios01 plugins]# ls
 check_apt  check_ide_smart.ocheck_overcrcheck_udp
 check_apt.ccheck_imap   check_overcr.c  check_ups
 check_apt.ocheck_ldap.c check_overcr.o  check_ups.c
 check_by_ssh   check_load   check_pgsql.c   check_ups.o
 check_by_ssh.c check_load.c check_ping  check_users
 check_by_ssh.o check_load.o check_ping.ccheck_users.c
 check_clamdcheck_mrtg   check_ping.ocheck_users.o
 check_cluster  check_mrtg.c check_pop   common.h
 check_cluster.ccheck_mrtg.o check_procs Makefile
 check_cluster.ocheck_mrtgtraf   check_procs.c   Makefile.am
 check_dig  check_mrtgtraf.c check_procs.o   Makefile.in
 check_dig.ccheck_mrtgtraf.o check_radius.c  negate
 check_dig.ocheck_mysql.ccheck_real  negate.c
 check_disk check_mysql_query.c  check_real.cnegate.o
 check_disk.c   check_nagios check_real.onetutils.c
 check_disk.o   check_nagios.c   check_smtp  netutils.h
 check_dns  check_nagios.o   check_smtp.cnetutils.o
 check_dns.ccheck_nntp   check_smtp.opopen.c
 check_dns.ocheck_nt check_snmp  popen.h
 check_dummycheck_nt.c   check_snmp.cpopen.o
 check_dummy.c  check_nt.o   check_snmp.oruncmd.c
 check_dummy.o  check_ntpcheck_ssh   runcmd.h
 check_fping.c  check_ntp.c  check_ssh.c runcmd.o
 check_ftp  check_ntp.o  check_ssh.o sslutils.c
 check_game.c   check_ntp_peer   check_swap  sslutils.o
 check_hpjd check_ntp_peer.c check_swap.ct
 check_hpjd.c   check_ntp_peer.o check_swap.ourlize
 check_hpjd.o   check_ntp_time   check_tcp   urlize.c
 check_http check_ntp_time.c check_tcp.c urlize.o
 check_http.c   check_ntp_time.o check_tcp.o utils.c
 check_http.o   check_nwstat check_time  utils.h
 check_ide_smartcheck_nwstat.c   check_time.cutils.o
 check_ide_smart.c  check_nwstat.o   check_time.o
 [r...@nagios01 plugins]#

 Please advice,

 am


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Unable to install Packages .

2010-03-08 Thread ravishankar.gundlapali
Hi,

 

I have a Linux Box with Red hat Fedora 10 installed on it.

 

When I am trying to install the package by entering the command 'yum
install httpd ' below mentioned error occurred.

 

Please someone help me how can I resolve this.

 

 

[r...@ ~]# yum install httpd

Loaded plugins: refresh-packagekit

Could not retrieve mirrorlist
http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
error was

[Errno 4] IOError: urlopen error (-2, 'Name or service not known')

Error: Cannot retrieve repository metadata (repomd.xml) for repository:
fedora. Please verify its path and try again

 

 

 

Thanks,

Ravi G

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
Hi,

I never expected this speed reply :-) Thanks much.

Yep Installed net-snmp-5.4.2.1-19.fc12.i686  and
net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not yet
enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg   does that
effect???

vi /usr/local/nagios/etc/nagios.cfg
# Definitions for monitoring a router/switch
#cfg_file=/usr/local/nagios/etc/objects/switch.cfg


Please advice further

AM




On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell nag...@z3b.org wrote:

 What were you configure options?  Do you have net-snmp(dev libs too)
 installed?


 On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas am.sr...@gmail.com
 wrote:
  Hi,
 
  I very recently installed nagios Nagios-3.2.0 and
 Nagios-plugins-1.4.14on
  fedora 12. All went however I am not able to execute nor see check_snmp
  under /usr/local/nagios/libexec/
 
  For your reference:
  [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/
  [r...@nagios01 libexec]# ls
  check_apt   check_file_age  check_log   check_oracle
  check_tcp
  check_breezecheck_flexlmcheck_mailq check_overcr
  check_time
  check_by_sshcheck_ftp   check_mrtg  check_ping
  check_udp
  check_clamd check_http  check_mrtgtraf  check_pop
  check_ups
  check_cluster   check_icmp  check_nagioscheck_procs
  check_users
  check_dhcp  check_ide_smart check_nntp  check_real
  check_wave
  check_dig   check_ifoperstatus  check_ntcheck_rpc
 negate
  check_disk  check_ifstatus  check_ntp   check_sensors
 urlize
  check_disk_smb  check_imap  check_ntp_peer  check_smtp
 utils.pm
  check_dns   check_ircd  check_ntp_time  check_ssh
 utils.sh
  check_dummy check_load  check_nwstatcheck_swap
  [r...@nagios01 libexec]#
 
 
 
  While I can see files in /nagios-plugins-1.4.14/plugins (after untar)
  check_snmp
  check_snmp.c
  check_snmp.o
  For your refernce:
  [r...@nagios01 Downloads]# ls
  nagios-3.2.0 nagios-plugins-1.4.14
  nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
  [r...@nagios01 Downloads]# pwd
  /home//Downloads
  [r...@nagios01 Downloads]# ls
  nagios-3.2.0 nagios-plugins-1.4.14
  nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
  [r...@nagios01 Downloads]#
  [r...@nagios01 libexec]# cd
  /home//Downloads/nagios-plugins-1.4.14/plugins
  [r...@nagios01 plugins]# pwd
  /home//Downloads/nagios-plugins-1.4.14/plugins
  [r...@nagios01 plugins]# ls
  check_apt  check_ide_smart.ocheck_overcrcheck_udp
  check_apt.ccheck_imap   check_overcr.c  check_ups
  check_apt.ocheck_ldap.c check_overcr.o  check_ups.c
  check_by_ssh   check_load   check_pgsql.c   check_ups.o
  check_by_ssh.c check_load.c check_ping  check_users
  check_by_ssh.o check_load.o check_ping.ccheck_users.c
  check_clamdcheck_mrtg   check_ping.ocheck_users.o
  check_cluster  check_mrtg.c check_pop   common.h
  check_cluster.ccheck_mrtg.o check_procs Makefile
  check_cluster.ocheck_mrtgtraf   check_procs.c   Makefile.am
  check_dig  check_mrtgtraf.c check_procs.o   Makefile.in
  check_dig.ccheck_mrtgtraf.o check_radius.c  negate
  check_dig.ocheck_mysql.ccheck_real  negate.c
  check_disk check_mysql_query.c  check_real.cnegate.o
  check_disk.c   check_nagios check_real.onetutils.c
  check_disk.o   check_nagios.c   check_smtp  netutils.h
  check_dns  check_nagios.o   check_smtp.cnetutils.o
  check_dns.ccheck_nntp   check_smtp.opopen.c
  check_dns.ocheck_nt check_snmp  popen.h
  check_dummycheck_nt.c   check_snmp.cpopen.o
  check_dummy.c  check_nt.o   check_snmp.oruncmd.c
  check_dummy.o  check_ntpcheck_ssh   runcmd.h
  check_fping.c  check_ntp.c  check_ssh.c runcmd.o
  check_ftp  check_ntp.o  check_ssh.o sslutils.c
  check_game.c   check_ntp_peer   check_swap  sslutils.o
  check_hpjd check_ntp_peer.c check_swap.ct
  check_hpjd.c   check_ntp_peer.o check_swap.ourlize
  check_hpjd.o   check_ntp_time   check_tcp   urlize.c
  check_http check_ntp_time.c check_tcp.c urlize.o
  check_http.c   check_ntp_time.o check_tcp.o utils.c
  check_http.o   check_nwstat check_time  utils.h
  check_ide_smartcheck_nwstat.c   check_time.cutils.o
  check_ide_smart.c  check_nwstat.o   check_time.o
  [r...@nagios01 plugins]#
 
  Please advice,
 
  am

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, 

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
I have installed net-snmp-5.4.2.1-19.fc12.i686  and
net-snmp-utils-5.4.2.1-19.fc12.i686 and restarted snmpd deamon and the
deamon is running on nagios core however I have not yet enable snmp
monitoring in file /usr/local/nagios/etc/nagios.cfg   does that effect???

vi /usr/local/nagios/etc/nagios.
cfg
# Definitions for monitoring a router/switch
#cfg_file=/usr/local/nagios/etc/objects/switch.cfg


I can run snmpwalk


AM



On Tue, Mar 9, 2010 at 1:17 AM, Gary Every gev...@gmail.com wrote:

 if you don't have net-snmp/snmpd  installed on your system, it will not
 compile the plugins - make sure that you have the commands, such as
 snmpwalk, etc installed and re-compile

 g.;


 On Mon, Mar 8, 2010 at 12:35 PM, Ambati Srinivas am.sr...@gmail.comwrote:

 Hi,

 I very recently installed nagios Nagios-3.2.0 and Nagios-plugins-1.4.14on
 fedora 12. All went however I am not able to execute nor see check_snmp
 under /usr/local/nagios/libexec/

 For your reference:
 [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/
 [r...@nagios01 libexec]# ls
 check_apt   check_file_age  check_log   check_oracle
 check_tcp
 check_breezecheck_flexlmcheck_mailq check_overcr
 check_time
 check_by_sshcheck_ftp   check_mrtg  check_ping
 check_udp
 check_clamd check_http  check_mrtgtraf  check_pop
 check_ups
 check_cluster   check_icmp  check_nagioscheck_procs
 check_users
 check_dhcp  check_ide_smart check_nntp  check_real
 check_wave
 check_dig   check_ifoperstatus  check_ntcheck_rpc  negate
 check_disk  check_ifstatus  check_ntp   check_sensors  urlize
 check_disk_smb  check_imap  check_ntp_peer  check_smtp
 utils.pm
 check_dns   check_ircd  check_ntp_time  check_ssh
 utils.sh
 check_dummy check_load  check_nwstatcheck_swap
 [r...@nagios01 libexec]#



 While I can see files in /nagios-plugins-1.4.14/plugins (after untar)
 check_snmp
 check_snmp.c
 check_snmp.o
 For your refernce:
 [r...@nagios01 Downloads]# ls
 nagios-3.2.0 nagios-plugins-1.4.14
 nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
 [r...@nagios01 Downloads]# pwd
 /home//Downloads
 [r...@nagios01 Downloads]# ls
 nagios-3.2.0 nagios-plugins-1.4.14
 nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
 [r...@nagios01 Downloads]#
 [r...@nagios01 libexec]# cd
 /home//Downloads/nagios-plugins-1.4.14/plugins
 [r...@nagios01 plugins]# pwd
 /home//Downloads/nagios-plugins-1.4.14/plugins
 [r...@nagios01 plugins]# ls
 check_apt  check_ide_smart.ocheck_overcrcheck_udp
 check_apt.ccheck_imap   check_overcr.c  check_ups
 check_apt.ocheck_ldap.c check_overcr.o  check_ups.c
 check_by_ssh   check_load   check_pgsql.c   check_ups.o
 check_by_ssh.c check_load.c check_ping  check_users
 check_by_ssh.o check_load.o check_ping.ccheck_users.c
 check_clamdcheck_mrtg   check_ping.ocheck_users.o
 check_cluster  check_mrtg.c check_pop   common.h
 check_cluster.ccheck_mrtg.o check_procs Makefile
 check_cluster.ocheck_mrtgtraf   check_procs.c   Makefile.am
 check_dig  check_mrtgtraf.c check_procs.o   Makefile.in
 check_dig.ccheck_mrtgtraf.o check_radius.c  negate
 check_dig.ocheck_mysql.ccheck_real  negate.c
 check_disk check_mysql_query.c  check_real.cnegate.o
 check_disk.c   check_nagios check_real.onetutils.c
 check_disk.o   check_nagios.c   check_smtp  netutils.h
 check_dns  check_nagios.o   check_smtp.cnetutils.o
 check_dns.ccheck_nntp   check_smtp.opopen.c
 check_dns.ocheck_nt check_snmp  popen.h
 check_dummycheck_nt.c   check_snmp.cpopen.o
 check_dummy.c  check_nt.o   check_snmp.oruncmd.c
 check_dummy.o  check_ntpcheck_ssh   runcmd.h
 check_fping.c  check_ntp.c  check_ssh.c runcmd.o
 check_ftp  check_ntp.o  check_ssh.o sslutils.c
 check_game.c   check_ntp_peer   check_swap  sslutils.o
 check_hpjd check_ntp_peer.c check_swap.ct
 check_hpjd.c   check_ntp_peer.o check_swap.ourlize
 check_hpjd.o   check_ntp_time   check_tcp   urlize.c
 check_http check_ntp_time.c check_tcp.c urlize.o
 check_http.c   check_ntp_time.o check_tcp.o utils.c
 check_http.o   check_nwstat check_time  utils.h
 check_ide_smartcheck_nwstat.c   check_time.cutils.o
 check_ide_smart.c  check_nwstat.o   check_time.o
 [r...@nagios01 plugins]#

 Please advice,

 am


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find 

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Kyle O'Donnell
yum install net-snmp-devel

add --with-snmp to your plugins compile

On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas am.sr...@gmail.com
wrote:
 Hi,
 
 I never expected this speed reply :-) Thanks much.
 
 Yep Installed net-snmp-5.4.2.1-19.fc12.i686  and
 net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not
yet
 enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg   does
that
 effect???
 
 vi /usr/local/nagios/etc/nagios.cfg
 # Definitions for monitoring a router/switch
 #cfg_file=/usr/local/nagios/etc/objects/switch.cfg
 
 
 Please advice further
 
 AM
 
 
 
 
 On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell nag...@z3b.org wrote:
 
 What were you configure options?  Do you have net-snmp(dev libs too)
 installed?


 On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas am.sr...@gmail.com
 wrote:
  Hi,
 
  I very recently installed nagios Nagios-3.2.0 and
 Nagios-plugins-1.4.14on
  fedora 12. All went however I am not able to execute nor see
check_snmp
  under /usr/local/nagios/libexec/
 
  For your reference:
  [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/
  [r...@nagios01 libexec]# ls
  check_apt   check_file_age  check_log   check_oracle
  check_tcp
  check_breezecheck_flexlmcheck_mailq check_overcr
  check_time
  check_by_sshcheck_ftp   check_mrtg  check_ping
  check_udp
  check_clamd check_http  check_mrtgtraf  check_pop
  check_ups
  check_cluster   check_icmp  check_nagioscheck_procs
  check_users
  check_dhcp  check_ide_smart check_nntp  check_real
  check_wave
  check_dig   check_ifoperstatus  check_ntcheck_rpc
 negate
  check_disk  check_ifstatus  check_ntp   check_sensors
 urlize
  check_disk_smb  check_imap  check_ntp_peer  check_smtp
 utils.pm
  check_dns   check_ircd  check_ntp_time  check_ssh
 utils.sh
  check_dummy check_load  check_nwstatcheck_swap
  [r...@nagios01 libexec]#
 
 
 
  While I can see files in /nagios-plugins-1.4.14/plugins (after untar)
  check_snmp
  check_snmp.c
  check_snmp.o
  For your refernce:
  [r...@nagios01 Downloads]# ls
  nagios-3.2.0 nagios-plugins-1.4.14
  nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
  [r...@nagios01 Downloads]# pwd
  /home//Downloads
  [r...@nagios01 Downloads]# ls
  nagios-3.2.0 nagios-plugins-1.4.14
  nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
  [r...@nagios01 Downloads]#
  [r...@nagios01 libexec]# cd
  /home//Downloads/nagios-plugins-1.4.14/plugins
  [r...@nagios01 plugins]# pwd
  /home//Downloads/nagios-plugins-1.4.14/plugins
  [r...@nagios01 plugins]# ls
  check_apt  check_ide_smart.ocheck_overcrcheck_udp
  check_apt.ccheck_imap   check_overcr.c  check_ups
  check_apt.ocheck_ldap.c check_overcr.o  check_ups.c
  check_by_ssh   check_load   check_pgsql.c   check_ups.o
  check_by_ssh.c check_load.c check_ping  check_users
  check_by_ssh.o check_load.o check_ping.ccheck_users.c
  check_clamdcheck_mrtg   check_ping.ocheck_users.o
  check_cluster  check_mrtg.c check_pop   common.h
  check_cluster.ccheck_mrtg.o check_procs Makefile
  check_cluster.ocheck_mrtgtraf   check_procs.c   Makefile.am
  check_dig  check_mrtgtraf.c check_procs.o   Makefile.in
  check_dig.ccheck_mrtgtraf.o check_radius.c  negate
  check_dig.ocheck_mysql.ccheck_real  negate.c
  check_disk check_mysql_query.c  check_real.cnegate.o
  check_disk.c   check_nagios check_real.onetutils.c
  check_disk.o   check_nagios.c   check_smtp  netutils.h
  check_dns  check_nagios.o   check_smtp.cnetutils.o
  check_dns.ccheck_nntp   check_smtp.opopen.c
  check_dns.ocheck_nt check_snmp  popen.h
  check_dummycheck_nt.c   check_snmp.cpopen.o
  check_dummy.c  check_nt.o   check_snmp.oruncmd.c
  check_dummy.o  check_ntpcheck_ssh   runcmd.h
  check_fping.c  check_ntp.c  check_ssh.c runcmd.o
  check_ftp  check_ntp.o  check_ssh.o sslutils.c
  check_game.c   check_ntp_peer   check_swap  sslutils.o
  check_hpjd check_ntp_peer.c check_swap.ct
  check_hpjd.c   check_ntp_peer.o check_swap.ourlize
  check_hpjd.o   check_ntp_time   check_tcp   urlize.c
  check_http check_ntp_time.c check_tcp.c urlize.o
  check_http.c   check_ntp_time.o check_tcp.o utils.c
  check_http.o   check_nwstat check_time  utils.h
  check_ide_smartcheck_nwstat.c   check_time.cutils.o
  check_ide_smart.c  check_nwstat.o   check_time.o
  [r...@nagios01 plugins]#
 
  Please advice,
 
  am



Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
Hi,

Please elaborate on  'add --with-snmp to your plugins compile'. so missing
net-snmp-devel packages was the prob?

Thanks,

AM




On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell nag...@z3b.org wrote:

 yum install net-snmp-devel

 add --with-snmp to your plugins compile

 On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas am.sr...@gmail.com
 wrote:
  Hi,
 
  I never expected this speed reply :-) Thanks much.
 
  Yep Installed net-snmp-5.4.2.1-19.fc12.i686  and
  net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not
 yet
  enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg   does
 that
  effect???
 
  vi /usr/local/nagios/etc/nagios.cfg
  # Definitions for monitoring a router/switch
  #cfg_file=/usr/local/nagios/etc/objects/switch.cfg
 
 
  Please advice further
 
  AM
 
 
 
 
  On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell nag...@z3b.org wrote:
 
  What were you configure options?  Do you have net-snmp(dev libs too)
  installed?
 
 
  On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas am.sr...@gmail.com
  wrote:
   Hi,
  
   I very recently installed nagios Nagios-3.2.0 and
  Nagios-plugins-1.4.14on
   fedora 12. All went however I am not able to execute nor see
 check_snmp
   under /usr/local/nagios/libexec/
  
   For your reference:
   [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/
   [r...@nagios01 libexec]# ls
   check_apt   check_file_age  check_log   check_oracle
   check_tcp
   check_breezecheck_flexlmcheck_mailq check_overcr
   check_time
   check_by_sshcheck_ftp   check_mrtg  check_ping
   check_udp
   check_clamd check_http  check_mrtgtraf  check_pop
   check_ups
   check_cluster   check_icmp  check_nagioscheck_procs
   check_users
   check_dhcp  check_ide_smart check_nntp  check_real
   check_wave
   check_dig   check_ifoperstatus  check_ntcheck_rpc
  negate
   check_disk  check_ifstatus  check_ntp   check_sensors
  urlize
   check_disk_smb  check_imap  check_ntp_peer  check_smtp
  utils.pm
   check_dns   check_ircd  check_ntp_time  check_ssh
  utils.sh
   check_dummy check_load  check_nwstatcheck_swap
   [r...@nagios01 libexec]#
  
  
  
   While I can see files in /nagios-plugins-1.4.14/plugins (after untar)
   check_snmp
   check_snmp.c
   check_snmp.o
   For your refernce:
   [r...@nagios01 Downloads]# ls
   nagios-3.2.0 nagios-plugins-1.4.14
   nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
   [r...@nagios01 Downloads]# pwd
   /home//Downloads
   [r...@nagios01 Downloads]# ls
   nagios-3.2.0 nagios-plugins-1.4.14
   nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
   [r...@nagios01 Downloads]#
   [r...@nagios01 libexec]# cd
   /home//Downloads/nagios-plugins-1.4.14/plugins
   [r...@nagios01 plugins]# pwd
   /home//Downloads/nagios-plugins-1.4.14/plugins
   [r...@nagios01 plugins]# ls
   check_apt  check_ide_smart.ocheck_overcrcheck_udp
   check_apt.ccheck_imap   check_overcr.c  check_ups
   check_apt.ocheck_ldap.c check_overcr.o  check_ups.c
   check_by_ssh   check_load   check_pgsql.c   check_ups.o
   check_by_ssh.c check_load.c check_ping  check_users
   check_by_ssh.o check_load.o check_ping.ccheck_users.c
   check_clamdcheck_mrtg   check_ping.ocheck_users.o
   check_cluster  check_mrtg.c check_pop   common.h
   check_cluster.ccheck_mrtg.o check_procs Makefile
   check_cluster.ocheck_mrtgtraf   check_procs.c   Makefile.am
   check_dig  check_mrtgtraf.c check_procs.o   Makefile.in
   check_dig.ccheck_mrtgtraf.o check_radius.c  negate
   check_dig.ocheck_mysql.ccheck_real  negate.c
   check_disk check_mysql_query.c  check_real.cnegate.o
   check_disk.c   check_nagios check_real.onetutils.c
   check_disk.o   check_nagios.c   check_smtp  netutils.h
   check_dns  check_nagios.o   check_smtp.cnetutils.o
   check_dns.ccheck_nntp   check_smtp.opopen.c
   check_dns.ocheck_nt check_snmp  popen.h
   check_dummycheck_nt.c   check_snmp.cpopen.o
   check_dummy.c  check_nt.o   check_snmp.oruncmd.c
   check_dummy.o  check_ntpcheck_ssh   runcmd.h
   check_fping.c  check_ntp.c  check_ssh.c runcmd.o
   check_ftp  check_ntp.o  check_ssh.o sslutils.c
   check_game.c   check_ntp_peer   check_swap  sslutils.o
   check_hpjd check_ntp_peer.c check_swap.ct
   check_hpjd.c   check_ntp_peer.o check_swap.ourlize
   check_hpjd.o   check_ntp_time   check_tcp   urlize.c
   check_http check_ntp_time.c check_tcp.c urlize.o
   check_http.c   

Re: [Nagios-users] Unable to install Packages .

2010-03-08 Thread Noel Platzke
As was stated earlier, you really need to direct this question to the fedora
list. This isn't a nagios problem but rather an issue with your machine not
being able to talk to the yum repo.


On Mon, Mar 8, 2010 at 2:53 PM, ravishankar.gundlap...@wipro.com wrote:

  Hi,



 I have a Linux Box with Red hat Fedora 10 installed on it.



 When I am trying to install the package by entering the command ‘yum
 install httpd ‘ below mentioned error occurred.



 Please someone help me how can I resolve this.





 [r...@ ~]# yum install httpd

 Loaded plugins: refresh-packagekit

 Could not retrieve mirrorlist
 http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64error 
 was

 [Errno 4] IOError: urlopen error (-2, 'Name or service not known')

 Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 fedora. Please verify its path and try again







 Thanks,

 Ravi G


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Unable to install Packages .

2010-03-08 Thread patrick . morris
On Mon, 08 Mar 2010, ravishankar.gundlap...@wipro.com wrote:

 Hi,
 
 I have a Linux Box with Red hat Fedora 10 installed on it.
 
 When I am trying to install the package by entering the command ?yum install 
 httpd ? below mentioned error occurred.
 
 Please someone help me how can I resolve this.
 
 
 [r...@ ~]# yum install httpd
 Loaded plugins: refresh-packagekit
 Could not retrieve mirrorlist 
 http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64 error 
 was
 [Errno 4] IOError: urlopen error (-2, 'Name or service not known')
 Error: Cannot retrieve repository metadata (repomd.xml) for repository: 
 fedora. Please verify its path and try again
 
 
 
 Thanks,
 Ravi G

Please stop sending this to this mailing list. This is not a Nagios
issue; the configuration on your box is broken.  The URL it appears to
be complaining about is valid, but something totally unrlated to Nagios
is causing your update to fail.

Please follow the advice of previous responders and contact a mailing
list for your OS distribution if you need help debugging this.

This may help you get started:

http://fedoraproject.org/wiki/Communicate


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Ambati Srinivas
   Hi,


 Please elaborate on  'add --with-snmp to your plugins compile' as I am new
 to monitoring. so missing net-snmp-devel packages was the prob?

 Very much appreciate.


 Thanks,

 AM





 On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell nag...@z3b.org wrote:

 yum install net-snmp-devel

 add --with-snmp to your plugins compile

 On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas am.sr...@gmail.com
 wrote:
  Hi,
 
  I never expected this speed reply :-) Thanks much.
 
  Yep Installed net-snmp-5.4.2.1-19.fc12.i686  and
  net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I have not
 yet
  enable snmp monitoring in file /usr/local/nagios/etc/nagios.cfg   does
 that
  effect???
 
  vi /usr/local/nagios/etc/nagios.cfg
  # Definitions for monitoring a router/switch
  #cfg_file=/usr/local/nagios/etc/objects/switch.cfg
 
 
  Please advice further
 
  AM
 
 
 
 
  On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell nag...@z3b.org wrote:
 
  What were you configure options?  Do you have net-snmp(dev libs too)
  installed?
 
 
  On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas am.sr...@gmail.com
 
  wrote:
   Hi,
  
   I very recently installed nagios Nagios-3.2.0 and
  Nagios-plugins-1.4.14on
   fedora 12. All went however I am not able to execute nor see
 check_snmp
   under /usr/local/nagios/libexec/
  
   For your reference:
   [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/
   [r...@nagios01 libexec]# ls
   check_apt   check_file_age  check_log   check_oracle
   check_tcp
   check_breezecheck_flexlmcheck_mailq check_overcr
   check_time
   check_by_sshcheck_ftp   check_mrtg  check_ping
   check_udp
   check_clamd check_http  check_mrtgtraf  check_pop
   check_ups
   check_cluster   check_icmp  check_nagioscheck_procs
   check_users
   check_dhcp  check_ide_smart check_nntp  check_real
   check_wave
   check_dig   check_ifoperstatus  check_ntcheck_rpc
  negate
   check_disk  check_ifstatus  check_ntp   check_sensors
  urlize
   check_disk_smb  check_imap  check_ntp_peer  check_smtp
  utils.pm
   check_dns   check_ircd  check_ntp_time  check_ssh
  utils.sh
   check_dummy check_load  check_nwstatcheck_swap
   [r...@nagios01 libexec]#
  
  
  
   While I can see files in /nagios-plugins-1.4.14/plugins (after untar)
   check_snmp
   check_snmp.c
   check_snmp.o
   For your refernce:
   [r...@nagios01 Downloads]# ls
   nagios-3.2.0 nagios-plugins-1.4.14
   nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
   [r...@nagios01 Downloads]# pwd
   /home//Downloads
   [r...@nagios01 Downloads]# ls
   nagios-3.2.0 nagios-plugins-1.4.14
   nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
   [r...@nagios01 Downloads]#
   [r...@nagios01 libexec]# cd
   /home//Downloads/nagios-plugins-1.4.14/plugins
   [r...@nagios01 plugins]# pwd
   /home//Downloads/nagios-plugins-1.4.14/plugins
   [r...@nagios01 plugins]# ls
   check_apt  check_ide_smart.ocheck_overcrcheck_udp
   check_apt.ccheck_imap   check_overcr.c  check_ups
   check_apt.ocheck_ldap.c check_overcr.o  check_ups.c
   check_by_ssh   check_load   check_pgsql.c   check_ups.o
   check_by_ssh.c check_load.c check_ping  check_users
   check_by_ssh.o check_load.o check_ping.ccheck_users.c
   check_clamdcheck_mrtg   check_ping.ocheck_users.o
   check_cluster  check_mrtg.c check_pop   common.h
   check_cluster.ccheck_mrtg.o check_procs Makefile
   check_cluster.ocheck_mrtgtraf   check_procs.c   Makefile.am
   check_dig  check_mrtgtraf.c check_procs.o   Makefile.in
   check_dig.ccheck_mrtgtraf.o check_radius.c  negate
   check_dig.ocheck_mysql.ccheck_real  negate.c
   check_disk check_mysql_query.c  check_real.cnegate.o
   check_disk.c   check_nagios check_real.onetutils.c
   check_disk.o   check_nagios.c   check_smtp  netutils.h
   check_dns  check_nagios.o   check_smtp.cnetutils.o
   check_dns.ccheck_nntp   check_smtp.opopen.c
   check_dns.ocheck_nt check_snmp  popen.h
   check_dummycheck_nt.c   check_snmp.cpopen.o
   check_dummy.c  check_nt.o   check_snmp.oruncmd.c
   check_dummy.o  check_ntpcheck_ssh   runcmd.h
   check_fping.c  check_ntp.c  check_ssh.c runcmd.o
   check_ftp  check_ntp.o  check_ssh.o sslutils.c
   check_game.c   check_ntp_peer   check_swap  sslutils.o
   check_hpjd check_ntp_peer.c check_swap.ct
   check_hpjd.c   check_ntp_peer.o check_swap.ourlize
   check_hpjd.o   check_ntp_time   check_tcp   urlize.c
   check_http 

Re: [Nagios-users] Unable to install Packages .

2010-03-08 Thread ravishankar.gundlapali
Hi,

There is no access to internet from this server.

Is Internet access required ???

So is this the problem

Thanks  Regards,
Ravi G


-Original Message-
From: Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES) 
Sent: Tuesday, March 09, 2010 1:56 AM
To: 'Ricardo Maraschini'
Subject: RE: [Nagios-users] Unable to install Packages .

Hi,

There is no access to internet from this server.

Is Internet access required ???

Thanks  Regards,
Ravi G
-Original Message-
From: Ricardo Maraschini [mailto:ricardo.marasch...@opservices.com.br] 
Sent: Tuesday, March 09, 2010 1:55 AM
To: Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES)
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Unable to install Packages .

Hi,

- ravishankar gundlapali ravishankar.gundlap...@wipro.com escreveu:
 When I am trying to install the package by entering the command ‘ yum
 install httpd ‘ below mentioned error occurred.

Try to check your DNS configuration in /etc/resolv.conf. 
Are you able to access internet using this server?
It appears to be a problem resolving the repository URL.

--
Ricardo José Maraschini
OpServices Tecnologia da Informação
http://www.opservices.com.br
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Gezina Dekker
James,

Thank you for the reply.

I am over the first hurdle, changing the pernissions to +rx fixed it, and
nagios now gives me a signon panel, however, as I explained, it does not
accept the nagiosadmin username.

This is the messages I am getting:

[Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR:
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
[Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user
nagiosadmin not found: /nagios

2010/3/8 James Pratt jpr...@norwich.edu


 From what I can see, the perms shouldn't be a big problem , mine are all
 owned by nagios:nagios -

 if you remove the .htaccess auth parts, can you get in and view the
 CGI's normally?

 what do your Apache error and access logs say?

 Hth


 Cheers,
 jamie
   -Original Message-
  From: Robert Wolfe [mailto:rwo...@i-evolve.com]
  Sent: Monday, March 08, 2010 1:20 PM
  To: 'Gezina Dekker'; nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] You do not have permission to access
 /nagios on this server
 
  Try setting ownership of these files to user nagios, group nagios.
 
 
 
 
 
 
 
  From: Gezina Dekker [mailto:gezin...@gmail.com]
  Sent: Monday, March 08, 2010 1:17 PM
  To: nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] You do not have permission to access /nagios
 on this server
 
 
 
  Hi all,
 
  I have looked at all the questions so far, and nothing that brings
 any comfort.
 
  I followed the Fedore QuickStart even though I am on RHEL 4
 (2.6.9-5.EL)
 
  I have all the following installed:
  Apache
  PHP
  GCC compiler
  GD development libraries
 
  I have nagios and nagcmd defined
 
  I have installed nagios and the plugins
 
  I have a passwd in htpasswd, and it is read acces for all.
 
  SELinux is disabled
 
  In terms of my nagios.conf, this is it...
 
  ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
  Directory /usr/local/nagios/sbin
  #  SSLRequireSSL
 Options FollowSymLinks ExecCGI
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
  Alias /nagios /usr/local/nagios/share
 
  Directory /usr/local/nagios/share
  #  SSLRequireSSL
 Options FollowSymLinks
 DirectoryIndex index.html
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
 
  The contents of my /share is the following:
  drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
  drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
  -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
  drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
  -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
  -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
  -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets
 
 
  The errors I am getting is the following:
 
  Forbidden
  You don't have permission to access /nagios on this server.
  Additionally, a 403 Forbidden error was encountered while trying to
 use an
  ErrorDocument to handle the request.
 
 
 
  Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80
 
 
  I am making the assumption that the 403 is less serious, and that it
 is actually the
  permissions that needs fixing...
 
  Thanks in advance for your willingness to look at this with me.
 
  Regards
 
 
 
  Gezina



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.

[Nagios-users] Any chance that the list owner can delete these users???

2010-03-08 Thread Gezina Dekker
Any chance that the list owner can delete these users???

2010/3/8 Mail Delivery Subsystem mailer-dae...@ihemail4.lucent.com

 The original message was received at Mon, 8 Mar 2010 14:47:47 -0600 (CST)
 from h135-1-218-53.lucent.com [135.1.218.53]

   - The following addresses had permanent fatal errors -
 j.sher...@hp.com
(reason: 554 5.7.1 gezin...@gmail.com: Sender address rejected: This
 gmail.com mail didn't really arrive via a gmail.com mail server)

   - Transcript of session follows -
 ... while talking to smtp.hp.com.:
  DATA
  554 5.7.1 gezin...@gmail.com: Sender address rejected: This
 gmail.com mail didn't really arrive via a gmail.com mail server
 554 5.0.0 Service unavailable
  554 5.5.1 Error: no valid recipients

 Final-Recipient: RFC822; j.sher...@hp.com
 Action: failed
 Status: 5.7.1
 Remote-MTA: DNS; smtp.hp.com
 Diagnostic-Code: SMTP; 554 5.7.1 gezin...@gmail.com: Sender address
 rejected: This gmail.com mail didn't really arrive via a gmail.com mail
 server
 Last-Attempt-Date: Mon, 8 Mar 2010 14:47:50 -0600 (CST)


 -- Doorgestuurd bericht --
 From: Gezina Dekker gezin...@gmail.com
 To: j.sher...@hp.com j.sher...@hp.com
 Date: Mon, 8 Mar 2010 14:47:45 -0600
 Subject: Re: [Nagios-users] You do not have permission to access /nagios on
 this server
 James,

 Thank you for the reply.

 I am over the first hurdle, changing the pernissions to +rx fixed it, and
 nagios now gives me a signon panel, however, as I explained, it does not
 accept the nagiosadmin username.

 This is the messages I am getting:

 [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR:
 Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock' (2)
 [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user
 nagiosadmin not found: /nagios

 2010/3/8 James Pratt jpr...@norwich.edumailto:jpr...@norwich.edu

 From what I can see, the perms shouldn't be a big problem , mine are all
 owned by nagios:nagios -

 if you remove the .htaccess auth parts, can you get in and view the
 CGI's normally?

 what do your Apache error and access logs say?

 Hth


 Cheers,
 jamie
  -Original Message-
  From: Robert Wolfe [mailto:rwo...@i-evolve.commailto:
 rwo...@i-evolve.com]
  Sent: Monday, March 08, 2010 1:20 PM
  To: 'Gezina Dekker'; nagios-users@lists.sourceforge.netmailto:
 nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] You do not have permission to access
 /nagios on this server
 
  Try setting ownership of these files to user nagios, group nagios.
 
 
 
 
 
 
 
  From: Gezina Dekker [mailto:gezin...@gmail.commailto:
 gezin...@gmail.com]
  Sent: Monday, March 08, 2010 1:17 PM
  To: nagios-users@lists.sourceforge.netmailto:
 nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] You do not have permission to access /nagios
 on this server
 
 
 
  Hi all,
 
  I have looked at all the questions so far, and nothing that brings
 any comfort.
 
  I followed the Fedore QuickStart even though I am on RHEL 4
 (2.6.9-5.EL)
 
  I have all the following installed:
  Apache
  PHP
  GCC compiler
  GD development libraries
 
  I have nagios and nagcmd defined
 
  I have installed nagios and the plugins
 
  I have a passwd in htpasswd, and it is read acces for all.
 
  SELinux is disabled
 
  In terms of my nagios.conf, this is it...
 
  ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
  Directory /usr/local/nagios/sbin
  #  SSLRequireSSL
 Options FollowSymLinks ExecCGI
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
  Alias /nagios /usr/local/nagios/share
 
  Directory /usr/local/nagios/share
  #  SSLRequireSSL
 Options FollowSymLinks
 DirectoryIndex index.html
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
 
  The contents of my /share is the following:
  drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
  drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
  -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
  drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
  -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
  -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
  -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets
 
 
  The errors I am getting is the following:
 
  Forbidden
  You don't have permission to access 

Re: [Nagios-users] Unable to install Packages .

2010-03-08 Thread Ricardo Maraschini
Hi,

- ravishankar gundlapali ravishankar.gundlap...@wipro.com escreveu:
 There is no access to internet from this server.

This explains a lot of things :)

 Is Internet access required ???

Of course yes. 
You need access do internet to be able to download packages from the, lets 
say... internet :)
Please send your OS related problems to your OS community from now on.

-rm

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Unable to install Packages .

2010-03-08 Thread patrick . morris
On Mon, 08 Mar 2010, ravishankar.gundlap...@wipro.com wrote:

 Hi,
 
 There is no access to internet from this server.
 
 Is Internet access required ???
 
 So is this the problem
 
 Thanks  Regards,
 Ravi G

Your Yum configuration is set to use an Internet-accessible repository.
So, yes, if you configure Yum to pull packages from a repository on the
Internet, you need Internet access for it to work.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Noel Platzke
You posted a MySQL error. The error you should be seeing will be in the
apache logs. I'm kind of confused.



On Mon, Mar 8, 2010 at 3:47 PM, Gezina Dekker gezin...@gmail.com wrote:

 James,

 Thank you for the reply.

 I am over the first hurdle, changing the pernissions to +rx fixed it, and
 nagios now gives me a signon panel, however, as I explained, it does not
 accept the nagiosadmin username.

 This is the messages I am getting:

 [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR:
 Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock' (2)
 [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user
 nagiosadmin not found: /nagios

 2010/3/8 James Pratt jpr...@norwich.edu


 From what I can see, the perms shouldn't be a big problem , mine are all
 owned by nagios:nagios -

 if you remove the .htaccess auth parts, can you get in and view the
 CGI's normally?

 what do your Apache error and access logs say?

 Hth


 Cheers,
 jamie
   -Original Message-
  From: Robert Wolfe [mailto:rwo...@i-evolve.com]
  Sent: Monday, March 08, 2010 1:20 PM
  To: 'Gezina Dekker'; nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] You do not have permission to access
 /nagios on this server
 
  Try setting ownership of these files to user nagios, group nagios.
 
 
 
 
 
 
 
  From: Gezina Dekker [mailto:gezin...@gmail.com]
  Sent: Monday, March 08, 2010 1:17 PM
  To: nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] You do not have permission to access /nagios
 on this server
 
 
 
  Hi all,
 
  I have looked at all the questions so far, and nothing that brings
 any comfort.
 
  I followed the Fedore QuickStart even though I am on RHEL 4
 (2.6.9-5.EL)
 
  I have all the following installed:
  Apache
  PHP
  GCC compiler
  GD development libraries
 
  I have nagios and nagcmd defined
 
  I have installed nagios and the plugins
 
  I have a passwd in htpasswd, and it is read acces for all.
 
  SELinux is disabled
 
  In terms of my nagios.conf, this is it...
 
  ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
  Directory /usr/local/nagios/sbin
  #  SSLRequireSSL
 Options FollowSymLinks ExecCGI
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
  Alias /nagios /usr/local/nagios/share
 
  Directory /usr/local/nagios/share
  #  SSLRequireSSL
 Options FollowSymLinks
 DirectoryIndex index.html
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
 
  The contents of my /share is the following:
  drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
  drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
  -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
  drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
  -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
  -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
  -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets
 
 
  The errors I am getting is the following:
 
  Forbidden
  You don't have permission to access /nagios on this server.
  Additionally, a 403 Forbidden error was encountered while trying to
 use an
  ErrorDocument to handle the request.
 
 
 
  Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80
 
 
  I am making the assumption that the 403 is less serious, and that it
 is actually the
  permissions that needs fixing...
 
  Thanks in advance for your willingness to look at this with me.
 
  Regards
 
 
 
  Gezina



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find 

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Robert Wolfe
It sounds like he may have Apache logging directed to a MySQL database.

From: Noel Platzke [mailto:neuf...@gmail.com]
Sent: Monday, March 08, 2010 4:02 PM
To: nagios List
Subject: Re: [Nagios-users] You do not have permission to access /nagios on 
this server

You posted a MySQL error. The error you should be seeing will be in the apache 
logs. I'm kind of confused.


On Mon, Mar 8, 2010 at 3:47 PM, Gezina Dekker 
gezin...@gmail.commailto:gezin...@gmail.com wrote:
James,

Thank you for the reply.

I am over the first hurdle, changing the pernissions to +rx fixed it, and 
nagios now gives me a signon panel, however, as I explained, it does not accept 
the nagiosadmin username.

This is the messages I am getting:

[Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: Can't 
connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
[Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user 
nagiosadmin not found: /nagios
2010/3/8 James Pratt jpr...@norwich.edumailto:jpr...@norwich.edu

From what I can see, the perms shouldn't be a big problem , mine are all
owned by nagios:nagios -

if you remove the .htaccess auth parts, can you get in and view the
CGI's normally?

what do your Apache error and access logs say?

Hth


Cheers,
jamie
 -Original Message-
 From: Robert Wolfe [mailto:rwo...@i-evolve.commailto:rwo...@i-evolve.com]
 Sent: Monday, March 08, 2010 1:20 PM
 To: 'Gezina Dekker'; 
 nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] You do not have permission to access
/nagios on this server

 Try setting ownership of these files to user nagios, group nagios.







 From: Gezina Dekker [mailto:gezin...@gmail.commailto:gezin...@gmail.com]
 Sent: Monday, March 08, 2010 1:17 PM
 To: 
 nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] You do not have permission to access /nagios
on this server



 Hi all,

 I have looked at all the questions so far, and nothing that brings
any comfort.

 I followed the Fedore QuickStart even though I am on RHEL 4
(2.6.9-5.EL)

 I have all the following installed:
 Apache
 PHP
 GCC compiler
 GD development libraries

 I have nagios and nagcmd defined

 I have installed nagios and the plugins

 I have a passwd in htpasswd, and it is read acces for all.

 SELinux is disabled

 In terms of my nagios.conf, this is it...

 ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

 Directory /usr/local/nagios/sbin
 #  SSLRequireSSL
Options FollowSymLinks ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory

 Alias /nagios /usr/local/nagios/share

 Directory /usr/local/nagios/share
 #  SSLRequireSSL
Options FollowSymLinks
DirectoryIndex index.html
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory


 The contents of my /share is the following:
 drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
 drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
 drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
 drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
 -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
 drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
 -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
 -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
 -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets


 The errors I am getting is the following:

 Forbidden
 You don't have permission to access /nagios on this server.
 Additionally, a 403 Forbidden error was encountered while trying to
use an
 ErrorDocument to handle the request.



 Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80


 I am making the assumption that the 403 is less serious, and that it
is actually the
 permissions that needs fixing...

 Thanks in advance for your willingness to look at this with me.

 Regards



 Gezina

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.netmailto:Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please 

Re: [Nagios-users] Any chance that the list owner can delete these users???

2010-03-08 Thread Franck MAHE
Hi Gezina,

 

I think you should remove the address of the sender when you reply to the
message as I do in this message. He will receive the mail via the mailing
list.

 

It is a fight against SPAM and if everyone can do the same thing on their
mail servers, the SPAM traffic will disappear ;-)

 

Hope it will help.

 

Franck
---
E:  mailto:m...@civis.net m...@civis.net

 

De : Gezina Dekker [mailto:gezin...@gmail.com] 
Envoyé : lundi 8 mars 2010 21:52
À : nagios-users@lists.sourceforge.net
Objet : [Nagios-users] Any chance that the list owner can delete these
users???

 

Any chance that the list owner can delete these users???

2010/3/8 Mail Delivery Subsystem mailer-dae...@ihemail4.lucent.com

The original message was received at Mon, 8 Mar 2010 14:47:47 -0600 (CST)
from h135-1-218-53.lucent.com http://h135-1-218-53.lucent.com/
[135.1.218.53]

  - The following addresses had permanent fatal errors -
j.sher...@hp.com
   (reason: 554 5.7.1 gezin...@gmail.com: Sender address rejected: This
gmail.com http://gmail.com/  mail didn't really arrive via a gmail.com
http://gmail.com/  mail server)

  - Transcript of session follows -
... while talking to smtp.hp.com http://smtp.hp.com/ .:
 DATA
 554 5.7.1 gezin...@gmail.com: Sender address rejected: This gmail.com
http://gmail.com/  mail didn't really arrive via a gmail.com
http://gmail.com/  mail server
554 5.0.0 Service unavailable
 554 5.5.1 Error: no valid recipients

Final-Recipient: RFC822; j.sher...@hp.com
Action: failed
Status: 5.7.1
Remote-MTA: DNS; smtp.hp.com http://smtp.hp.com/ 
Diagnostic-Code: SMTP; 554 5.7.1 gezin...@gmail.com: Sender address
rejected: This gmail.com http://gmail.com/  mail didn't really arrive via
a gmail.com http://gmail.com/  mail server
Last-Attempt-Date: Mon, 8 Mar 2010 14:47:50 -0600 (CST)


-- Doorgestuurd bericht --
From: Gezina Dekker gezin...@gmail.com
To: j.sher...@hp.com j.sher...@hp.com
Date: Mon, 8 Mar 2010 14:47:45 -0600
Subject: Re: [Nagios-users] You do not have permission to access /nagios on
this server
James,

Thank you for the reply.

I am over the first hurdle, changing the pernissions to +rx fixed it, and
nagios now gives me a signon panel, however, as I explained, it does not
accept the nagiosadmin username.

This is the messages I am getting:

[Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR:
Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (2)
[Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user
nagiosadmin not found: /nagios

2010/3/8 James Pratt jpr...@norwich.edumailto:jpr...@norwich.edu

From what I can see, the perms shouldn't be a big problem , mine are all
owned by nagios:nagios -

if you remove the .htaccess auth parts, can you get in and view the
CGI's normally?

what do your Apache error and access logs say?

Hth


Cheers,
jamie
 -Original Message-
 From: Robert Wolfe
[mailto:rwo...@i-evolve.commailto:rwo...@i-evolve.com]
 Sent: Monday, March 08, 2010 1:20 PM
 To: 'Gezina Dekker';
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net

 Subject: Re: [Nagios-users] You do not have permission to access
/nagios on this server

 Try setting ownership of these files to user nagios, group nagios.







 From: Gezina Dekker
[mailto:gezin...@gmail.commailto:gezin...@gmail.com]
 Sent: Monday, March 08, 2010 1:17 PM
 To:
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net

 Subject: [Nagios-users] You do not have permission to access /nagios
on this server



 Hi all,

 I have looked at all the questions so far, and nothing that brings
any comfort.

 I followed the Fedore QuickStart even though I am on RHEL 4
(2.6.9-5.EL)

 I have all the following installed:
 Apache
 PHP
 GCC compiler
 GD development libraries

 I have nagios and nagcmd defined

 I have installed nagios and the plugins

 I have a passwd in htpasswd, and it is read acces for all.

 SELinux is disabled

 In terms of my nagios.conf, this is it...

 ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin

 Directory /usr/local/nagios/sbin
 #  SSLRequireSSL
Options FollowSymLinks ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory

 Alias /nagios /usr/local/nagios/share

 Directory /usr/local/nagios/share
 #  SSLRequireSSL
Options FollowSymLinks
DirectoryIndex index.html
AllowOverride AuthConfig
Order allow,deny
Allow from all
AuthName Nagios Access
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
Require valid-user
 /Directory


 The contents of my /share is the following:
 drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
 drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
 drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
 

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Marc Powell

On Mar 8, 2010, at 12:53 PM, Gezina Dekker wrote:

 This is the messages I am getting:
  
 [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR: Can't 
 connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
 [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user 
 nagiosadmin not found: /nagios
 What does MySql have to do with the bak of patatoes?

That's the question only you can answer. Do you have some special/unique Apache 
authentication module installed and enabled for your web server that is 
overriding the standard mod_auth module? mod_auth_mysql maybe? Default apache 
authentication uses text files, not MySQL. You've installed something 
special/unusual/unique/non-default. What is it?

--
Marc


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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

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

-- 
http://alexus.org/

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Can we change the IP address of the Linux box after installing Nagios.

2010-03-08 Thread Stuart Browne
 -Original Message-
 From: ravishankar.gundlap...@wipro.com

 I have approached my security team and they have suggested me that they
 can change the IP address of this Linux box and move it to a different
 VLan for some time period where we have internet access, so that I can
 install the required packages and Nagios.
 
 After I am done with my work they said that they will move it back and
 change the IP.
 
 Can anyone please guide me whether I can follow the above procedure.

Nagios its self doesn't care what the IP address of the box it's installed on 
is.

If you are using passive submissions from remote hosts (NSCA), then those hosts 
will need to know that the Nagios server has moved.

If you are using only active checks for remote hosts (NRPE), then the NRPE 
configuration may need updating for the check_nrpe requests to be accepted.

Otherwise, you can go ahead and change it without any issues.


Stuart J. Browne
Senior Unix Administrator, Network Administrator
AusRegistry Pty Ltd
Level 8, 10 Queens Road
Melbourne. Victoria. Australia. 3004.
Ph:  +61 3 9866 3710
Fax: +61 3 9866 1970
Email: stuart.bro...@ausregistry.com.au
Web: www.ausregistry.com.au

The information contained in this communication is intended for the named 
recipients only. It is subject to copyright and may contain legally privileged 
and confidential information and if you are not an intended recipient you must 
not use, copy, distribute or take any action in reliance on it. If you have 
received this communication in error, please delete all copies from your system 
and notify us immediately.



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Any chance that the list owner can delete these users???

2010-03-08 Thread Marc Powell

On Mar 8, 2010, at 2:52 PM, Gezina Dekker wrote:

 Any chance that the list owner can delete these users???

No, none.

 2010/3/8 Mail Delivery Subsystem mailer-dae...@ihemail4.lucent.com
 The original message was received at Mon, 8 Mar 2010 14:47:47 -0600 (CST)
 from h135-1-218-53.lucent.com [135.1.218.53]
 
   - The following addresses had permanent fatal errors -
 j.sher...@hp.com
(reason: 554 5.7.1 gezin...@gmail.com: Sender address rejected: This 
 gmail.com mail didn't really arrive via a gmail.com mail server)

If you don't send to them directly, which you shouldn't be doing anyway, or you 
send your message through Google's servers, like you should be, then this 
wouldn't be an issue.

If there is a problem with the listserv sending messages to them, they will be 
removed automatically. It looks like the problem is yours alone though because 
of the way you are responding.

--
Marc


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Any chance that the list owner can delete these users???

2010-03-08 Thread patrick . morris

On Mon, 08 Mar 2010, Gezina Dekker wrote:

 Any chance that the list owner can delete these users???
 
 2010/3/8 Mail Delivery Subsystem 
 mailer-dae...@ihemail4.lucent.commailto:mailer-dae...@ihemail4.lucent.com
 The original message was received at Mon, 8 Mar 2010 14:47:47 -0600 (CST)
 from h135-1-218-53.lucent.comhttp://h135-1-218-53.lucent.com/ [135.1.218.53]
 
   - The following addresses had permanent fatal errors -
 j.sher...@hp.commailto:j.sher...@hp.com
(reason: 554 5.7.1 gezin...@gmail.commailto:gezin...@gmail.com: Sender 
 address rejected: This gmail.comhttp://gmail.com/ mail didn't really arrive 
 via a gmail.comhttp://gmail.com/ mail server)
 
   - Transcript of session follows -
 ... while talking to smtp.hp.comhttp://smtp.hp.com/.:
  DATA
  554 5.7.1 gezin...@gmail.commailto:gezin...@gmail.com: Sender address 
 rejected: This gmail.comhttp://gmail.com/ mail didn't really arrive via a 
 gmail.comhttp://gmail.com/ mail server
 554 5.0.0 Service unavailable
  554 5.5.1 Error: no valid recipients
 
 Final-Recipient: RFC822; j.sher...@hp.commailto:j.sher...@hp.com
 Action: failed
 Status: 5.7.1
 Remote-MTA: DNS; smtp.hp.comhttp://smtp.hp.com/
 Diagnostic-Code: SMTP; 554 5.7.1 
 gezin...@gmail.commailto:gezin...@gmail.com: Sender address rejected: 
 This gmail.comhttp://gmail.com/ mail didn't really arrive via a 
 gmail.comhttp://gmail.com/ mail server
 Last-Attempt-Date: Mon, 8 Mar 2010 14:47:50 -0600 (CST)

What you're suggesting, in effect, is that any of us at HP should be
removed from this list because you're sending mail with a Gmail address
through someone else's systems, and you expect that to work.

You need to modify your expectations a bit. A lot of SMTP servers (HP's
included) will do verification of things like SPF records to determine
if mail saying it's from a particular domain (in this case, gmail.com)
was sent through that domain (and in this case, the mail was sent
through lucent.com servers).

On behalf of the rest of HP, I'd like to humbly beg we be allowed to
stay on this list, and apologize for any distress this spoof detection
may have caused you.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Gezina Dekker
Marc,

I installed Redhat RHEL 64bit. I made no modifications at all. The main
purpose of this box is to run this nagios test server. I just looked thru
httpd.conf, and couldn't find anything in there.
What should I be looking for? I expected it to read the value from
/usr/local/nagios/etc/htaccess.users
I even had a look at service --status-all | grep mysql, and could not find
any mysql running. This is bisarre.
I am really stuck here.

Regards

Herbie

2010/3/8 Marc Powell m...@ena.com


 On Mar 8, 2010, at 12:53 PM, Gezina Dekker wrote:

  This is the messages I am getting:
 
  [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR:
 Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock' (2)
  [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user
 nagiosadmin not found: /nagios
  What does MySql have to do with the bak of patatoes?

 That's the question only you can answer. Do you have some special/unique
 Apache authentication module installed and enabled for your web server that
 is overriding the standard mod_auth module? mod_auth_mysql maybe? Default
 apache authentication uses text files, not MySQL. You've installed something
 special/unusual/unique/non-default. What is it?

 --
 Marc



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Gezina Dekker
What is the chance that it goes to mysql if it cannot find .htaccess?

2010/3/9 Gezina Dekker gezin...@gmail.com

 Marc,

 I installed Redhat RHEL 64bit. I made no modifications at all. The main
 purpose of this box is to run this nagios test server. I just looked thru
 httpd.conf, and couldn't find anything in there.
 What should I be looking for? I expected it to read the value from
 /usr/local/nagios/etc/htaccess.users
 I even had a look at service --status-all | grep mysql, and could not find
 any mysql running. This is bisarre.
 I am really stuck here.

 Regards

 Herbie

  2010/3/8 Marc Powell m...@ena.com


  On Mar 8, 2010, at 12:53 PM, Gezina Dekker wrote:

  This is the messages I am getting:
 
  [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR:
 Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock' (2)
  [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user
 nagiosadmin not found: /nagios
  What does MySql have to do with the bak of patatoes?

  That's the question only you can answer. Do you have some special/unique
 Apache authentication module installed and enabled for your web server that
 is overriding the standard mod_auth module? mod_auth_mysql maybe? Default
 apache authentication uses text files, not MySQL. You've installed something
 special/unusual/unique/non-default. What is it?

 --
 Marc



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread Gezina Dekker
Noel,

The errors I listed, was from error_log in /var/log/httpd

Regards and thanks to all for assisteng me.

2010/3/8 Noel Platzke neuf...@gmail.com

 You posted a MySQL error. The error you should be seeing will be in the
 apache logs. I'm kind of confused.




 On Mon, Mar 8, 2010 at 3:47 PM, Gezina Dekker gezin...@gmail.com wrote:

 James,

  Thank you for the reply.

 I am over the first hurdle, changing the pernissions to +rx fixed it, and
 nagios now gives me a signon panel, however, as I explained, it does not
 accept the nagiosadmin username.

  This is the messages I am getting:

 [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL ERROR:
 Can't connect to local MySQL server through socket
 '/var/lib/mysql/mysql.sock' (2)
 [Mon Mar 08 19:22:22 2010] [error] [client 10.164.100.232] MySQL user
 nagiosadmin not found: /nagios

  2010/3/8 James Pratt jpr...@norwich.edu


  From what I can see, the perms shouldn't be a big problem , mine are
 all
 owned by nagios:nagios -

 if you remove the .htaccess auth parts, can you get in and view the
 CGI's normally?

 what do your Apache error and access logs say?

 Hth


 Cheers,
 jamie
   -Original Message-
  From: Robert Wolfe [mailto:rwo...@i-evolve.com]
  Sent: Monday, March 08, 2010 1:20 PM
  To: 'Gezina Dekker'; nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] You do not have permission to access
 /nagios on this server
 
  Try setting ownership of these files to user nagios, group nagios.
 
 
 
 
 
 
 
  From: Gezina Dekker [mailto:gezin...@gmail.com]
  Sent: Monday, March 08, 2010 1:17 PM
  To: nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] You do not have permission to access /nagios
 on this server
 
 
 
  Hi all,
 
  I have looked at all the questions so far, and nothing that brings
 any comfort.
 
  I followed the Fedore QuickStart even though I am on RHEL 4
 (2.6.9-5.EL)
 
  I have all the following installed:
  Apache
  PHP
  GCC compiler
  GD development libraries
 
  I have nagios and nagcmd defined
 
  I have installed nagios and the plugins
 
  I have a passwd in htpasswd, and it is read acces for all.
 
  SELinux is disabled
 
  In terms of my nagios.conf, this is it...
 
  ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
 
  Directory /usr/local/nagios/sbin
  #  SSLRequireSSL
 Options FollowSymLinks ExecCGI
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
  Alias /nagios /usr/local/nagios/share
 
  Directory /usr/local/nagios/share
  #  SSLRequireSSL
 Options FollowSymLinks
 DirectoryIndex index.html
 AllowOverride AuthConfig
 Order allow,deny
 Allow from all
 AuthName Nagios Access
 AuthType Basic
 AuthUserFile /usr/local/nagios/etc/htpasswd.users
 Require valid-user
  /Directory
 
 
  The contents of my /share is the following:
  drwxrwxr-x   9 nagios nagcmd  4096 mrt  8 11:39 .
  drwx--  12 nagios nagcmd  4096 mrt  8 11:39 ..
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 contexthelp
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 docs
  drwxrwxr-x   3 nagios nagcmd  4096 mrt  5 12:23 images
  -rw-rw-r--   1 nagios nagcmd   726 mrt  5 12:23 index.html
  drwxr-xr-x   4 root   root4096 mrt  8 11:39 locale
  -rw-rw-r--   1 nagios nagcmd  3480 mrt  5 12:23 main.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 media
  -rw-rw-r--   1 nagios nagcmd26 mrt  5 12:23 robots.txt
  -rw-rw-r--   1 nagios nagcmd 13532 mrt  5 12:23 side.html
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 ssi
  drwxrwxr-x   2 nagios nagcmd  4096 mrt  5 12:23 stylesheets
 
 
  The errors I am getting is the following:
 
  Forbidden
  You don't have permission to access /nagios on this server.
  Additionally, a 403 Forbidden error was encountered while trying to
 use an
  ErrorDocument to handle the request.
 
 
 
  Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80
 
 
  I am making the assumption that the 403 is less serious, and that it
 is actually the
  permissions that needs fixing...
 
  Thanks in advance for your willingness to look at this with me.
 
  Regards
 
 
 
  Gezina



 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




 

Re: [Nagios-users] You do not have permission to access /nagios on this server

2010-03-08 Thread patrick . morris


On Tue, 09 Mar 2010, Gezina Dekker wrote:

 What is the chance that it goes to mysql if it cannot find .htaccess?
 
 2010/3/9 Gezina Dekker gezin...@gmail.commailto:gezin...@gmail.com
 Marc,
 
 I installed Redhat RHEL 64bit. I made no modifications at all. The main 
 purpose of this box is to run this nagios test server. I just looked thru 
 httpd.conf, and couldn't find anything in there.
 What should I be looking for? I expected it to read the value from 
 /usr/local/nagios/etc/htaccess.users
 I even had a look at service --status-all | grep mysql, and could not find 
 any mysql running. This is bisarre.
 I am really stuck here.

Instead of wild guesses, how about how let us know what the
authentication-related sections of your webserver configuration
(especially any pertaining to Nagios) look like?

The answer to whether Apache will fall back to MySQL if it can't find a
.htaccess file are exactly equal to the chances it's configured to do
that.  Don't forget that most version of RHEL (and it would help to know
which you're running) place suplemental configs into /etc/httpd/conf.d.
Have you looked at those?

There's something strange about your setup.  I've never seen an
out-of-the-box Apache installation on any version of RHEL try to do
MySQL auth by default. Unfortunately, you're going to have to locate
that little bit of strangeness before we can help you fix it.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] event handler command not executing

2010-03-08 Thread Rick Garland
Hi all:
 
Got Nagios core 3.2.0 on CentOS5. Been trying to get an event handler to
execute but it will not. My configs;
 
define service{
use   local_service
host_namemy_host
service_description NFS Check
check_period  24x7
check_interval20
max_check_attempts 4
check_commandcheck_nrpe!check_nfs_mounts
event_handler_enabled1
event_handler
remount-nfs!$SERVICESTATE$!$SERVICESTATETYPE$!$SERVICEATTEMPT$
notification_period   24x7
notification_interval  120
contact_groups  colorado
}
 
define command{
command_nameremount-nfs
command_line   $USER1$/eventhandlers/remount-nfs
$SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
}
 
enable_event_handlers=1 in the nagios.cfg file
 
The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4
the script will execute. Running at command line as UID=nagios it runs
fine.
sudo is configured and nagios can mount NFS. 
 
 
The entry in the nagios.log
[1268099555] SERVICE_EVENT_HANDLER: my_host;NFS
CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3
 
I have followed the process through and it will not execute the
remount-nfs event handler command. 
 
What is missing?
 
Many thanks
 
 
 
 


 

--
The information contained in this transmission may be confidential. Any 
disclosure, copying, or further distribution of confidential information is not 
permitted unless such privilege is explicitly granted in writing by Quantum. 
Quantum reserves the right to have electronic communications, including email 
and attachments, sent across its networks filtered through anti virus and spam 
software programs and retain such messages in order to comply with applicable 
data security and retention requirements. Quantum is not responsible for the 
proper and complete transmission of the substance of this communication or for 
any delay in its receipt.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Host/Svc Deps

2010-03-08 Thread Joseph L. Casale
Is it possible to make hosts dependant on single services from another host?
An example being a monitored vpn tunnel on a firewall, and the hosts it 
provides.
The firewall may very well be up, but the tunnel status alone dictates the
availability of the hosts it provides.

From what I gather, there are only host or service deps, also making groups
such that all the services of a host depend on one service but the host check
would remain?

Thanks,
jlc

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] event handler command not executing

2010-03-08 Thread Marc Powell

On Mar 8, 2010, at 7:58 PM, Rick Garland wrote:

 define command{
 command_nameremount-nfs
 command_line   $USER1$/eventhandlers/remount-nfs 
 $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$
 }
  
 enable_event_handlers=1 in the nagios.cfg file
  
 The script itself is very simple. At CRITICAL/SOFT/3 and CRITCAL/HARD/4 the 
 script will execute. Running at command line as UID=nagios it runs fine.
 sudo is configured and nagios can mount NFS.
  
  
 The entry in the nagios.log
 [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS 
 CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3

Nagios is running it. This is good.

 I have followed the process through and it will not execute the remount-nfs 
 event handler command.

  
 What is missing?

First guess: you have REQUIRETTY enabled in your sudoers file (run visudo and 
check).
Second guess: $USER1$ doesn't point to the location of 
{?}/eventhandlers/remount_nfs.
Third guess: you do not use hard-coded paths to programs used within 
remount-nfs. The working environment for scripts executed by nagios is very 
minimal. Don't depend on $PATH being as complete as it is during an interactive 
session. Hard code paths to everything. That should be a BCP anyway.

Try adding a bit at the top of the script to touch a file or something to see 
if it really ran and is maybe failing further into the script (i.e. because of 
a potential sudo restriction).

--
Marc


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] event handler command not executing

2010-03-08 Thread Stuart Browne
 -Original Message-
 From: Marc Powell [mailto:m...@ena.com]

snip
 
 Try adding a bit at the top of the script to touch a file or something
 to see if it really ran and is maybe failing further into the script
 (i.e. because of a potential sudo restriction).

exec  /tmp/$(/bin/basename $0).log 21

One of my favourite pieces of bash trickery :P

Stuart

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] event handler command not executing

2010-03-08 Thread Morris, Patrick
Rick Garland wrote:
 The script itself is very simple. At CRITICAL/SOFT/3 and 
 CRITCAL/HARD/4 the script will execute. Running at command line as 
 UID=nagios it runs fine.
 sudo is configured and nagios can mount NFS.
  
  
 The entry in the nagios.log
 [1268099555] SERVICE_EVENT_HANDLER: my_host;NFS 
 CHECK;CRITCAL;SOFT;3;remount-nfs!CRITCAL!SOFT!3
  
 I have followed the process through and it will not execute the 
 remount-nfs event handler command.
  
 What is missing?
  

Does your script account for CRITICAL being spelled wrong?

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Jatin Davey

Hi Ambati

I followed this link:

http://svn.openvpn.net/projects/openvpn/misc/mibagent/README.txt

and it solved all my issues , Things went smoothly after following the 
installation instructions as mentioned. Make sure you have access to the 
fedora repositories to download the pacakages.


Thanks
Jatin

On 3/9/2010 1:43 AM, Ambati Srinivas wrote:

   Hi,


Please elaborate on  'add --with-snmp to your plugins compile' as
I am new to monitoring. so missing net-snmp-devel packages was the
prob?

Very much appreciate.

Thanks,

AM





On Tue, Mar 9, 2010 at 1:33 AM, Kyle O'Donnell nag...@z3b.org
mailto:nag...@z3b.org wrote:

yum install net-snmp-devel

add --with-snmp to your plugins compile

On Tue, 9 Mar 2010 01:26:37 +0530, Ambati Srinivas
am.sr...@gmail.com mailto:am.sr...@gmail.com
wrote:
 Hi,

 I never expected this speed reply :-) Thanks much.

 Yep Installed net-snmp-5.4.2.1-19.fc12.i686  and
 net-snmp-utils-5.4.2.1-19.fc12.i686 on nagios core however I
have not
yet
 enable snmp monitoring in file
/usr/local/nagios/etc/nagios.cfg   does
that
 effect???

 vi /usr/local/nagios/etc/nagios.cfg
 # Definitions for monitoring a router/switch
 #cfg_file=/usr/local/nagios/etc/objects/switch.cfg


 Please advice further

 AM




 On Tue, Mar 9, 2010 at 1:16 AM, Kyle O'Donnell
nag...@z3b.org mailto:nag...@z3b.org wrote:

 What were you configure options?  Do you have net-snmp(dev
libs too)
 installed?


 On Tue, 9 Mar 2010 01:05:46 +0530, Ambati Srinivas
am.sr...@gmail.com mailto:am.sr...@gmail.com
 wrote:
  Hi,
 
  I very recently installed nagios Nagios-3.2.0 and
 Nagios-plugins-1.4.14on
  fedora 12. All went however I am not able to execute nor see
check_snmp
  under /usr/local/nagios/libexec/
 
  For your reference:
  [r...@nagios01 plugins]# cd /usr/local/nagios/libexec/
  [r...@nagios01 libexec]# ls
  check_apt   check_file_age  check_log  
check_oracle

  check_tcp
  check_breezecheck_flexlmcheck_mailq
check_overcr

  check_time
  check_by_sshcheck_ftp   check_mrtg
 check_ping

  check_udp
  check_clamd check_http  check_mrtgtraf  check_pop
  check_ups
  check_cluster   check_icmp  check_nagios  
 check_procs

  check_users
  check_dhcp  check_ide_smart check_nntp
 check_real

  check_wave
  check_dig   check_ifoperstatus  check_ntcheck_rpc
 negate
  check_disk  check_ifstatus  check_ntp  
check_sensors

 urlize
  check_disk_smb  check_imap  check_ntp_peer
 check_smtp
 utils.pm http://utils.pm
  check_dns   check_ircd  check_ntp_time  check_ssh
 utils.sh
  check_dummy check_load  check_nwstat  
 check_swap

  [r...@nagios01 libexec]#
 
 
 
  While I can see files in /nagios-plugins-1.4.14/plugins
(after untar)
  check_snmp
  check_snmp.c
  check_snmp.o
  For your refernce:
  [r...@nagios01 Downloads]# ls
  nagios-3.2.0 nagios-plugins-1.4.14
  nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
  [r...@nagios01 Downloads]# pwd
  /home//Downloads
  [r...@nagios01 Downloads]# ls
  nagios-3.2.0 nagios-plugins-1.4.14
  nagios-3.2.0.tar.gz  nagios-plugins-1.4.14.tar.gz
  [r...@nagios01 Downloads]#
  [r...@nagios01 libexec]# cd
  /home//Downloads/nagios-plugins-1.4.14/plugins
  [r...@nagios01 plugins]# pwd
  /home//Downloads/nagios-plugins-1.4.14/plugins
  [r...@nagios01 plugins]# ls
  check_apt  check_ide_smart.ocheck_overcr  
 check_udp

  check_apt.ccheck_imap   check_overcr.c
 check_ups
  check_apt.ocheck_ldap.c check_overcr.o
 check_ups.c
  check_by_ssh   check_load   check_pgsql.c  
check_ups.o
  check_by_ssh.c check_load.c check_ping
 check_users
  check_by_ssh.o check_load.o check_ping.c  
 check_users.c
  check_clamdcheck_mrtg   check_ping.o  
 check_users.o
  check_cluster  check_mrtg.c check_pop  
common.h
  check_cluster.c   

Re: [Nagios-users] event handler command not executing

2010-03-08 Thread Justin Pryzby
4th guess: is it executable?

Justin

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Want to Install nagios

2010-03-08 Thread Asrai khn
Fedora 10 is no more supported by fedora folks, get the latest Fedora
(Fedora 12).

then just do the yum to get the things installed


For detail on yum, refer to man yum




On Mon, Mar 8, 2010 at 11:45 PM, ravishankar.gundlap...@wipro.com wrote:

  Hi ,



 Please suggest what can be done for this issue.



 Thanks a lot in advance.



 Thanks  Regards,

 *Ravi G*



 *From:* Noel Platzke [mailto:neuf...@gmail.com]
 *Sent:* Tuesday, March 09, 2010 12:08 AM
 *To:* nagios List

 *Subject:* Re: [Nagios-users] Want to Install nagios



 That's not a nagios problem. It's an issue with your machine not being able
 to talk to the yum repository.

 On Mon, Mar 8, 2010 at 1:29 PM, ravishankar.gundlap...@wipro.com wrote:

 Hi,

 I have given the command ' yum install httpd php ' to install the
 packages initially but the below error occurred.

 Please suggest.


 Loaded plugins: refresh-packagekit
 Could not retrieve mirrorlist
 http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
 error was
 [Errno 4] IOError: urlopen error (-2, 'Name or service not known')
 Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 fedora. Please verify its path and try again

 Thanks  Regards,
 Ravi G


 -Original Message-
 From: Ravishankar Gundlapali (WT01 - ENERGY  UTILITIES)
 Sent: Monday, March 08, 2010 11:53 PM
 To: 'Assaf Flatto'; nagios-users@lists.sourceforge.net
 Subject: RE: [Nagios-users] Want to Install nagios

 Hi,

 When I have given the following command ,the below error occurred.

 Please suggest.


 Loaded plugins: refresh-packagekit
 Could not retrieve mirrorlist
 http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-10arch=x86_64
 error was
 [Errno 4] IOError: urlopen error (-2, 'Name or service not known')
 Error: Cannot retrieve repository metadata (repomd.xml) for repository:
 fedora. Please verify its path and try again

 Thanks  Regards,
 Ravi G


 -Original Message-
 From: Assaf Flatto [mailto:nag...@flatto.net]
 Sent: Monday, March 08, 2010 11:42 PM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Want to Install nagios


 start here

 http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html


 ravishankar.gundlap...@wipro.com wrote:
 
  Hi,
 
 
 
  I have Linux box with Red Hat Fedora 10 installed on it.
 
 
 
  I want to install Nagios core  3.2 and Nagios-Plugins-1.4.14
 
 
 
  Please can someone guide me how can I do this.
 
 
 
  Thanks  Regards,
 
  *Ravi G*
 
 
 
 
 
 
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
 
 
 
  ___
  Nagios-users mailing list
  Nagios-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nagios-users
  ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
  ::: Messages without supporting info will risk being sent to /dev/null


 
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel 

Re: [Nagios-users] Unable to install Packages .

2010-03-08 Thread Asrai khn
Man this is the same guy tring to install packages using 'yum' on the
unsupported version of Fedora :(

you don't even though how to install packages on your distro and you are
going to install and configure monitoring system?

Dude,

Unix is very simple, but it takes a genius to understand the simplicity



On Tue, Mar 9, 2010 at 2:01 AM, patrick.mor...@hp.com wrote:

 On Mon, 08 Mar 2010, ravishankar.gundlap...@wipro.com wrote:

  Hi,
 
  There is no access to internet from this server.
 
  Is Internet access required ???
 
  So is this the problem
 
  Thanks  Regards,
  Ravi G

 Your Yum configuration is set to use an Internet-accessible repository.
 So, yes, if you configure Yum to pull packages from a repository on the
 Internet, you need Internet access for it to work.


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null




-- 
I sense much NT in you, NT leads to Blue Screen.
Blue Screen leads to downtime, downtime leads to suffering. NT is the path
to the darkside
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] check_by_ssh from a different username

2010-03-08 Thread David Mitchell
Hello list,

I've got a situation where I can't create 'nagios' users on the systems I
need to monitor; I'm stuck with using a set of different user names to
monitor a range of systems.

For the sake of the discussion, assume the account on the Nagios server is
'nagios' and the account I've been given on the remote server I need to
monitor is 'monitoruser'.

In trying to setup a check_by_ssh script, I'm at the point where I can do
either of these successfully
- from the 'nagios' user on the Nagios server, I can run
/usr/lib/nagios/plugins/check_by_ssh -H REMOTEHOST -l monitoruser -C
nagios-test-script'.  This runs fine, but I get prompted for monitoruser's
password on the remote system.  Obviously I can't enter the password when
this command is running from within Nagios
- from a shell logged in as 'monitoruser' on the Nagios server, I can run
the identical command and I don't get prompted for the password; everything
works as I'd like, except that I need to be running the command from the
'monitoruser' account on the Nagios server (and I want to run the command
from the 'nagios' user instead).  The fact that this works without a
password prompt tells me that I've got monitoruser's ssh public key set up
on REMOTEHOST

If I'm logged in as 'nagios' and try to run
/usr/lib/nagios/plugins/check_by_ssh -H REMOTEHOST -i
/home/monitoruser/.ssh/id_dsa -C nagios-test-script -, I get warning:
Identity file /home/monitoruser/.ssh/id_dsa not accessible: Permission
denied., which is what I'd expect.  This fails because the user 'nagios'
can't access the ~/.ssh/id_dsa file of monitoruser; this is correct
behaviour from a security perspective.

How can I use check_by_ssh to monitor remote servers, when the username on
the remote box is different from the Nagios user name?

Thanks in advance

Dave M.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check_by_ssh from a different username

2010-03-08 Thread Morris, Patrick
David Mitchell wrote:
 Hello list,

 I've got a situation where I can't create 'nagios' users on the 
 systems I need to monitor; I'm stuck with using a set of different 
 user names to monitor a range of systems.

 For the sake of the discussion, assume the account on the Nagios 
 server is 'nagios' and the account I've been given on the remote 
 server I need to monitor is 'monitoruser'.

 In trying to setup a check_by_ssh script, I'm at the point where I can 
 do either of these successfully
 - from the 'nagios' user on the Nagios server, I can run 
 /usr/lib/nagios/plugins/check_by_ssh -H REMOTEHOST -l monitoruser -C 
 nagios-test-script'.  This runs fine, but I get prompted for 
 monitoruser's password on the remote system.  Obviously I can't enter 
 the password when this command is running from within Nagios
 - from a shell logged in as 'monitoruser' on the Nagios server, I can 
 run the identical command and I don't get prompted for the password; 
 everything works as I'd like, except that I need to be running the 
 command from the 'monitoruser' account on the Nagios server (and I 
 want to run the command from the 'nagios' user instead).  The fact 
 that this works without a password prompt tells me that I've got 
 monitoruser's ssh public key set up on REMOTEHOST

 If I'm logged in as 'nagios' and try to run 
 /usr/lib/nagios/plugins/check_by_ssh -H REMOTEHOST -i 
 /home/monitoruser/.ssh/id_dsa -C nagios-test-script -, I get 
 warning: Identity file /home/monitoruser/.ssh/id_dsa not accessible: 
 Permission denied., which is what I'd expect.  This fails because the 
 user 'nagios' can't access the ~/.ssh/id_dsa file of monitoruser; this 
 is correct behaviour from a security perspective.

 How can I use check_by_ssh to monitor remote servers, when the 
 username on the remote box is different from the Nagios user name?

Install the private keys of the remote users on the Nagios machine under 
the nagios user.  You've already determined they work, so now copy them 
over.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Streamline Alerts/Notifications for user group

2010-03-08 Thread Juki
Hi list,

I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 platform.
I have setup both e-mail and sms notifications for different groups of users
based on the instructions here;

http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html

I would like to be able to send host DOWN *only* notifications/alerts to a
particular user group. In other words, I would like that user group to
receive alerts ONLY when a host goes DOWN
and no other alerts/notifications whatsoever. I have looked at on-call
rotations but that doesn't seem to suite my need.

Has anyone got suggestions on how to implement this?


Thanks,
Juki
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Antwort: Vedr.: Antwort: Nagios Integration with IBM TEC ( Tivoli )

2010-03-08 Thread Roland . Sorgenfrei
Hi Karsten,

sorry for late answer.
The TEC POSTEMSG is not a plugin. It's a part from TEC. In detail it is a 
part from TEC Eventlog/Syslogadapter.

Regards,

Roland



Von:
Karsten Vendler k...@bankdata.dk
An:
roland.sorgenf...@spb.de
Kopie:
nagios-users@lists.sourceforge.net
Datum:
12.02.2010 10:40
Betreff:
Vedr.: [Nagios-users] Antwort: Nagios Integration with IBM TEC ( Tivoli )
Gesendet von:
Igangsætning Domino 6 igang...@bankdata.dk



Hi Roland 

Is that TEC POSTEMSG a plugin, and/or can othesr get a hold on that, where 
to get it? 

Venlig hilsen / Best regards
Karsten Vendler 
IT-tekniker 


erritsø bygade 102 ? dk-7000 fredericia
dir. tlf.: +45 7924 2828 
www.bankdata.dk




roland.sorgenf...@spb.de 
12-02-2010 09:21 
e89c441c-6210-0efa-d033-05729e303305 


Til
steve f a31mod...@hotmail.com 
cc
nagios-users@lists.sourceforge.net 
Emne
[Nagios-users] Antwort: Nagios Integration with IBM TEC ( Tivoli )









Hello Steve, 

we use the TEC POSTEMSG for sending of events from Nagios to the TEC. 
A big benefit is the postXmsg - cache mechanism. When the TEC system is 
not reachable, all events are cached on the NAGIOS system. 

Regards, 

Roland 

Von: 
steve f a31mod...@hotmail.com 
An: 
nagios-users@lists.sourceforge.net 
Datum: 
11.01.2010 15:24 
Betreff: 
[Nagios-users] Nagios Integration with IBM TEC ( Tivoli )





Hello,

We have IBM TEC ( Tivoli Enterprise Console) for alot of our current 
monitoring.

Does anyone have any experience / history integrating Nagios with IBM TEC?

We use postd messages to get the info from the clients back to TEC.  Can 
Nagios read the postd messages?  I guess I could somehow use a passive 
check to do this correct ??

Would Nagios be considered a viable replacement for TEC?  I have not been 
able to find any Marketing type of info as far as Nagios as a replacement 
for other monitoring solutions. 

Thanks,
Steve

Hotmail: Powerful Free email with security by Microsoft. Get it now.
--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and 
easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-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 
--
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when 
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null 

image/gif--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Notification Interval set to 0 not working as per doc

2010-03-08 Thread Jatin Davey
Please let me know what needs to be done , i am kind of receving 1000 
notifications per day for the same hosts.

Thanks
Jatin

On 3/8/2010 9:54 AM, Jatin Davey wrote:
 Hi Jim

 Replies to the questions that you had asked about the issue:

 1. I do not have any escalations defined.

 2. Given below is the output from one of the host as found in the 
 object.cache file:

 define host {
 host_name   Windows-
 alias   Windows XP PC
 address x.x.x.x
 check_period24x7
 check_command   check-host-alive
 contact_groups  
 notification_period 24x7
 initial_state   o
 check_interval  2.00
 retry_interval  1.00
 max_check_attempts  2
 active_checks_enabled   1
 passive_checks_enabled  1
 obsess_over_host1
 event_handler_enabled   1
 low_flap_threshold  0.00
 high_flap_threshold 0.00
 flap_detection_enabled  1
 flap_detection_options  o,d,u
 freshness_threshold 0
 check_freshness 0
 notification_optionsd,r,f,s
 notifications_enabled   1
 notification_interval   0.00
 first_notification_delay0.00
 stalking_optionsn
 process_perf_data   1
 failure_prediction_enabled  1
 retain_status_information   1
 retain_nonstatus_information1
 }

 Please let me know if any further inputs are needed.

 Thanks
 Jatin


 On 3/5/2010 8:04 PM, Jim Avery wrote:
 On 5 March 2010 10:16, Jatin Daveyjasho...@cisco.com  wrote:
 Hi

 The Nagios documentation says that when you set the Notification
 Interval to 0 , it will notify with an email alert only once when the
 service state goes to down from up , it will then again notify when
 the service comes back to up state , correct me if am wrong.

 But when i set this to 0 , i am still getting email notifications every
 10 mins for the service which is in down state for more than one day.

 Is this is a bug or am i missing something here , Please let me know.
 Bit of a long shot, but do you have any escalations defined?

 Also, check what the service or host definition looks like in your
 objects.cache file and post it here if you would like it checked-over.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


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

2010-03-08 Thread Jim Avery
On 8 March 2010 22:16, alexus ale...@gmail.com wrote:
 if i define my host to be checked/notify only at certain time frame,
 let's say 10-18
 yet service states 24/7 ... who takes priority? host's definition or service?

If the service check fails, I think Nagios would check the host
anyway.  You might like to run a test to confirm this.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null