[Nagios-users] AUTO: Eliot Picken is out of the office (returning 03/09/2010)

2010-09-02 Thread Eliot . Picken

I am out of the office until 03/09/2010.

I am currently out of the office, wihtout access to email.  Your email has
not been forwarded.

For all enquiries, please contact Alex Lawrie on +44 (0) 1224 894 000

Best regards

Eliot





Note: This is an automated response to your message  Re: [Nagios-users]
can't login to centreon sent on 9/1/2010 8:04:22 PM.

This is the only notification you will receive while this person is away.


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] Problem with custom plugin on a remote linux box

2010-09-02 Thread Roderick Andrew Clemente
Hi All,

Thanks for taking the time to read this. I am currently trying to setup
Nagios to monitor a Feed Handler on a remote Linux box. I am so close I can
taste it! Sadly, the nagios admin doesn't appear to be reading the command
properly. I am new to Nagios so please bear with me, there are a lot of
moving pieces so I thought i would provide as much information as possible
to make it easy to figure out the issue. If there is something I am missing,
please don't hesitate to ask. 

To start with, the admin is successfully monitoring other services on the
box, ping, processes, disk usage, etc. but for the custom plugin I am trying
to read, it fails with a status of CRITICAL and status info of NULL. Here is
what I believe to be the relevant config info.

On the machine being monitored
I added the perl script I created to /usr/local/nagios/libexec/custom/ (its
a modification of
http://www.deimos.fr/gitweb/?p=nagios_plugins.git;a=blob;f=check_file_conten
t/check_file_content.pl;h=ecf737389fd5a4360ee864eb55aca92056308445;hb=HEAD I
have tested it from the command line and it works as expected)

in the file: vi /usr/local/nagios/etc/nrpe.cfg i added 
command[check_wadmin]=perl /usr/local/nagios/libexec/custom/check_wadmin.pl
-f /tmp/nagiosInput.txt -i wait -n 35

On the monitoring machine
I already had the machine monitoring the remote linux box's basic stats, I
did this by creating a remotelinuxhost.cfg file at
/usr/local/nagios/etc/objects (and adding a reference in the main config)

To remotelinuxhost.cfg I added: 

define service{
use generic-service ; Name of service template to use
host_name Sun89
service_description Check Feed Handler
check_command check_wadmin
}


I also added commands.cfg (in the same folder) 

define command{
command_name check_wadmin
command_line perl /usr/local/nagios/libexec/custom/check_wadmin.pl -f
/tmp/nagiosInput.txt -i wait -n 35
}

When I reloaded the service, it accepted the config but the result is as
listed above... if anyone has any suggestions it would be greatly
appreciated!!!

 

〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・

Roderick Andrew Clemente

Multi Wave Co., Ltd. 

9F Kanda Tsukasa-cho Bldg., 2-2-12 Kanda Tsukasa-cho 

Chiyoda-ku, Tokyo 101 0048 Japan 

Tel: +81-3 3258 7080

Fax: +81-3 3258 7085

Email:  mailto:r...@mwave.co.jp r...@mwave.co.jp 

〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・〜・

 

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
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] Webinterface tries to download a file (not 3D-Map!)

2010-09-02 Thread dehne
Hello everyone. I just set up a webserver along with Nagios to use for  
our institute. Everything went fine (I followed the guide at  
http://www.debianhelp.co.uk/nagiosinstall.htm, using a Debian system)  
so far. However, if I try to access the webinterface via  
http://IP-adress/nagios, after logging in with the nagiosadmin  
account, the browser will download a [random-name].part file, which  
contains the following HTML code:


!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Frameset//EN  
http://www.w3.org/TR/html4/frameset.dtd;

html
head
meta name=ROBOTS content=NOINDEX, NOFOLLOW
titleNagios/title
link rel=shortcut icon href=images/favicon.ico type=image/ico
/head

frameset cols=180,*
frame src=side.php name=side frameborder=0
frame src=main.php name=main frameborder=0

noframes
!-- This page requires a web browser which supports frames. --
h2Nagios/h2
p align=center
a href=http://www.nagios.org/;www.nagios.org/abr
Copyright (c) 1999-2009 Ethan Galstadbr
/p
p
iNote: These pages require a browser which supports frames/i
/p
/noframes

/frameset

/html


This was tested via Epiphany and Firefox in Debian and Firefox in  
Windows XP. I have not come across this problem in any documentation  
or the mailing list archives, so I hope someone can help me here.

Best regards,

-- 
Simon Dehne

Institut f?r Turbomaschinen und Fluid-Dynamik (TFD)
Gottfried Wilhelm Leibniz Universit?t Hannover
Appelstr. 9
30167 Hannover

Tel.: +49 511/762-17753
web: http://www.tfd.uni-hannover.de
eMail: de...@tfd.uni-hannover.de


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] have a user with access to some host web reports only

2010-09-02 Thread rpereyra
Hi all. I'm new in this list.

A simple question:

It's possible to have user access per host monitoring ?

I would like to have a user with access to some host web reports only.

Thanks in advance.

roberto



--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] have a user with access to some host web reports only

2010-09-02 Thread rpereyra
 Hi all. I'm new in this list.

 A simple question:

 It's possible to have user access per host monitoring ?

 I would like to have a user with access to some host web reports only.

 Thanks in advance.

 roberto



solved myself :)

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

roberto





--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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_snmp new feature

2010-09-02 Thread Ton Voon
Hi!

Just want to let you know about a new blog article about the new  
feature in check_snmp where it measures rate changes in SNMP.

http://bit.ly/cdNQlu

It was developed for a customer of Opsview (http://opsview.com), but  
is now in Nagios Plugins for everyone to use. Enjoy!

Thanks to Holger for ideas on the C interface to the state change  
functions.

Ton


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] Webinterface tries to download a file (not 3D-Map!)

2010-09-02 Thread Kevin Keane
Check the MIME type. It should be text/html . Maybe for some reason Apache or 
the Nagios CGIs instead send application/binary or so.

-Original Message-
From: de...@tfd.uni-hannover.de [mailto:de...@tfd.uni-hannover.de] 
Sent: Thursday, September 02, 2010 1:05 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Webinterface tries to download a file (not 3D-Map!)

Hello everyone. I just set up a webserver along with Nagios to use for our 
institute. Everything went fine (I followed the guide at 
http://www.debianhelp.co.uk/nagiosinstall.htm, using a Debian system) so far. 
However, if I try to access the webinterface via http://IP-adress/nagios, after 
logging in with the nagiosadmin account, the browser will download a 
[random-name].part file, which contains the following HTML code:


!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Frameset//EN  
http://www.w3.org/TR/html4/frameset.dtd;

html
head
meta name=ROBOTS content=NOINDEX, NOFOLLOW titleNagios/title link 
rel=shortcut icon href=images/favicon.ico type=image/ico /head

frameset cols=180,*
frame src=side.php name=side frameborder=0 frame src=main.php 
name=main frameborder=0

noframes
!-- This page requires a web browser which supports frames. -- 
h2Nagios/h2 p align=center a 
href=http://www.nagios.org/;www.nagios.org/abr
Copyright (c) 1999-2009 Ethan Galstadbr /p p
iNote: These pages require a browser which supports frames/i /p 
/noframes

/frameset

/html


This was tested via Epiphany and Firefox in Debian and Firefox in Windows XP. I 
have not come across this problem in any documentation or the mailing list 
archives, so I hope someone can help me here.

Best regards,

--
Simon Dehne

Institut f?r Turbomaschinen und Fluid-Dynamik (TFD) Gottfried Wilhelm Leibniz 
Universit?t Hannover Appelstr. 9
30167 Hannover

Tel.: +49 511/762-17753
web: http://www.tfd.uni-hannover.de
eMail: de...@tfd.uni-hannover.de


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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't login to centreon

2010-09-02 Thread Kyle Bader
 Thanks for the continued support...

 Please look at the centreon.conf.php file... seems user is “root” we tried
 root and all passwords which we could think of...

You use this information combined with the command from earlier to
reset the password hash:

echo update contact set contact_passwd =
'2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like
'%centreonadmin%' | mysql -u root -p centreon2 -h 127.0.0.1

If you didn't censor the password and the value really is  then you
probably only need to press enter when prompted for the password (from
the command above).  This is terribly insecure and should be changed
at some point.

-- 

Kyle

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] Tuning for Passive Check latency

2010-09-02 Thread Jim Avery
2010/8/31 Yu Watanabe yu.watan...@jp.fujitsu.com:
 Hello Jim.

 I apologize for late reply.

 Please see the attached file for the cpu status of the server.

 Thank you
 Yu Watanabe


MySQL seems to be using a lot of CPU.  I'm no expert on MySQL though.

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] Tuning for Passive Check latency

2010-09-02 Thread Dorfman, Justin
Yu,

This might be up your alley:
http://nagios.sourceforge.net/docs/2_0/tuning.html


Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman |
@MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
http://bit.ly/aNiWSk


On Thu, Sep 2, 2010 at 10:45 AM, Jim Avery j...@jimavery.me.uk wrote:

 2010/8/31 Yu Watanabe yu.watan...@jp.fujitsu.com:
  Hello Jim.
 
  I apologize for late reply.
 
  Please see the attached file for the cpu status of the server.
 
  Thank you
  Yu Watanabe


 MySQL seems to be using a lot of CPU.  I'm no expert on MySQL though.


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
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] Tuning for Passive Check latency

2010-09-02 Thread diego . roccia
Better to go with the 3.0 version :)

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

There is a common problem I experience with google indexing: every time I look 
for nagios docs, i'm redirected to old, (v2.0) one.

Sent from my BlackBerry® wireless device

-Original Message-
From: Dorfman, Justin jus...@mahalo.com
Date: Thu, 2 Sep 2010 11:01:28 
To: Nagios Users Listnagios-users@lists.sourceforge.net
Reply-To: Nagios Users List nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Tuning for Passive Check latency

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] Tuning for Passive Check latency

2010-09-02 Thread Dorfman, Justin
Oh Snap I didn't even realize that. Good call Diego!


Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman |
@MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
http://bit.ly/aNiWSk


On Thu, Sep 2, 2010 at 1:48 PM, diego.roc...@gmail.com wrote:

 Better to go with the 3.0 version :)

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

 There is a common problem I experience with google indexing: every time I
 look for nagios docs, i'm redirected to old, (v2.0) one.

 Sent from my BlackBerry® wireless device

 -Original Message-
 From: Dorfman, Justin jus...@mahalo.com
 Date: Thu, 2 Sep 2010 11:01:28
 To: Nagios Users Listnagios-users@lists.sourceforge.net
 Reply-To: Nagios Users List nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] Tuning for Passive Check latency


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd

 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
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] Tuning for Passive Check latency

2010-09-02 Thread Yu Watanabe
Hello Jim.

Thank you for the reply.

Yes MySQL seems to be dominating the CPU. But as far as I see
the sar and free result , also taking the CPU spec into account,
there seems to be space for Nagios to use more resource.

So , first I will change the 'check_external_commands' to -1 
and see what happens.

Thanks!

Jim Avery さんは書きました:
2010/8/31 Yu Watanabe yu.watan...@jp.fujitsu.com:
 Hello Jim.

 I apologize for late reply.

 Please see the attached file for the cpu status of the server.

 Thank you
 Yu Watanabe


MySQL seems to be using a lot of CPU.  I'm no expert on MySQL though.

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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


**
株式会社富士通ソーシアルサイエンスラボラトリ

第二キャリアビジネス本部 システム基盤開発部

   渡辺 裕

E-Mail : yu.watan...@jp.fujitsu.com
Tel: 044-739-1570

**


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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] Tuning for Passive Check latency

2010-09-02 Thread Yu Watanabe
Hi Justin.

Yes. I have seen the page. 
Had useful information in it.

Thanks!

Dorfman, Justin さんは書きました:
Yu,

This might be up your alley:
http://nagios.sourceforge.net/docs/2_0/tuning.html


Regards,

Justin Dorfman
Mahalo.com Inc.  Jr. Systems Engineer
818.485.1458
@jdorfman http://www.twitter.com/jdorfman |
@MahaloSysopshttp://twitter.com/MahaloSysops| Blog:
http://bit.ly/aNiWSk


On Thu, Sep 2, 2010 at 10:45 AM, Jim Avery j...@jimavery.me.uk wrote:

 2010/8/31 Yu Watanabe yu.watan...@jp.fujitsu.com:
  Hello Jim.
 
  I apologize for late reply.
 
  Please see the attached file for the cpu status of the server.
 
  Thank you
  Yu Watanabe


 MySQL seems to be using a lot of CPU.  I'm no expert on MySQL though.


 --
 This SF.net Dev2Dev email is sponsored by:

 Show off your parallel programming skills.
 Enter the Intel(R) Threading Challenge 2010.
 http://p.sf.net/sfu/intel-thread-sfd
 ___
 Nagios-users mailing list
 Nagios-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/nagios-users
 ::: Please include Nagios version, plugin version (-v) and OS when
 reporting any issue.
 ::: Messages without supporting info will risk being sent to /dev/null

__

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
__

___
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

**
株式会社富士通ソーシアルサイエンスラボラトリ

第二キャリアビジネス本部 システム基盤開発部

   渡辺 裕

E-Mail : yu.watan...@jp.fujitsu.com
Tel: 044-739-1570

**


--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
___
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't login to centreon

2010-09-02 Thread IT Toonz
Hi Kyle,

 

Still not working L

 

This is how we tried, please let us know if we made any mistakes.

 

From the prompt.

 

[r...@nagios ~]# mysql

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 42037

Server version: 5.0.77 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql use centreon2

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A

Database changed

mysql #echo update contact set contact_passwd = 
'2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%' 
| mysql -u root -p centreon2 -h 192.168.3.241

mysql

 

and like this

 

[r...@nagios ~]# #echo update contact set contact_passwd = 
'2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%' | mysql 
-u root -p centreon2 -h 192.168.3.241

 

Tried with centreonadmin and root, with password centreon, can’t login L

 

We might have to reinstall and configure everthing

 

Please advice...

Regards

Ananth.

 

 

-Original Message-
From: Kyle Bader [mailto:kyle.ba...@gmail.com] 
Sent: 02 September 2010 21:22
To: Nagios Users List
Subject: Re: [Nagios-users] can't login to centreon

 

 Thanks for the continued support...

 

 Please look at the centreon.conf.php file... seems user is “root” we tried

 root and all passwords which we could think of...

 

You use this information combined with the command from earlier to

reset the password hash:

 

echo update contact set contact_passwd =

'2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like

'%centreonadmin%' | mysql -u root -p centreon2 -h 127.0.0.1

 

If you didn't censor the password and the value really is  then you

probably only need to press enter when prompted for the password (from

the command above).  This is terribly insecure and should be changed

at some point.

 

-- 

 

Kyle

 

--

This SF.net Dev2Dev email is sponsored by:

 

Show off your parallel programming skills.

Enter the Intel(R) Threading Challenge 2010.

http://p.sf.net/sfu/intel-thread-sfd

___

Nagios-users mailing list

Nagios-users@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/nagios-users

::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 

::: Messages without supporting info will risk being sent to /dev/null

--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
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't login to centreon

2010-09-02 Thread Ortner, Gerald
Hi,
AFAIK the first one wont’ work because every string after the hash (#) symbol 
is treated as comment. Correct me if I’m wrong
For mysql prompt use:
update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where 
contact_alias like '% centreonadmin %;

If the update was successful the output should look like this:
Query OK, 1 row affected (0.02 sec)
Rows matched: 1  Changed: 1  Warnings: 0

The latter one won’t work if there is no contact with an alias like root…

For command line use:
echo “update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' 
where contact_alias like '%centreonadmin%' | mysql -u root -p centreon2”


To verify if the update was successful, you can issue following command:
Mysql prompt:
select contact_passwd, contact_alias from contact where contact_alias like 
'%centreonadmin%'

CLI:
echo “select contact_passwd, contact_alias from contact where contact_alias 
like '%centreonadmin%'” | mysql -u root -p centreon2”

You don’t need the –h option if you are working on locally on the server

Gerald


Von: IT Toonz [mailto:it.to...@gmail.com]
Gesendet: Freitag, 03. September 2010 06:00
An: 'Nagios Users List'
Betreff: Re: [Nagios-users] can't login to centreon


Hi Kyle,



Still not working ☹



This is how we tried, please let us know if we made any mistakes.



From the prompt.



[r...@nagios ~]# mysql

Welcome to the MySQL monitor.  Commands end with ; or \g.

Your MySQL connection id is 42037

Server version: 5.0.77 Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql use centreon2

Reading table information for completion of table and column names

You can turn off this feature to get a quicker startup with -A

Database changed

mysql #echo update contact set contact_passwd = 
'2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%' 
| mysql -u root -p centreon2 -h 192.168.3.241

mysql



and like this



[r...@nagios ~]# #echo update contact set contact_passwd = 
'2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%' | mysql 
-u root -p centreon2 -h 192.168.3.241



Tried with centreonadmin and root, with password centreon, can’t login ☹



We might have to reinstall and configure everthing



Please advice...

Regards

Ananth.





-Original Message-
From: Kyle Bader [mailto:kyle.ba...@gmail.com]
Sent: 02 September 2010 21:22
To: Nagios Users List
Subject: Re: [Nagios-users] can't login to centreon



 Thanks for the continued support...



 Please look at the centreon.conf.php file... seems user is “root” we tried

 root and all passwords which we could think of...



You use this information combined with the command from earlier to

reset the password hash:



echo update contact set contact_passwd =

'2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like

'%centreonadmin%' | mysql -u root -p centreon2 -h 127.0.0.1



If you didn't censor the password and the value really is  then you

probably only need to press enter when prompted for the password (from

the command above).  This is terribly insecure and should be changed

at some point.



--



Kyle



--

This SF.net Dev2Dev email is sponsored by:



Show off your parallel programming skills.

Enter the Intel(R) Threading Challenge 2010.

http://p.sf.net/sfu/intel-thread-sfd

___

Nagios-users mailing list

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


OOe. Gesundheits- und Spitals-AG
Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, 
Firmenbuchgericht: Landesgericht Linz, FN 210146 p
--
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd___
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