[Nagios-users] Nagios and MySQL

2008-12-29 Thread shacky
Hi!

Could MySQL be used in Nagios3?
What is stored in the MySQL database?

Thank you very much!
Bye.

--
___
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 and MySQL

2008-12-29 Thread André Moura
HI,

read this: http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf



2008/12/29 shacky shack...@gmail.com:
 Hi!

 Could MySQL be used in Nagios3?
 What is stored in the MySQL database?

 Thank you very much!
 Bye.

 --
 ___
 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




-- 
André O Moura
http://andrem.wordpress.com

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


Re: [Nagios-users] dec 31 1969 in event log

2008-12-29 Thread Seth Simmons
No, I don't have time issues.
I do have ntp configured for local time server but not running through
cron.

-Original Message-
From: Marc Powell [mailto:m...@ena.com] 
Sent: Sunday, December 28, 2008 11:21 PM
To: Nagios-Users Mailinglist
Subject: Re: [Nagios-users] dec 31 1969 in event log


On Dec 28, 2008, at 4:23 AM, Seth Simmons wrote:


 Every day in the event log at midnight it shows an event in the list  
 of
 service states at midnight dated 12/31/1969
 The log looks something like this:

 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA1;OK
 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA2;OK
 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB1;OK



 
 December 31, 1969 19:00


 

 [12-31-1969 19:00:00]

Do you have time problems on this machine? Does it go backwards or  
need to be adjusted periodically? Do you have a cron job that re-syncs  
time via NTP at midnight?

--
Marc


--
___
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 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] dec 31 1969 in event log

2008-12-29 Thread Seth Simmons
I have a cron job that runs at 6am for a backup of all nagios files.
Ntp is configured to sync with our windows domain controllers (at the
same location).

Just looked at the event log, it was there this morning...very strange


[12-29-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL Server VSS
Writer;OK;HARD;1;SQLWriter: Started
[12-29-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL Server
Browser;OK;HARD;1;SQLBrowser: Started



 December 31, 1969 19:00  



[12-31-1969 19:00:00] 



 December 29, 2008 00:00  



[12-29-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;SQL
Server;OK;HARD;1;MSSQL$SQLEXPRESS: Started
[12-29-2008 00:00:00] CURRENT SERVICE STATE: cym-sys01;NSClient++
Version;OK;HARD;1;NSClient++ 0.3.0.1 RC 2007-11-28



-Original Message-
From: Hendrik Baecker [mailto:andu...@process-zero.de] 
Sent: Monday, December 29, 2008 12:02 AM
To: Nagios Mailinglist
Subject: Re: [Nagios-users] dec 31 1969 in event log

Hi,

While it's in a timely manner that occurrs every midnight, please let  
us know your cron config and perhaps your timeserver configuration.

Regards,
Hendrik

Am 28.12.2008 um 22:39 schrieb Seth Simmons ssimm...@cymfony.com:

 It's nagios 3.06
 What configuration do you want to know?
 I'm running on fedora 9 monitoring 102 hosts, 1441 services

 -Original Message-
 From: Hugo van der Kooij [mailto:hvdko...@vanderkooij.org]
 Sent: Sunday, December 28, 2008 4:20 PM
 To: Nagios Users Mailinglist
 Subject: Re: [Nagios-users] dec 31 1969 in event log

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Seth Simmons wrote:
 Every day in the event log at midnight it shows an event in the list
 of
 service states at midnight dated 12/31/1969
 The log looks something like this:

 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA1;OK
 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverA;serviceA2;OK
 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB1;OK


 --- 
 -
 
 December 31, 1969 19:00

 --- 
 -
 

 [12-31-1969 19:00:00]


 --- 
 -
 
 December 28, 2008 00:00

 --- 
 -
 

 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB2;OK
 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverB;serviceB3;OK
 [12-27-2008 00:00:00] CURRENT SERVICE STATE: serverC;serviceC1;OK

 To quote mr Spock (pointy ears): Fascinating.

 Given your timezone it looks like something with a unixdate drops to 0
 shortly. That would account for the exact date/time stamp. (unix  
 epoch -
 5 hours) Just totally unclear why it pops up.

 Just so we know. Is this with Nagios version 1.0? And I feel some  
 people
 might like to hear the config from you as well.

 Hugo.

 - --
 hvdko...@vanderkooij.org   http://hugo.vanderkooij.org/
 PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

 Bored? Click on http://spamornot.org/ and rate those images.

 Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w  
 gyfieithu.
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

 iEYEARECAAYFAklX7WoACgkQBvzDRVjxmYGxbACgsFKnzmsFh5+qoHIahIAzEVj7
 yyQAn0u2Ye0EKmiSH+hUbKkWRrsWGhUr
 =h3Dl
 -END PGP SIGNATURE-

 --- 
 -
 --
 ___
 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 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 mailing list
Nagios-users@lists.sourceforge.net

Re: [Nagios-users] Nagios and MySQL

2008-12-29 Thread shacky
 read this: http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf

Thank you very much.
Specifying that I'm using a single Nagios installation (I don't have
multiple Nagios servers), what are the advantages in using NDOUtils
and MySQL to store the configurations?
If I use NDOUtils, will I still be able to configure Nagios in files
(/etc/nagios/*.cfg files) or I will have to write all the
configuration directly in the MySQL db?

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


[Nagios-users] Monitoring CPU temperature, fan velocity, smart hdd on Windows XP/NT...

2008-12-29 Thread 44kbps 44kbps
Hi people! First of all, sorry for my bad english...

I'm new on nagios3. I follow the instruccions about instalation and
configuring, and I had no problems.

Now, I monitor a Linux machine and a Windows XP with NSClient++.
But I have a little limitations with the NSClient++:
I would like to monitor the CPU temperature, the fan velocity, S.M.A.R.T.
messages of the HD, and other hardware variables.
Is it possible to do this with NSClient++? I have found no documentation
about this options on NSClient++'s wiki.

Are there another software for monitoring this variables?

Thank you very much!
--
___
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 and MySQL

2008-12-29 Thread Marc Powell

On Dec 29, 2008, at 7:03 AM, shacky wrote:

 read this: http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf

 Thank you very much.
 Specifying that I'm using a single Nagios installation (I don't have
 multiple Nagios servers), what are the advantages in using NDOUtils
 and MySQL to store the configurations?

NDOUtils doesn't store nagios configuration, just the check and  
process data. It's an 'output-only' target for nagios.

 If I use NDOUtils, will I still be able to configure Nagios in files
 (/etc/nagios/*.cfg files) or I will have to write all the
 configuration directly in the MySQL db?


You will still need to use cfg files. Nagios is not capable of reading  
config files from DB. If that's what you're looking for, there are  
addons (differing for different versions of nagios) that allow you to  
manage configs in a DB then output them in a format that nagios  
understands. http://www.nagiosexchange.org should help you locate them.

--
Marc


--
___
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] Migrating from Nagios 2.0b4 to Nagios 3.03

2008-12-29 Thread Deborah Martin
Hi,

I'm using Suse 10 / Nagios 3.03. 

I have migrated all of my .cfg files across to Nagios 3.03 and all seems to
work well except that, I still have all the host 
checks still pending on nagios 3.03. But on Nagios 2.0b4, all the hosts have
a status of up. (Each version runs on it's own dedicated box.) 

I only define service checks such as an ssh check per host to ensure a host
is up (ping isn't allowed) 

Is this a known behaviour difference between the versions ? Do I need to
make some changes to this new version ? 

Any pointers / ideas would be much appreciated. 

regards,
deborah 






***
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 

Any unauthorised distribution or copying is strictly prohibited. 
Whilst Kognitio Limited takes steps to prevent the transmission of viruses via 
e-mail, we can not guarantee that any email or attachment is free from computer 
viruses and you are strongly advised to undertake your own anti-virus 
precautions. 

Kognitio grants no warranties regarding performance, use or quality of any 
e-mail or attachment and undertakes no liability for loss or damage, howsoever 
caused. 

Kognitio Limited, a company registered in England and Wales. Registered number 
0212 7833. Registered Office:  3a Waterside Park, Cookham Road, Bracknell, 
Berks, RG12 1RB. VAT number 864 4378 92.

Kognitio Inc, a company incorporated in Delaware, principal office 180 North 
Stetson, Suite 3500, Chicago, IL 60601, USA
***

--
___
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] dec 31 1969 in event log

2008-12-29 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Seth Simmons wrote:
 I have a cron job that runs at 6am for a backup of all nagios files.
 Ntp is configured to sync with our windows domain controllers (at the
 same location).

Just for fun. Sync to external NTP servers and see if the problem remains.

Hugo.

BTW: The typical windows solution is to reboot. My typical response to
windows is to grab a Linux CD and reboot from that CD.

- --
hvdko...@vanderkooij.org   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAklZCmgACgkQBvzDRVjxmYFKTACdHG1J38OdJV3g2BVGf935cb5U
J9QAnj9wx6WmjCX+6Rbxg79ug0BjW40V
=q5L5
-END PGP SIGNATURE-

--
___
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] User-Defined Object Directives

2008-12-29 Thread Christopher Hunt
The wish list at http://www.nagios.org/development/upcoming.php for version 3 
lists User-Defined Object Directives.  Was this feature incorporated into 
version 3?  Thanks.

Christopher Hunt

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


[Nagios-users] Monitoring CPU temperature, fan velocity, smart hdd on Windows XP/NT...

2008-12-29 Thread 44kbps 44kbps
Hi people! First of all, sorry for my bad english...

I'm new on nagios3. I follow the instruccions about instalation and
configuring, and I had no problems.

Now, I monitor a Linux machine and a Windows XP with NSClient++.
But I have a little limitations with the NSClient++:
I would like to monitor the CPU temperature, the fan velocity, S.M.A.R.T.
messages of the HD, and other hardware variables.
Is it possible to do this with NSClient++? I have found no documentation
about this options on NSClient++'s wiki.

Are there another software for monitoring this variables?

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

Re: [Nagios-users] Monitoring CPU temperature, fan velocity, smart hdd on Windows XP/NT...

2008-12-29 Thread Gary Danko
You'd need to set up a passive check and write a plugin for the fan info and 
smart status. NSClient++ can gather perfmon data but neither of those is in 
perfmon.




From: 44kbps 44kbps 44k...@gmail.com
To: nagios-users@lists.sourceforge.net
Sent: Monday, December 29, 2008 11:24:01 AM
Subject: [Nagios-users] Monitoring CPU temperature, fan velocity, smart hdd on 
Windows XP/NT...

Hi people! First of all, sorry for my bad english...

I'm new on nagios3. I follow the instruccions about instalation and 
configuring, and I had no problems.

Now, I monitor a Linux machine and a Windows XP with NSClient++.
But I have a little limitations with the NSClient++:
I would like to monitor the CPU temperature, the fan velocity, S.M.A.R.T. 
messages of the HD, and other hardware variables.
Is it possible to do this with NSClient++? I have found no documentation about 
this options on NSClient++'s wiki.

Are there another software for monitoring this variables?

Thank you very much! --
___
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