Re: [Nagios-users] Looking for a good to great book for Nagios

2012-03-01 Thread Jonny Mosco
http://www.amazon.com/Nagios-Network-Monitoring-Wolfgang-Barth/dp/1593271794/ref=sr_1_1?ie=UTF8qid=1330644624sr=8-1

http://www.amazon.com/Nagios-Network-Monitoring-Wolfgang-Barth/dp/1593271794/ref=sr_1_1?ie=UTF8qid=1330644624sr=8-1There
is a lot of good reference in this book as well.

On Thu, Mar 1, 2012 at 5:16 PM, Robert Spangler mli...@zoominternet.netwrote:

 On Thursday 01 March 2012 10:20, the following was written:

 Hello Mike,

 Thank you for your input.

   Hi Robert,
 
   I got started with Nagios Core using the following book, which I felt
   was pretty straight forward, but this would be more of a getting
   started book:
 
 
 http://www.amazon.com/Learning-Nagios-3-0-Wojciech-Kocjan/dp/1847195180/ref
 =sr_1_1?ie=UTF8qid=1330614890sr=8-1
 
   Although the absolute best resource I know of for Nagios are the manuals
   that come with our training partner's Nagios Training.  Obviously this
   is more expensive than just buying a book, but it's more interactive and
   would pretty much equip you to be able to do whatever you ever needed to
   do with Nagios.  The manuals give lots of examples of how to actually do
   everything, as well as concepts.
   http://spidertools.com/nagios.php
 
   On 2/29/2012 7:04 PM, Robert Spangler wrote:
Hello All,
   
I have recently installed Nagios and what to learn more about this
program. While searching the web for books I see that most are older
books written 3+ years ago or more.
   
I would like to ask for recommendation on what I should buy.  I
currently have the latest version of Nagios installed.  I am looking
 for
a book that will give me the ins and out of this program with
 examples.
   
I thank you for your time.

 --

 Regards
 Robert

 Linux
 The adventure of a lifetime.

 Linux User #296285
 Get Counted
 http://linuxcounter.net/


 --
 Virtualization  Cloud Management Using Capacity Planning
 Cloud computing makes use of virtualization - but cloud computing
 also focuses on allowing computing to be delivered as a service.
 http://www.accelacomm.com/jaw/sfnl/114/51521223/
 ___
 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

--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/___
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] add info on the body of email

2012-02-05 Thread Jonny Mosco
Yes.  You can add anything from your host/service definitions here.  Check
the document for macros.  I use the notes_url and then expand upon it in
the emails.

On Sun, Feb 5, 2012 at 8:11 AM, Nelson Serafica ntseraf...@gmail.comwrote:

 I just want to confirm. Would it be possible to modify the email content
 for each services? I have an email alert and I want to put an info (e.g.
 url) on the content of the email. Below is sample of the email content.

 * Nagios *

 Notification Type: PROBLEM

 Service: SMTP_25
 Host: mta
 Address: 10.0.1.20
 State: CRITICAL

 Date/Time: Sun Feb 5 21:02:47 EST 2012

 Additional Info:

 CRITICAL - Socket timeout after 10 seconds
 *-- I want to put a URL here -*





 --
 Try before you buy = See our experts in action!
 The most comprehensive online learning library for Microsoft developers
 is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
 Metro Style Apps, more. Free future releases when you subscribe now!
 http://p.sf.net/sfu/learndevnow-dev2
 ___
 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

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
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] FW: NDOUtils Error writing to data sink! Some output may get lost. xxx queued items to flush

2012-02-03 Thread Jonny Mosco
In ndo2db.cfg, is the username and password to connect to the db correct?

db_user=nagios  
db_pass=nagios


I had a similar error, and that was how I fixed it.


On Fri, Feb 3, 2012 at 12:37 PM, FTL Nagios ftlnag...@gmail.com wrote:

 Ok so for no apparent reason as nothing has changed from me writing the
 original email the log has now logged something new

 ** **

 [1328289822] ndomod: Successfully reconnected to data sink! 0 items lost,
 328 queued items to flush.

 [1328289822] ndomod: Error writing to data sink! Some output may get lost.
 47 queued items to flush.

 ** **

 [1328289838] ndomod: Successfully reconnected to data sink! 0 items lost,
 189 queued items to flush.

 [1328289838] ndomod: Successfully flushed 189 queued items to data sink.**
 **

 [1328289838] ndomod: Error writing to data sink! Some output may get lost…
 

 [1328289838] ndomod: Please check remote ndo2db log, database connection
 or SSL parameters

 [1328289854] ndomod: Successfully reconnected to data sink! 0 items lost,
 192 queued items to flush.

 [1328289854] ndomod: Successfully flushed 192 queued items to data sink.**
 **

 [1328289854] ndomod: Error writing to data sink! Some output may get lost…
 

 [1328289854] ndomod: Please check remote ndo2db log, database connection
 or SSL parameters

 ** **

 So it started at least flushing stuff if not logging

 ** **

 But then a few minutes later back to normal

 ** **

 [1328290414] ndomod: Successfully reconnected to data sink! 0 items lost,
 397 queued items to flush

 [1328290414] ndomod: Error writing to data sink! Some output may get
 lost. 139 queued items to flush

 ** **

 ** **

 Nothing at all has changed.

 ** **

 This will drive me drink, I know it

 ** **

 ** **

 *From:* Andrew Thompson [mailto:and...@fulgent.co.uk]
 *Sent:* 03 February 2012 17:06
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* [Nagios-users] NDOUtils Error writing to data sink! Some
 output may get lost. xxx queued items to flush

 ** **

 Hi all,

 ** **

 Ubuntu 11.04 32bit Desktop edition

 NDOUtils 1.4b9

 ** **

 ** **

 ** **

 Im trying to install NDOUtils so I can get Nagios writing its log files to
 MYSQL.

 ** **

 But im not having much luck.

 ** **

 I have followed the install guide to the letter:
 http://nagios.sourceforge.net/docs/ndoutils/NDOUtils.pdf

 ** **

 When all said and done that fires out this entry in the nagios.log:

 ** **

 [1328283956] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright © 2009 Nagios
 Core Development Team and Community Contributors

 [1328283956] ndomod: Could not open data sink! I’ll keep trying, but some
 output may get lost…

 [1328283956] Event broker module ‘/usr/local/nagios/bin/ndomod-3x.o’
 initialized successfully.

 [1328283956] Finished daemonizing… (New PID=5771)

 ** **

 ** **

 ** **

 So did a bit of googling and then :-

 ** **

 Chmod 755 /usr/local/nagios/bin/ndo2db-3x

 Chmod 755 /usr/local/nagios/bin/ndomod-3x.o

 ** **

 ** **

 ** **

 Restarted the ndomod and nagios services/processes and got somewhere

 ** **

 [1328284715] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright © 2009 Nagios
 Core Development Team and Community Contributors

 [1328284715] ndomod: Successfully connected to data sink. 0 queued items
 to flush.

 [1328284715] Event broker module ‘/usr/local/nagios/bin/ndomod-3x.o’
 initialized successfully.

 [1328284715] ndomod: Error writing to data sink! Some output may get lost…
 

 [1328284715] Please check remote ndo2db log, database connection or SSL
 Parameters

 [1328284715] Finished daemonizing… (New PID=13760)

 ** **

 ** **

 ** **

 So did a bit more googling and I then:-

 ** **

 Chmod 775 /usr/local/nagios/etc/ndo2db.cfg

 Chmod 775 /usr/local/nagios/etc/ndomod.cfg

 Chown nagios:nagios /usr/local/nagios.etc.ndo*

 ** **

 ** **

 ** **

 Restarted the ndomod and nagios services/processes and got a bit further –
 No check log/db/parameters error

 ** **

 ** **

 [1328285023] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright © 2009 Nagios
 Core Development Team and Community Contributors

 [1328285023] ndomod: Successfully connected to data sink. 2793 queued
 items to flush.

 [1328285023] ndomod: Error writing to data sink! Some output may get lost.
 2554 queued items to flush

 [1328285023] Event broker module ‘/usr/local/nagios/bin/ndomod-3x.o’
 initialized successfully.

 [1328285023] Finished daemonizing… (New PID=17107)

 ** **

 ** **

 ** **

 Then read to change the perms on the ndo.sock file, so:

 ** **

 Chmod 775 /usr/local/nagios/var/ndo.sock

 ** **

 ** **

 But still the same output:

 ** **

 [1328285748] ndomod: NDOMOD 1.4b9 (10-27-2009) Copyright © 2009 Nagios
 Core Development Team and Community Contributors

 [1328285748] ndomod: Successfully connected to data sink. 957 queued 

Re: [Nagios-users] How to monitor memory on cisco router

2011-12-13 Thread Jonny Mosco
Nagios exchange.

http://exchange.nagios.org/

You can use check_snmp as well.



On Tue, Dec 13, 2011 at 11:41 AM, moses neah mssn...@yahoo.com wrote:

 Hi all,
 Where can I find a plugin to monitor cisco routers memory. I got the one
 that monitors CPU, fan and temperature.


 --
 Systems Optimization Self Assessment
 Improve efficiency and utilization of IT resources. Drive out cost and
 improve service delivery. Take 5 minutes to use this Systems Optimization
 Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/
 ___
 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

--
Systems Optimization Self Assessment
Improve efficiency and utilization of IT resources. Drive out cost and 
improve service delivery. Take 5 minutes to use this Systems Optimization 
Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/___
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 Core Log file

2011-08-08 Thread Jonny Mosco
You might want to check your values in nagios.cfg:

# INITIAL STATES LOGGING OPTION
# If you want Nagios to log all initial host and service states to
# the main log file (the first time the service or host is checked)
# you can enable this option by setting this value to 1.  If you
# are not using an external application that does long term state
# statistics reporting, you do not need to enable this option.  In
# this case, set the value to 0.

log_initial_states=0



# EXTERNAL COMMANDS LOGGING OPTION
# If you don't want Nagios to log external commands, set this value
# to 0.  If external commands should be logged, set this value to 1.
# Note: This option does not include logging of passive service
# checks - see the option below for controlling whether or not
# passive checks are logged.

log_external_commands=1

On Mon, Aug 8, 2011 at 12:01 PM, Robert J Molerio rjm...@nyu.edu wrote:

 Hello,

 I was told the NAGIOS CORE  logfile  would log any changes made to host
 command  execution ie:  External commands:who turned off what and  when.
 Upon examination of my logfile it sems that this is not the case.
 The log file indicates only that a particular service was enabled or
 disable but it does not indiacte the user id that performed the change.

 Can anyone point me in the right direction to make this happen?

 Snippet of log file :

 [root@its019-lap-v:var]# pwd
 /usr/local/nagios/var
 [root@its019-lap-v:var]# ls -lat
 total 188
 drwxrwxr-x 5 nagios nagios  4096 Aug  8 11:15 .
 -rw-rw-r-- 1 nagios nagios 51204 Aug  8 11:15 status.dat
 -rw-r--r-- 1 nagios nagios  4561 Aug  8 11:09 nagios.log
 -rw--- 1 nagios nagios 50697 Aug  8 11:09 retention.dat
 drwxrwxr-x 2 nagios nagios  4096 Aug  8 00:00 archives
 -rw-r--r-- 1 nagios nagios 41229 Aug  5 15:09 objects.cache
 -rw-r--r-- 1 nagios nagios 6 Aug  1 13:24 nagios.lock
 drwxrwsr-x 2 nagios nagcmd  4096 Aug  1 13:24 rw
 drwxrwxr-x 9 nagios nagios  4096 Jul  1 15:06 ..
 drwxrwxr-x 3 nagios nagios  4096 Jun 27 15:54 spool
 [root@its019-lap-v:var]# cat nagios.log
 [1312776000] LOG ROTATION: DAILY
 [1312776000] LOG VERSION: 2.0
 [1312776541] Auto-save of retention data completed successfully.
 [1312780141] Auto-save of retention data completed successfully.
 [1312783741] Auto-save of retention data completed successfully.
 [1312787341] Auto-save of retention data completed successfully.
 [1312790941] Auto-save of retention data completed successfully.
 [1312794541] Auto-save of retention data completed successfully.
 [1312798141] Auto-save of retention data completed successfully.
 [1312801741] Auto-save of retention data completed successfully.
 [1312805172] EXTERNAL COMMAND: DEL_ALL_SVC_COMMENTS;TPC Server;root space
 [1312805341] Auto-save of retention data completed successfully.
 [1312808941] Auto-save of retention data completed successfully.
 [1312812541] Auto-save of retention data completed successfully.
 [1312816017] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;HTTP
 [1312816033] EXTERNAL COMMAND: ENABLE_SVC_NOTIFICATIONS;Nagios Server;SSH
 [1312816141] Auto-save of retention data completed successfully.


 --
 Thank you,

 Bob Molerio
 Systems Administrator
 New York University
 ITS Computer Facilities Services/Infrastructure
 Level C-2
 75 Third Avenue
 New York NY 10003-5527
 email:robert.mole...@nyu.edu robert.mole...@nyu.edu





 --
 BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 The must-attend event for mobile developers. Connect with experts.
 Get tools for creating Super Apps. See the latest technologies.
 Sessions, hands-on labs, demos  much more. Register early  save!
 http://p.sf.net/sfu/rim-blackberry-1
 ___
 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

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
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] What the best way to monitor Windows?

2011-08-05 Thread Jonny Mosco
That's exactly what I do.  I have a medium sized environment with 200+
Windows servers to manage.  I have NSclient++ on every windows host, using a
CNAME monitor and have a NSC.ini already configured and dropped into
place.  Works like a charm.  With this method, I can also have check_nt, and
check_nrpe if needed.

On Fri, Aug 5, 2011 at 8:41 AM, Mathew Walker lmw94...@hotmail.com wrote:

  With NSClient++, you can easily copy the INI file around.  for NRPE and
 NSClient++ config files I always put in 3 generic names as allowed hosts
 ... nagios1.domain.local, nagios2.domain.local, nagios3.domain.local.  Those
 3 are CNAMEs to my actual nagios systems so I don't have to worry about
 updating config files if I'm testing a new plugin on a test Nagios box,
 migrating, etc.  Only downside is that it does require good DNS and you have
 the normally trivial overhead of that DNS lookup.

 --
 Mat W.

  From: mark.el...@gmail.com
  Date: Fri, 5 Aug 2011 07:48:11 +0200
  To: mrsbon...@yahoo.com; nagios-users@lists.sourceforge.net

  Subject: Re: [Nagios-users] What the best way to monitor Windows?
 
   Ok, so it sounds like there might be 3 best ways to monitor Windows
 in
   general.
   I will have to check them out in detail before deciding which way to
 go. I
   do note that the following though from reading about them -
  
   1. Checkwmiplus
  
  
 
  - I switched from NSclient++ to checkwmiplus, because agent less
  monitoring gives me a more
  flexible nagios environment : - not needing a remote agent makes
  migration NAGIOS to another server easier, because
  usually because of security reasons, you will be configuring the agent
  to allow connections from a particular (NAGIOS)
  server only.
  - an agent needs to be extra
  installed on the windows server; that may seem 'easy' ; but it
  isn't if you are in a large IT group where people carry different
  heads, and things like 'convincing debates' and 'overal installation
  procedures' come into place.
 
  - there are disadvantages
  too : checkwmiplus has increased the cpu load on my nagios server
  dramatically because of the combined use of wmic and the perl-based
  checkwmiplus script. And multiple instances are running
  all the time for a large number of servers. I think I will have to
  migrate to a speedier nagios server in the future
 
  - checkwmiplus is still under
  very active development which has pros and cons; pros because of the
  active interest of the developer, cons because active installation
  components are still being changed, making upgrading and followup
  on versions a little bit more cumbersome and time intensive , then for
  nsclient++ , which ,already, much more stabilized.
 
  M.
 
 
 --
  BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
  The must-attend event for mobile developers. Connect with experts.
  Get tools for creating Super Apps. See the latest technologies.
  Sessions, hands-on labs, demos  much more. Register early  save!
  http://p.sf.net/sfu/rim-blackberry-1
  ___
  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


 --
 BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
 The must-attend event for mobile developers. Connect with experts.
 Get tools for creating Super Apps. See the latest technologies.
 Sessions, hands-on labs, demos  much more. Register early  save!
 http://p.sf.net/sfu/rim-blackberry-1
 ___
 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

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1___
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