Re: [Nagios-users] check-nt-disk

2006-07-11 Thread REMY Julien
Hello

What is the password that Nagios asks ?

-Message d'origine-
De : Morris, Patrick [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 10 juillet 2006 17:15
À : REMY Julien; nagios-users@lists.sourceforge.net
Objet : RE: [Nagios-users] check-nt-disk

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of REMY Julien
> Sent: Monday, July 10, 2006 8:07 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check-nt-disk
> 
> # 'check_nt' command definition
> define command {
>   command_namecheck-nt-disk
>   command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 
> 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
>   }
> 
> When I go in the Nagios interface, I have a message : 
> 
> Freespace disk C : status critical, status information 
> Connexion refusée Or Freespace disk C : status unknown, 
> status information NsClient - ERROR :Wrong Password
> 
> What is it ?

My guess, based on the error message, is that you're not sending the correct 
password (actually, you're not sending any password).

>From "check_nt -h:"

-s 
  Password needed for the request


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] rss add on

2006-07-11 Thread Vinod
Hi Tried implementing the rss addon .I have  configured the setttings as per the readme of rss4nagiosWhen i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgit gives me this errorError: Unexpected token or statement in file '/usr/local/nagios/etc/rss.cfg' on line  4Please suggest do i need to make any changes in the rss.cfg fileRegardsVinod  Vinod Moraes 
	
		Sneak preview the  all-new Yahoo.com. It's not radically different. Just radically better. 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] rss add on

2006-07-11 Thread Thomas Sluyter
On 11 Jul, 2006, at 9:51, Vinod wrote:

> When i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/ 
> nagios.cfg
> it gives me this error
> Error: Unexpected token or statement in file '/usr/local/nagios/etc/ 
> rss.cfg' on line  4
>
> Please suggest do i need to make any changes in the rss.cfg file

Uhm, yes... That's what the error message says, doesn't it?

Could you please give us a sample of the contents of rss.cfg to see  
what's wrong?

Cheers!


Thomas




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] rss add on

2006-07-11 Thread Vinod
Hi  I had copied the  rss.cfg.in file from the rss4nagios folder as rss.cfg in the /usr/local/nagios/etc/ folder.RegardsVinodThomas Sluyter <[EMAIL PROTECTED]> wrote: On 11 Jul, 2006, at 9:51, Vinod wrote:> When i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/ > nagios.cfg> it gives me this error> Error: Unexpected token or statement in file '/usr/local/nagios/etc/ > rss.cfg' on line  4>> Please suggest do i need to make any changes in the rss.cfg fileUhm, yes... That's what the error message says, doesn't it?Could you please give us a sample of the contents of rss.cfg to see  what's wrong?Cheers!Thomas-Using
 Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/nullVinod Moraes 
		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] check-nt-disk

2006-07-11 Thread REMY Julien
I resolved my problem.

It is necessary to look at the password defined in the base of register of the 
Windows servers (default None) and then to add in the check_nt the option -s 
None

-Message d'origine-
De : Morris, Patrick [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 10 juillet 2006 17:15
À : REMY Julien; nagios-users@lists.sourceforge.net
Objet : RE: [Nagios-users] check-nt-disk

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of REMY Julien
> Sent: Monday, July 10, 2006 8:07 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check-nt-disk
> 
> # 'check_nt' command definition
> define command {
>   command_namecheck-nt-disk
>   command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 
> 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
>   }
> 
> When I go in the Nagios interface, I have a message : 
> 
> Freespace disk C : status critical, status information 
> Connexion refusée Or Freespace disk C : status unknown, 
> status information NsClient - ERROR :Wrong Password
> 
> What is it ?

My guess, based on the error message, is that you're not sending the correct 
password (actually, you're not sending any password).

>From "check_nt -h:"

-s 
  Password needed for the request


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Oracle plugin check_oracle

2006-07-11 Thread Hari Sekhon
Hari Sekhon wrote:
> On 10/07/06, Jason Martin <[EMAIL PROTECTED]> wrote:
>> On Mon, Jul 10, 2006 at 05:57:08PM +0100, Hari Sekhon wrote:
>> > "Cannot determine ORACLE_HOME for sid " with status UNKNOWN
>> > This happened to me before but since it was working earlier I don't
>> > see how this could have broken...
>> Soemthing must have changed...
>>
>>
>> > For one, why do I need ORACLE_HOME,
>> sql/plus requires this since it uses it to find the tnsnames.ora
>> file as well as the location of the error messages translation
>> file.
>>
>> > nagios user environment when I "su - nagios", and three sqlplus is in
>> > the nagios user's path and I can do "sqlplus "
>> > and successfully get a login prompt on the database server.
>> How does it get in the nagios users's path? Could Nagios have
>> been restarted in such a way that the profile or whatever didn't
>> get sourced?
>>
>> -Jason Martin
>> -- 
>> This message is PGP/MIME signed.
>>
>>
>>
>
> I would expect that to be it as well but it's strange to see this. I
> rebooted nagios and it started working properly again.
>
> It started happening just after making a completely unrelated change
> to a mysql check and rebooting nagios.
>
> This sounds suspicious but at that same time as soon as it started
> giving me warning UNKNOWN for the status of the oracle machines, I
> immediately tried
>
> sqlplus "username/[EMAIL PROTECTED]"
>
> from the nagios user and it worked normally and logged me in... and
>
> echo $ORACLE_HOME
>
> gave me the path to the oracle client installation...
>
> so why did the check stop working?
>
It's happened again, I changed a non-related service name and then 
restarted nagios and now again it doesn't find $ORACLE_HOME for the sids 
of the databases apparently. This is ridiculous since I can

su - nagios
echo $ORACLE_HOME
/usr/lib/oracle/10.2.0.2/client

which gives me the path to the oracle client installation and I can also

sqlplus "user/[EMAIL PROTECTED]" successfully and get a login.

/usr/nagios/libexec/check_oracle --login dbname
OK - dummy login connected

Does anybody understand why this check has stopped working again when I 
haven't
done anything to it, I have to get this working in a stable fashion, I 
can't have it doing this every time I restart nagios...

-h




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] rss add on

2006-07-11 Thread Ton Voon
Vinod,My guess is that you have nagios setup to read *.cfg as Nagios config files. rss.cfg is a config file for rss4nagios, which is in perl format. So when nagios starts up, it complains about this "funny" format.You'll need to alter your Nagios configuration or move rss.cfg into a different directory.TonOn 11 Jul 2006, at 10:02, Vinod wrote:Hi  I had copied the  rss.cfg.in file from the rss4nagios folder as rss.cfg in the /usr/local/nagios/etc/ folder.RegardsVinodThomas Sluyter <[EMAIL PROTECTED]> wrote: On 11 Jul, 2006, at 9:51, Vinod wrote:> When i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/ > nagios.cfg> it gives me this error> Error: Unexpected token or statement in file '/usr/local/nagios/etc/ > rss.cfg' on line  4>> Please suggest do i need to make any changes in the rss.cfg fileUhm, yes... That's what the error message says, doesn't it?Could you please give us a sample of the contents of rss.cfg to see  what's wrong?Cheers!Thomas-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/nullVinod Moraes 		Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great rates starting at 1¢/min. This message has been scanned for viruses by MailController.-Using Tomcat but need to do more? Need to support web services, security?Get stuff done quickly with pre-integrated technology to make your job easierDownload IBM WebSphere Application Server v.1.0.1 based on Apache Geronimohttp://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___Nagios-users mailing listNagios-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null  http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Oracle plugin check_oracle

2006-07-11 Thread Ton Voon
On 11 Jul 2006, at 11:21, Hari Sekhon wrote:It's happened again, I changed a non-related service name and then restarted nagios and now again it doesn't find $ORACLE_HOME for the sids of the databases apparently. This is ridiculous since I cansu - nagiosecho $ORACLE_HOME/usr/lib/oracle/10.2.0.2/clientwhich gives me the path to the oracle client installation and I can alsosqlplus "user/[EMAIL PROTECTED]" successfully and get a login./usr/nagios/libexec/check_oracle --login dbnameOK - dummy login connectedDoes anybody understand why this check has stopped working again when I haven'tdone anything to it, I have to get this working in a stable fashion, I can't have it doing this every time I restart nagios...How do you restart Nagios? Or do you mean reload?If the former, check that the startup scripts correctly source the environment variables. If the latter, it could be a bug in Nagios, though I'm not sure why.Alternatively, check_oracle will parse /var/opt/oracle/oratab (and other locations) for the ORACLE_HOME variable. Some installations of Oracle use this to know what SIDs are installed on a server. You could amend that instead.Ton http://www.altinity.comT: +44 (0)870 787 9243F: +44 (0)845 280 1725Skype: tonvoon 
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Setup and configuration

2006-07-11 Thread Antonio Pereira
Hello All,

I am new to Nagios and am looking to try and configure the system. I
have read alot of documentation. I am having an issue trying to
configure one system to start. 

The error I get is as follows. 

**
Error: Could not find any host matching 'host_a'
Error: Could not expand hostgroups and/or hosts specified in service
(config file '/usr/local/nagios/etc/services.cfg', starting on line 1)
**
My Services config is:
*
define service{
service_description HTTP
host_name   host_a
servicegroups   http_services
check_command   check_http
max_check_attempts  3
normal_check_interval   5
retry_check_interval1
check_period24x7
notification_interval   60
notification_period 24x7
notification_optionsw,u,c
contact_groups  network_team
}
**
My hosts files is as follows:
**
define host{
host_name   host_a
alias   main system
address 192.168.0.19
hostgroups  temp
check_period24x7
max_check_attempts  1
contact_groups  network_team
notification_interval   30
notification_period 24x7
notification_optionsd,u,r
}
***
My servicegroups is as follows:
***
define servicegroup{
servicegroup_name   http_services
alias   Web Servers
members host_a,HTTP
}
***
My hostgroups is as follows:
***
define hostgroup{
hostgroup_name  temp
alias   temp Network
members host_a
}
***
Am I even in the right direction?
Thanks for any help or any directions where I can find the answer.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread REMY Julien








Hello

 

I want to view the free space in my servers in Windows 2000
and 2003. I configure the services.cfg file. That functions with the Windows
2000 servers but that isn’t functions with the Windows 2003 Server.

 

The error message is : « connexion refusée »
(refused connection).

 

In my checkcommands.cfg file : 

 

# 'check_nt' command
definition

define command {

command_name  check-nt-disk

command_line  $USER1$/check_nt
-H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$

}

 

Why ?

 

Thank you very much

 







-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread REMY Julien
Hello

I want to view the free space in my servers in Windows 2000 and 2003. I 
configure the services.cfg file. That functions with the Windows 2000 servers 
but that isn't functions with the Windows 2003 Server.

The error message is : « connexion refusée » (refused connection).

In my checkcommands.cfg file : 

# 'check_nt' command definition
define command {
command_name  check-nt-disk
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l 
$ARG1$ -w $ARG2$ -c $ARG3$
}

Why ?

Thank you very much



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread REMY Julien
What does this software ?

-Message d'origine-
De : Randal, Phil [mailto:[EMAIL PROTECTED] 
Envoyé : mardi 11 juillet 2006 16:50
À : REMY Julien; nagios-users@lists.sourceforge.net
Objet : RE: [Nagios-users] check-nt Windows 2003 Server

Nobody told my Windows 2003 servers that!

pnsClient.exe works fine on Win 2003.  If you're on SP1, disable DEP for
pnsclient.exe.

Cheers,

Phil

--
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of REMY Julien
> Sent: 11 July 2006 15:48
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] check-nt Windows 2003 Server
> 
> after researches on Internet, check_nt and ntclient are 
> compatible only with Windows NT, 2000 and XP but not with 
> Windows 2003.
> 
> Is there a solution?
> 
> Thanks
> 
> -Message d'origine-
> De : REMY Julien 
> Envoyé : mardi 11 juillet 2006 16:17
> À : nagios-users@lists.sourceforge.net
> Objet : [Nagios-users] check-nt Windows 2003 Server
> 
> Hello
> 
> I want to view the free space in my servers in Windows 2000 
> and 2003. I configure the services.cfg file. That functions 
> with the Windows 2000 servers but that isn't functions with 
> the Windows 2003 Server.
> 
> The error message is : « connexion refusée » (refused connection).
> 
> In my checkcommands.cfg file : 
> 
> # 'check_nt' command definition
> define command {
> command_name  check-nt-disk
> command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 
> -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
> }
> 
> Why ?
> 
> Thank you very much
> 
> 
> 
> --
> ---
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS 
> when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Setup and configuration

2006-07-11 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Antonio Pereira
> Sent: Tuesday, July 11, 2006 8:00 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Setup and configuration
> 
> Hello All,
> 
> I am new to Nagios and am looking to try and configure the system. I
> have read alot of documentation. I am having an issue trying to
> configure one system to start.
> 
> The error I get is as follows.
> 
> **
> Error: Could not find any host matching 'host_a'
> Error: Could not expand hostgroups and/or hosts specified in service
> (config file '/usr/local/nagios/etc/services.cfg', starting on line 1)
> **
> My Services config is:
> *
> define service{
>   service_description HTTP
>   host_name   host_a
>   servicegroups   http_services
>   check_command   check_http
>   max_check_attempts  3
>   normal_check_interval   5
>   retry_check_interval1
>   check_period24x7
>   notification_interval   60
>   notification_period 24x7
>   notification_optionsw,u,c
>   contact_groups  network_team
>   }
> **
> My hosts files is as follows:
> **
> define host{
>   host_name   host_a
>   alias   main system
>   address 192.168.0.19
>   hostgroups  temp
>   check_period24x7
>   max_check_attempts  1
>   contact_groups  network_team
>   notification_interval   30
>   notification_period 24x7
>   notification_optionsd,u,r
>   }

Do you list the file containing this host definition as a cfg_file in
nagios.cfg?

--
Marc


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread Max H.
REMY Julien wrote:
> after researches on Internet, check_nt and ntclient are compatible only with 
> Windows NT, 2000 and XP but not with Windows 2003.
> 
> Is there a solution?
> 

Do you have SNMP running on the clients you want to check disk space on?

I'm not sure for 2003, but I know this plugin works on W2K for disk 
space. First here's the plugin:



I'm defining a check command:

# 'snmp_doze_disk' Windoze disk check for C: drive
define command{
 command_namesnmp_doze_disk
 command_line$USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ 
-C your_comm_string -m ^C: -w $ARG1$ -c $ARG2$
 }

Specify your args in the service you define to whatever suits your needs.

Max


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Service time out immediately sets hard state?

2006-07-11 Thread Andrew Laden
Title: Service time out immediately sets hard state?






Heya


Running Nagios 2.0b6.


I have a service check that runs fine most of the time, but occasionally (about once a day)  the check takes too long to run, and hits the Service check timeout limit.

It appears that hitting this limit is treated as an immediate hard error, even though I have max_check_attempts for the service equal to 5. I would prefer it to be a soft error, so that I can retry withouth sending out notification et al. Is this possible?

 One item that may be affecting the issue is that the service was in a hard warning state at the time. I believe that this should not make a difference, as a service in a hard warning that gets a critical return goes into a soft critical normally. I think this is just a special property of the service check timeout trigger.

I don’t want to increase the service check timeout limit, because I don’t want to affect the other 99% of the services that are fine.

Thanks

-Andrew




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Setup and configuration

2006-07-11 Thread Antonio Pereira
Thanks

That was it. Something so simple. I knew it.



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Antonio Pereira
> Sent: Tuesday, July 11, 2006 8:00 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Setup and configuration
> 
> Hello All,
> 
> I am new to Nagios and am looking to try and configure the system. I
> have read alot of documentation. I am having an issue trying to
> configure one system to start.
> 
> The error I get is as follows.
> 
> **
> Error: Could not find any host matching 'host_a'
> Error: Could not expand hostgroups and/or hosts specified in service
> (config file '/usr/local/nagios/etc/services.cfg', starting on line 1)
> **
> My Services config is:
> *
> define service{
>   service_description HTTP
>   host_name   host_a
>   servicegroups   http_services
>   check_command   check_http
>   max_check_attempts  3
>   normal_check_interval   5
>   retry_check_interval1
>   check_period24x7
>   notification_interval   60
>   notification_period 24x7
>   notification_optionsw,u,c
>   contact_groups  network_team
>   }
> **
> My hosts files is as follows:
> **
> define host{
>   host_name   host_a
>   alias   main system
>   address 192.168.0.19
>   hostgroups  temp
>   check_period24x7
>   max_check_attempts  1
>   contact_groups  network_team
>   notification_interval   30
>   notification_period 24x7
>   notification_optionsd,u,r
>   }

Do you list the file containing this host definition as a cfg_file in
nagios.cfg?

--
Marc



-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread REMY Julien
after researches on Internet, check_nt and ntclient are compatible only with 
Windows NT, 2000 and XP but not with Windows 2003.

Is there a solution?

Thanks

-Message d'origine-
De : REMY Julien 
Envoyé : mardi 11 juillet 2006 16:17
À : nagios-users@lists.sourceforge.net
Objet : [Nagios-users] check-nt Windows 2003 Server

Hello

I want to view the free space in my servers in Windows 2000 and 2003. I 
configure the services.cfg file. That functions with the Windows 2000 servers 
but that isn't functions with the Windows 2003 Server.

The error message is : « connexion refusée » (refused connection).

In my checkcommands.cfg file : 

# 'check_nt' command definition
define command {
command_name  check-nt-disk
command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l 
$ARG1$ -w $ARG2$ -c $ARG3$
}

Why ?

Thank you very much



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread Randal, Phil
Nobody told my Windows 2003 servers that!

pnsClient.exe works fine on Win 2003.  If you're on SP1, disable DEP for
pnsclient.exe.

Cheers,

Phil

--
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK  

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of REMY Julien
> Sent: 11 July 2006 15:48
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] check-nt Windows 2003 Server
> 
> after researches on Internet, check_nt and ntclient are 
> compatible only with Windows NT, 2000 and XP but not with 
> Windows 2003.
> 
> Is there a solution?
> 
> Thanks
> 
> -Message d'origine-
> De : REMY Julien 
> Envoyé : mardi 11 juillet 2006 16:17
> À : nagios-users@lists.sourceforge.net
> Objet : [Nagios-users] check-nt Windows 2003 Server
> 
> Hello
> 
> I want to view the free space in my servers in Windows 2000 
> and 2003. I configure the services.cfg file. That functions 
> with the Windows 2000 servers but that isn't functions with 
> the Windows 2003 Server.
> 
> The error message is : « connexion refusée » (refused connection).
> 
> In my checkcommands.cfg file : 
> 
> # 'check_nt' command definition
> define command {
> command_name  check-nt-disk
> command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 
> -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
> }
> 
> Why ?
> 
> Thank you very much
> 
> 
> 
> --
> ---
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on 
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS 
> when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread Randal, Phil
I'm sorry, but I really do expect users to do a little research for
themselves.

Check out NSClient++ too (nscplus.sf.net)

Phil

--
Phil Randal
Network Engineer
Herefordshire Council
Hereford, UK  

> -Original Message-
> From: REMY Julien [mailto:[EMAIL PROTECTED] 
> Sent: 11 July 2006 16:08
> To: Randal, Phil; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] check-nt Windows 2003 Server
> 
> What does this software ?
> 
> -Message d'origine-
> De : Randal, Phil [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 11 juillet 2006 16:50
> À : REMY Julien; nagios-users@lists.sourceforge.net
> Objet : RE: [Nagios-users] check-nt Windows 2003 Server
> 
> Nobody told my Windows 2003 servers that!
> 
> pnsClient.exe works fine on Win 2003.  If you're on SP1, 
> disable DEP for
> pnsclient.exe.
> 
> Cheers,
> 
> Phil
> 
> --
> Phil Randal
> Network Engineer
> Herefordshire Council
> Hereford, UK  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf 
> > Of REMY Julien
> > Sent: 11 July 2006 15:48
> > To: nagios-users@lists.sourceforge.net
> > Subject: Re: [Nagios-users] check-nt Windows 2003 Server
> > 
> > after researches on Internet, check_nt and ntclient are 
> > compatible only with Windows NT, 2000 and XP but not with 
> > Windows 2003.
> > 
> > Is there a solution?
> > 
> > Thanks
> > 
> > -Message d'origine-
> > De : REMY Julien 
> > Envoyé : mardi 11 juillet 2006 16:17
> > À : nagios-users@lists.sourceforge.net
> > Objet : [Nagios-users] check-nt Windows 2003 Server
> > 
> > Hello
> > 
> > I want to view the free space in my servers in Windows 2000 
> > and 2003. I configure the services.cfg file. That functions 
> > with the Windows 2000 servers but that isn't functions with 
> > the Windows 2003 Server.
> > 
> > The error message is : « connexion refusée » (refused connection).
> > 
> > In my checkcommands.cfg file : 
> > 
> > # 'check_nt' command definition
> > define command {
> > command_name  check-nt-disk
> > command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 
> > -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
> > }
> > 
> > Why ?
> > 
> > Thank you very much
> > 
> > 
> > 
> > --
> > ---
> > Using Tomcat but need to do more? Need to support web 
> > services, security?
> > Get stuff done quickly with pre-integrated technology to make 
> > your job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on 
> > Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> > dat=121642
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS 
> > when reporting any issue. 
> > ::: Messages without supporting info will risk being sent 
> to /dev/null
> > 
> 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread Mark Duffy
Which client are you using? I had to disable DEP in windows 2003 when
using the NSclient as it would not start as a service

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Max H.
Sent: 11 July 2006 16:06
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check-nt Windows 2003 Server

REMY Julien wrote:
> after researches on Internet, check_nt and ntclient are compatible
only with Windows NT, 2000 and XP but not with Windows 2003.
> 
> Is there a solution?
> 

Do you have SNMP running on the clients you want to check disk space on?

I'm not sure for 2003, but I know this plugin works on W2K for disk 
space. First here's the plugin:



I'm defining a check command:

# 'snmp_doze_disk' Windoze disk check for C: drive
define command{
 command_namesnmp_doze_disk
 command_line$USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ 
-C your_comm_string -m ^C: -w $ARG1$ -c $ARG2$
 }

Specify your args in the service you define to whatever suits your
needs.

Max



-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
This email may contain confidential information and may be read, 
copied and used only by the intended recipient.

The information in this email transmission may not be legally revealed 
and is intended only for the use of the individual(s) named above. If 
you are not the intended recipient you are hereby notified that any use,
dissemination, distribution or copying of this email message or its 
information is strictly prohibited.


If you have received this email in error please notify the sender by reply
or by telephoning +44 (0)1642 283949. 
Delete this message from your email system(s) and do not disclose its 
contents to any person.





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] check-nt Windows 2003 Server

2006-07-11 Thread jeff vier
On Tue, 2006-07-11 at 17:08 +0200, REMY Julien wrote:
> What does this software ?

The software's spouse?



(what are you asking?)

> -Message d'origine-
> De : Randal, Phil [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 11 juillet 2006 16:50
> À : REMY Julien; nagios-users@lists.sourceforge.net
> Objet : RE: [Nagios-users] check-nt Windows 2003 Server
> 
> Nobody told my Windows 2003 servers that!
> 
> pnsClient.exe works fine on Win 2003.  If you're on SP1, disable DEP for
> pnsclient.exe.
> 
> Cheers,
> 
> Phil
> 
> --
> Phil Randal
> Network Engineer
> Herefordshire Council
> Hereford, UK  
> 
> > -Original Message-
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf 
> > Of REMY Julien
> > Sent: 11 July 2006 15:48
> > To: nagios-users@lists.sourceforge.net
> > Subject: Re: [Nagios-users] check-nt Windows 2003 Server
> > 
> > after researches on Internet, check_nt and ntclient are 
> > compatible only with Windows NT, 2000 and XP but not with 
> > Windows 2003.
> > 
> > Is there a solution?
> > 
> > Thanks
> > 
> > -Message d'origine-
> > De : REMY Julien 
> > Envoyé : mardi 11 juillet 2006 16:17
> > À : nagios-users@lists.sourceforge.net
> > Objet : [Nagios-users] check-nt Windows 2003 Server
> > 
> > Hello
> > 
> > I want to view the free space in my servers in Windows 2000 
> > and 2003. I configure the services.cfg file. That functions 
> > with the Windows 2000 servers but that isn't functions with 
> > the Windows 2003 Server.
> > 
> > The error message is : « connexion refusée » (refused connection).
> > 
> > In my checkcommands.cfg file : 
> > 
> > # 'check_nt' command definition
> > define command {
> > command_name  check-nt-disk
> > command_line  $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 
> > -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$
> > }
> > 
> > Why ?
> > 
> > Thank you very much
> > 
> > 
> > 
> > --
> > ---
> > Using Tomcat but need to do more? Need to support web 
> > services, security?
> > Get stuff done quickly with pre-integrated technology to make 
> > your job easier
> > Download IBM WebSphere Application Server v.1.0.1 based on 
> > Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&;
> > dat=121642
> > ___
> > Nagios-users mailing list
> > Nagios-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS 
> > when reporting any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null
> > 
> 
> 
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null


signature.asc
Description: This is a digitally signed message part

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] Init error

2006-07-11 Thread Antonio Pereira
Hello,

I am having an error show up when I do a status on the nagios


The error is as follows:

**
/etc/rc.d/init.d/nagios status
No lock file found in /usr/local/nagios/var/nagios.lock
**

Thanks


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Init error

2006-07-11 Thread Miles O'Neal
Antonio Pereira said...
|
|Hello,
|
|I am having an error show up when I do a status on the nagios
|
|
|The error is as follows:
|
|**
|/etc/rc.d/init.d/nagios status
|No lock file found in /usr/local/nagios/var/nagios.lock

Did you check permission?  Mine shows:

   drwxr-xr-x   13 root root 4096 Jul  5 16:28 /var/run/
   -rw-r--r--1 root root6 Jul  5 16:28 /var/run/nagios.pid

While the processes all end up running as nagios, the
pid file gets written by root.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Init error

2006-07-11 Thread Josh Kessler
Does the file exist there? Did you configure the file to be somewhere
else? Is nagios running?

-Josh

On 7/11/06, Antonio Pereira <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am having an error show up when I do a status on the nagios
>
>
> The error is as follows:
>
> **
> /etc/rc.d/init.d/nagios status
> No lock file found in /usr/local/nagios/var/nagios.lock
> **
>
> Thanks
>
>
> -
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Missing file running ./configure on Solaris 8 (sparc)

2006-07-11 Thread [EMAIL PROTECTED]
I'm getting this error message when I run the configure script before
building and installing: (this is the config.log file)

configure:1834: checking for C compiler default output file name
configure:1837: gccconftest.c  >&5
ld: fatal: file values-Xa.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to a.out
collect2: ld returned 1 exit status
configure:1840: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:1879: error: C compiler cannot create executables
See `config.log' for more details.



mail2web - Check your email from the web at
http://mail2web.com/ .




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Missing file running ./configure on Solaris 8 (sparc)

2006-07-11 Thread Jim Perrin
On 7/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm getting this error message when I run the configure script before
> building and installing: (this is the config.log file)

> configure:1879: error: C compiler cannot create executables
> See `config.log' for more details.

Sounds like you need to install gcc and the standard libs

-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] NSCA

2006-07-11 Thread Nazar Kulynych
I have problems sending messages from NSCA agent from solaris box to 
Nagios server.

I have closely followed instructions from 
http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf

and I was able to send test messages from localhost, but when I try to 
send the same message from remote
server, all I could see in /var/log/messages that it opens up connection 
and closes it and remote host saying that
0 messages sent to the host.





-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] NSCA

2006-07-11 Thread Jason Martin
On Tue, Jul 11, 2006 at 04:32:39PM -0400, Nazar Kulynych wrote:
> I have problems sending messages from NSCA agent from solaris box to 
> Nagios server.
> 
> I have closely followed instructions from 
> http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf
> 
> and I was able to send test messages from localhost, but when I try to 
> send the same message from remote
> server, all I could see in /var/log/messages that it opens up connection 
> and closes it and remote host saying that
> 0 messages sent to the host.
tcp_wrappers perhaps?

-Jason Martin
-- 
Useless Invention: A freezer for Eskimos.
This message is PGP/MIME signed.


pgpkOWSZh3SiR.pgp
Description: PGP signature

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NSCA

2006-07-11 Thread Nazar Kulynych
I have commented only_from in xinet.d/nsca

I can telnet to nagios.server port 5667

Thanks
Nazar

Jason Martin wrote:
> On Tue, Jul 11, 2006 at 04:32:39PM -0400, Nazar Kulynych wrote:
>   
>> I have problems sending messages from NSCA agent from solaris box to 
>> Nagios server.
>>
>> I have closely followed instructions from 
>> http://nagios.sourceforge.net/download/contrib/documentation/misc/NSCA_Setup.pdf
>>
>> and I was able to send test messages from localhost, but when I try to 
>> send the same message from remote
>> server, all I could see in /var/log/messages that it opens up connection 
>> and closes it and remote host saying that
>> 0 messages sent to the host.
>> 
> tcp_wrappers perhaps?
>
> -Jason Martin
>   




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Command File error

2006-07-11 Thread Israel Brewster
Whenever I try to run a command from the nagios CGI's, I get an error  
saying:

Error: Could not stat() command file '/usr/local/nagios//var/rw/ 
nagios.cmd'!

The external command file may be missing, Nagios may not be running,  
and/or Nagios may not be checking external commands.

An error occurred while attempting to commit your command for  
processing.

I have read through the documentation, and checked the permissions on  
the command directory both manually and by sing the make install- 
commandmode command. I have also verified that both my webserver and  
the nagios process user are in the group that owns the command  
directory. I still get the error though. Can anyone shed some light  
on this for me? Thanks.

Israel


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Command File error

2006-07-11 Thread Patrick Morris
On Tue, 11 Jul 2006, Israel Brewster wrote:

> Whenever I try to run a command from the nagios CGI's, I get an error  
> saying:
> 
> Error: Could not stat() command file '/usr/local/nagios//var/rw/ 
> nagios.cmd'!
> 
> The external command file may be missing, Nagios may not be running,  
> and/or Nagios may not be checking external commands.
> 
> An error occurred while attempting to commit your command for  
> processing.
> 
> I have read through the documentation, and checked the permissions on  
> the command directory both manually and by sing the make install- 
> commandmode command. I have also verified that both my webserver and  
> the nagios process user are in the group that owns the command  
> directory. I still get the error though. Can anyone shed some light  
> on this for me? Thanks.

How about the nagios.cmd file?  Is it there?

Are the permissions set so that the webserver user can get to it?


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Howto force a notification (before the scheduled renotify time) for a down host/critical service ?

2006-07-11 Thread Stanley.Hopcroft
Dear Folks,

How can I have Nagios (2.4) send a notification ahead of the scheduled
time for next notification ?

I would like to do this to send out notifications after a period of
no-notifications ends (we
have the view that people do not react well to even major crises between
about midnight and 4-5 am so
we don't send notifications during that period. However it would be nice
to send out all the
notifications for outages that occurred in the no-notification period at
5 am).

At the moment we send a summary of outstanding faults generated by
nagiostats (very useful,
but I think it would be better to actually notify about all the extant
problems above
a certain severity. 

Since status.dat has all this information, it is not difficult to find
whats not up.

However, there does not appear to be an external command to do
notification.

The closest I could find
(http://www.nagios.org/developerinfo/externalcommands/commandlist.php)
appears to be SET_NOTIFICATION_NUMBER.

Your comments are most welcome.

Thank you,

Yours sincerely.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Command File error

2006-07-11 Thread Israel Brewster
Yes, the nagios.cmd file is automatically created when I start  
nagios. The file does have read and write permissions for the nagcmd  
group, and I have added the webserver to said group.

Israel

On Jul 11, 2006, at 2:52 PM, Patrick Morris wrote:

> On Tue, 11 Jul 2006, Israel Brewster wrote:
>
>> Whenever I try to run a command from the nagios CGI's, I get an error
>> saying:
>>
>> Error: Could not stat() command file '/usr/local/nagios//var/rw/
>> nagios.cmd'!
>>
>> The external command file may be missing, Nagios may not be running,
>> and/or Nagios may not be checking external commands.
>>
>> An error occurred while attempting to commit your command for
>> processing.
>>
>> I have read through the documentation, and checked the permissions on
>> the command directory both manually and by sing the make install-
>> commandmode command. I have also verified that both my webserver and
>> the nagios process user are in the group that owns the command
>> directory. I still get the error though. Can anyone shed some light
>> on this for me? Thanks.
>
> How about the nagios.cmd file?  Is it there?
>
> Are the permissions set so that the webserver user can get to it?



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Command File error

2006-07-11 Thread Marc Powell
And restarted the web server presumably. That leaves 2 likely
possibilities:
- one or more of the directories above rw/ are not accessible by
your web server user or
- you have SELinux enabled and have not allowed http permissions
by policy. You can use 'audit2allow -l -i /var/log/messages' to see if
that's the case.

I don't use SELinux so I can't provide you with a specific policy.

--
Marc 

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Israel Brewster
> Sent: Tuesday, July 11, 2006 6:43 PM
> To: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Command File error
> 
> Yes, the nagios.cmd file is automatically created when I start
> nagios. The file does have read and write permissions for the nagcmd
> group, and I have added the webserver to said group.
> 
> Israel
> 
> On Jul 11, 2006, at 2:52 PM, Patrick Morris wrote:
> 
> > On Tue, 11 Jul 2006, Israel Brewster wrote:
> >
> >> Whenever I try to run a command from the nagios CGI's, I get an
error
> >> saying:
> >>
> >> Error: Could not stat() command file '/usr/local/nagios//var/rw/
> >> nagios.cmd'!
> >>
> >> The external command file may be missing, Nagios may not be
running,
> >> and/or Nagios may not be checking external commands.
> >>
> >> An error occurred while attempting to commit your command for
> >> processing.
> >>
> >> I have read through the documentation, and checked the permissions
on
> >> the command directory both manually and by sing the make install-
> >> commandmode command. I have also verified that both my webserver
and
> >> the nagios process user are in the group that owns the command
> >> directory. I still get the error though. Can anyone shed some light
> >> on this for me? Thanks.
> >
> > How about the nagios.cmd file?  Is it there?
> >
> > Are the permissions set so that the webserver user can get to it?
> 
> 
> 
>

-
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios CONFIG ERROR!

2006-07-11 Thread Kaushal Shriyan
Hi All

I have installed the nagios application and facing some problems while starting
nagios

[EMAIL PROTECTED] conf.d]# rpm -qa | grep nagios
nagios-2.4-1.el4.rf
[EMAIL PROTECTED] conf.d]# service nagios start
Starting network monitor: nagios
CONFIG ERROR!  Start aborted.  Check your Nagios configuration.
[EMAIL PROTECTED] conf.d]#

Thanks and Regards

Kaushal


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios CONFIG ERROR!

2006-07-11 Thread Morris, Patrick
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Kaushal Shriyan
> Sent: Tuesday, July 11, 2006 11:20 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Nagios CONFIG ERROR!
> 
> Hi All
> 
> I have installed the nagios application and facing some 
> problems while starting nagios
> 
> [EMAIL PROTECTED] conf.d]# rpm -qa | grep nagios 
> nagios-2.4-1.el4.rf [EMAIL PROTECTED] conf.d]# service nagios 
> start Starting network monitor: nagios CONFIG ERROR!  Start 
> aborted.  Check your Nagios configuration.
> [EMAIL PROTECTED] conf.d]#

Have you... Well, checked your configuration?


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios CONFIG ERROR!

2006-07-11 Thread Thomas Sluyter
On 12 Jul, 2006, at 8:30, Morris, Patrick wrote:

>> -Original Message-
>> Of Kaushal Shriyan
>> Subject: [Nagios-users] Nagios CONFIG ERROR!
>>
>> Hi All
>>
>> I have installed the nagios application and facing some
>> problems while starting nagios
>>
>> [EMAIL PROTECTED] conf.d]# rpm -qa | grep nagios
>> nagios-2.4-1.el4.rf [EMAIL PROTECTED] conf.d]# service nagios
>> start Starting network monitor: nagios CONFIG ERROR!  Start
>> aborted.  Check your Nagios configuration.
>> [EMAIL PROTECTED] conf.d]#
>
> Have you... Well, checked your configuration?

Nono... It must be something completely different! Checking your  
configuration is way too obvious. Maybe he should read the  
documentation first... That's probably it...

/me trots off for a cup of coffee... Wednesday morning's without  
coffee make me cynical... :p

Seriously... How often do questions like this pop up on the mailing  
list? I think I've seen this one about ten times the past three weeks...


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios CONFIG ERROR!

2006-07-11 Thread Ray La Peyre
Try running this command to see where the error in your configuration is

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaushal
Shriyan
Sent: Wednesday, 12 July 2006 4:20 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios CONFIG ERROR!

Hi All

I have installed the nagios application and facing some problems while
starting nagios

[EMAIL PROTECTED] conf.d]# rpm -qa | grep nagios nagios-2.4-1.el4.rf
[EMAIL PROTECTED] conf.d]# service nagios start Starting network monitor:
nagios CONFIG ERROR!  Start aborted.  Check your Nagios configuration.
[EMAIL PROTECTED] conf.d]#

Thanks and Regards

Kaushal



-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null