Re: [Nagios-users] Check_Openmanage not ignoring non-certified drives

2013-01-14 Thread Trond Hasle Amundsen
Bob The Junkie bob_the_jun...@hotmail.com writes:

 I m using Nagios and Check_Openmange to keep an eye on some Dell R710 servers
 we ve recently acquired, and I m having problems trying to stop warnings with
 non-dell certified drives appearing in the alert log.

 I ve separated out the different components on the servers to check into their
 own nagios checks   so my config files appear as such:

 In nagios:

 SERVICES.CFG

 host

 Check_command check_dell_components!memory

 host

 Check_command check_dell_components!alertlog

 COMMANDS.CFG

 Command_name Check_dell_components

 Command_line check_nrpe  H $HOSTADDRESS$ -p 5666  t 30  c Check_OpenManage  a 
  
  only $ARG1$ 

 On each Server in nsclient.ini:

 Check_OpenManage = scripts\\check_openmanage.exe $ARG1$ --perfdata

 The problem I m having is that in one of my checks that checks the health of
 the alert log, I m getting a consistent warning message (Alert log content: 0
 critical, 6 non-critical, 36 ok ). I ve traced this down to the 6 non-dell
 certified drives in the server, and I can indeed see within OMSA that the only
 6 warnings all state  Controller event log: PD 04(e0x20/s4) is not a certified
 drive: Controller 0 (PERC 6/i Integrated) .

 So far, so good. Reading through the documentation I can see the
 Check_Openmanage includes a blacklisting option specifically for this event  
 pdisk_cert - Suppress warning message about non-certified physical disk  but 
 no
 matter what I try, I can t seem to get Check_Openmanage to ignore these
 problems. An example of the command I m running on the command line is:

 check_openmanage.exe -s -a -b pdisk_cert=all

 Which returns:

 WARNING: Alert log content: 0 critical, 6 non-critical, 36 ok

 Now I m assuming the problem here is being caused by the Alert Log generating
 the errors, and not the physical disk directly causing the errors, which is 
 why
 blacklisting the certificate problem on the physical disk isn t doing me any
 good.

 Which leads me onto my question   is there anything I can do to ignore these
 errors (and thus stop Nagios from complaining) apart from excluding the alert
 log when I do my checks?

Hi,

Your analysis is correct. The check_openmanage plugin's check of the log
content is limited to counting the number of critical, warning and ok
messages. It doesn't do any log parsing. The intended usage of the log
checking is as a precausion, if you're concerned about missing some
temporary problem. After all, the plugin does active checking and will
only report the state of the hardware right now.

In your case I think that the easiest solution would be to stop using
the log checking with check_openmanage, and either use a fully fledged
log parsing plugin (such as check_logfiles) or write your own simple
plugin where you just filter out the certificate stuff.

Regards,
-- 
Trond H. Amundsen t.h.amund...@usit.uio.no
Center for Information Technology Services, University of Oslo

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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 escalations

2013-01-14 Thread Julian_Grunnell
Hi - can someone confirm if the following scenario regards service 
escalations is correct?

I have a service check that simply performs a TCP check, if it fails it 
will email the contact with a defined notification_interval of 5mins.

I also have a serviceescalation defined as follows:

define serviceescalation{
hostgroup_name  desktopsnahisservers
service_description DESKTOP SNA SERVICE TCP 4097
first_notification  3
last_notification   0
notification_interval   5
contactsme_at_home
}

If the TCP check continues to fail the service escalation contact starts 
to get alerts but the actual contact for the defined service doesn't.

Is this behaviour to be expected?

As a solution I've simply added the defined service contact to also be a 
contact under the serviceescalation section as well.

I'm running Nagios 3.4.3.

Thanks - Julian.

Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing
T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527
---

Consider the environment: Please don't print this e-mail unless you really need 
to.

Confidentiality:  This email and its attachments are intended for the above 
named only and may be confidential.  If they have come to you in error you must 
take no action based on them, nor must you copy or show them to anyone; please 
reply to this email and highlight the error.

Viruses:  Although we have taken steps to ensure that this email and 
attachments are free from any virus, we advise that in keeping with good 
computing practice the recipient should ensure that they are actually 
virus-free.

Brokerage services provided by TD Direct Investing (Europe) Limited (a 
subsidiary of The Toronto-Dominion Bank).  Authorised and regulated by the 
Financial Services Authority (FSA registered number 141282), member of the 
London Stock Exchange and the PLUS market. Incorporated in England and Wales 
under registration number 2101863.  Registered office: Exchange Court, Duncombe 
Street, Leeds LS1 4AX. Banking services provided by TD Bank N.V. authorised and 
regulated by De Nederlandsche Bank and the Financial Services Authority for UK 
Business (FSA registered number 216791).  Incorporated in the Netherlands and 
registered as a branch in England and Wales under branch registration number 
BR006780.


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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] service escalations

2013-01-14 Thread Assaf Flatto

On 14/01/13 14:41, julian_grunn...@tdwh.co.uk wrote:


Hi - can someone confirm if the following scenario regards service 
escalations is correct?


I have a service check that simply performs a TCP check, if it fails 
it will email the contact with a defined notification_interval of 5mins.


I also have a serviceescalation defined as follows:

define serviceescalation{
hostgroup_name  desktopsnahisservers
service_description DESKTOP SNA SERVICE TCP 4097
first_notification  3
last_notification   0
notification_interval   5
contactsme_at_home
}

If the TCP check continues to fail the service escalation contact 
starts to get alerts but the actual contact for the defined service 
doesn't.


Is this behaviour to be expected?

As a solution I've simply added the defined service contact to also be 
a contact under the serviceescalation section as well.


I'm running Nagios 3.4.3.

Thanks - Julian.

Julian Grunnell | Unix Analyst, Infrastructure | TD Direct Investing
T: +44 (0) 113 346 2824 | M: +44 (0) 7889 352527


Escalations are added and expand the capability of notifications , when 
the escalation logics is activated the normal notification logic is 
suspended and the escalation is the way nagios is processing the alerts.


So if after the 3rd alert only the escalation alert is received - then 
the logic is working as it should .


Assaf
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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] NRPE: Unable to read output; but works when run under strace ...

2013-01-14 Thread Eliezer Croitoru
I would try to run a basic script which logs the nrpe environment into a 
file.
it will make sure what is available to you and what not.

test if:
there are environment vars..
there is a STDOUT\IN\ERR available etc..

#!/usr/bin/env ruby
f = File.open(/tmp/nrpetest.log,a)
f.sync = true

f.puts ENVIROMENTAR VARS\n===
ENV.each {|k,p| f.puts #{k} = #{p}}

f.puts STD DATA\n==
f.puts stdout exists?: #{$stdout}
if $stdout

f.puts stdout is tty?: #{$stdout.isatty}
begin
   $stdout.write_nonblock 0
   f.puts Wrote 0 to stdout
rescue = e
   f.puts didnt wrote to stdout
   f.puts e.message
   f.puts e.backtrace.inspect
end

end

modify the above to make sure what is the cause of this problem.
you can also try to access stdout\err

Regards,
Eliezer

On 1/8/2013 3:53 PM, Florian Ernst wrote:
 Hello all,

 following up to myself ...

 On Mon, Oct 08, 2012 at 08:31:21PM +0200, Florian Ernst wrote:
 [...]
 However, it got weirder: if I strace the nrpe process, everything works
 as desired:
 [...]
 I found no further hints in the strace log, but this led me to assume
 that there is some NRPE weirdness involved, and thus I'm writing here
 instead of further digging through the system.

 Any ideas?

 Lacking any further clue as to what peculiarity might be responsible for
 this weird behavior, I decided to simply let the nrpe process
 permanently run under strace like
 strace -f -q -e none -o /dev/null ...

 The performance impact is minimal, and I finally get check results. Not
 really a solution, but it'll do.

 Cheers,
 Flo

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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] service escalations

2013-01-14 Thread Chris Beattie
On 1/14/2013 9:41 AM, julian_grunn...@tdwh.co.uk wrote:

 If the TCP check continues to fail the service escalation contact starts
 to get alerts but the actual contact for the defined service doesn't.

Try changing contacts me_at_home to contacts +me_at_home.

-- 
-Chris

Nothing in this message is intended to make or accept an offer or to form a 
contract, except that an attachment that is an image of a contract bearing the 
signature of an officer of our company may be or become a contract. This 
message (including any attachments) is intended only for the use of the 
individual or entity to whom it is addressed. It may contain information that 
is non-public, proprietary, privileged, confidential, and exempt from 
disclosure under applicable law or may constitute as attorney work product. If 
you are not the intended recipient, we hereby notify you that any use, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this message in error, please notify us immediately by 
telephone and delete this message immediately.

Thank you.


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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] NRPE: Unable to read output; but works when run under strace ...

2013-01-14 Thread Florian Ernst
Hello Eliezer,

thanks for your reply.

On Mon, Jan 14, 2013 at 05:41:28PM +0200, Eliezer Croitoru wrote:
 I would try to run a basic script which logs the nrpe environment into a 
 file.
 it will make sure what is available to you and what not.
 
 test if:
 [...]
 modify the above to make sure what is the cause of this problem.
 you can also try to access stdout\err

As mentioned in the original post¹ indeed the desired text output is
generated [by the plugin] but somehow gets discarded [by NRPE].
However, if I strace the nrpe process, everything works as desired.

The latter is what irks me. The plugins themselves are running fine.

Cheers,
Flo


¹ http://sourceforge.net/mailarchive/message.php?msg_id=29939293

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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] Version Check Incorrect

2013-01-14 Thread Steve Jenkins
Just installed 3.4.4 and noticed this:

http://www.nagios.org/checkforupdates/?version=3.4.4product=nagioscore

SteveJ
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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 Permissions Error ?

2013-01-14 Thread Martin Hugo
Hi Everyone,

I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a problem 
with a couple of plugins that I think is related to a permissions issue.

I installed from source as root (sudo su).

I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H ipaddress -C 
communitystring -i F24 -b 100 -u m from the command line as root no problem, 
however the web interface shows critical (nul).

If I try to run the same command logged in as any other user, I get

Can't locate Net/DNS.pm in @INC (@INC contains: 
/root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/check_iftraffic4.pl 
line 247.
BEGIN failed--compilation aborted at 
./usr/local/nagios/libexec/check_iftraffic4.pl line 247.

Net::DNS is installed.

Any thoughts?

--
Martin T. Hugo
Network Administrator
Hilliard City Schools
614-921-7102 (Ph)
614-921-7243 (Fax)

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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] Version Check Incorrect

2013-01-14 Thread Mike Guthrie

Should be fixed now, thanks!


On 1/14/2013 1:43 PM, Steve Jenkins wrote:

Just installed 3.4.4 and noticed this:

http://www.nagios.org/checkforupdates/?version=3.4.4product=nagioscore

SteveJ


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412


___
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



--


Mike Guthrie
Technical Team
___
Nagios Enterprises, LLC
Email:  mguth...@nagios.com
Web:www.nagios.com

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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] Version Check Incorrect

2013-01-14 Thread Steve Jenkins
On Mon, Jan 14, 2013 at 12:09 PM, Mike Guthrie mguth...@nagios.com wrote:

  Should be fixed now, thanks!


No prob! Confirmed that it's fixed there, but on my Nagios install home
page I still get:

Nagios® Core™
Version 3.4.4
January 12, 2013
Check for 
updateshttp://www.nagios.org/checkforupdates/?version=3.4.4product=nagioscore
A new version of Nagios Core is available!
Visit nagios.org http://www.nagios.org/download/ to download Nagios 3.4.3.
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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 Permissions Error ?

2013-01-14 Thread Sunil Sankar
Please install
apt-get install libnet-dns-perl

On Tue, Jan 15, 2013 at 2:35 AM, Sunil Sankar su...@sunil.cc wrote:

 This is a due to missing cpan module

 On Tue, Jan 15, 2013 at 1:21 AM, Martin Hugo martin_h...@hboe.org wrote:

  Hi Everyone,

 ** **

 I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a
 problem with a couple of plugins that I think is related to a permissions
 issue.

 ** **

 I installed from source as root (sudo su).

 ** **

 I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H ipaddress
 -C communitystring -i F24 -b 100 -u m from the command line as root no
 problem, however the web interface shows critical (nul).

 ** **

 If I try to run the same command logged in as any other user, I get 

 ** **

 Can't locate Net/DNS.pm in @INC (@INC contains:
 /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5
 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
 /usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/
 check_iftraffic4.pl line 247.

 BEGIN failed--compilation aborted at ./usr/local/nagios/libexec/
 check_iftraffic4.pl line 247.

 ** **

 Net::DNS is installed.

 ** **

 Any thoughts?

 ** **

 -- 

 Martin T. Hugo

 Network Administrator

 Hilliard City Schools

 614-921-7102 (Ph)

 614-921-7243 (Fax)

 ** **


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 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




 --
 Regards
 Sunil Sankar




-- 
Regards
Sunil Sankar
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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 Permissions Error ?

2013-01-14 Thread Sunil Sankar
This is a due to missing cpan module

On Tue, Jan 15, 2013 at 1:21 AM, Martin Hugo martin_h...@hboe.org wrote:

  Hi Everyone,

 ** **

 I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a
 problem with a couple of plugins that I think is related to a permissions
 issue.

 ** **

 I installed from source as root (sudo su).

 ** **

 I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H ipaddress
 -C communitystring -i F24 -b 100 -u m from the command line as root no
 problem, however the web interface shows critical (nul).

 ** **

 If I try to run the same command logged in as any other user, I get 

 ** **

 Can't locate Net/DNS.pm in @INC (@INC contains:
 /root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5
 /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
 /usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/
 check_iftraffic4.pl line 247.

 BEGIN failed--compilation aborted at ./usr/local/nagios/libexec/
 check_iftraffic4.pl line 247.

 ** **

 Net::DNS is installed.

 ** **

 Any thoughts?

 ** **

 -- 

 Martin T. Hugo

 Network Administrator

 Hilliard City Schools

 614-921-7102 (Ph)

 614-921-7243 (Fax)

 ** **


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 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




-- 
Regards
Sunil Sankar
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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] Version Check Incorrect

2013-01-14 Thread Mike Guthrie

On 1/14/2013 3:09 PM, Steve Jenkins wrote:
On Mon, Jan 14, 2013 at 12:09 PM, Mike Guthrie mguth...@nagios.com 
mailto:mguth...@nagios.com wrote:


Should be fixed now, thanks!


No prob! Confirmed that it's fixed there, but on my Nagios install 
home page I still get:
If I remember correctly, the update check happens upon a restart of the 
monitoring engine, and if the update check hasn't happened in the last 
day, so it may take a day or so for it to update in the UI.





Nagios^®  Core^^(TM)
Version 3.4.4
January 12, 2013
Check for updates 
http://www.nagios.org/checkforupdates/?version=3.4.4product=nagioscore

A new version of Nagios Core is available!
Visit nagios.org http://www.nagios.org/download/ to download Nagios 
3.4.3.



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412


___
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



--


Mike Guthrie
Technical Team
___
Nagios Enterprises, LLC
Email:  mguth...@nagios.com
Web:www.nagios.com

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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 Permissions Error ?

2013-01-14 Thread Martin Hugo
Thanks very much, that was it.

--
Martin T. Hugo
Network Administrator
Hilliard City Schools
614-921-7102 (Ph)
614-921-7243 (Fax)



From: Sunil Sankar [mailto:su...@sunil.cc]
Sent: Monday, January 14, 2013 4:17 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Nagios Permissions Error ?

Please install
apt-get install libnet-dns-perl
On Tue, Jan 15, 2013 at 2:35 AM, Sunil Sankar 
su...@sunil.ccmailto:su...@sunil.cc wrote:
This is a due to missing cpan module
On Tue, Jan 15, 2013 at 1:21 AM, Martin Hugo 
martin_h...@hboe.orgmailto:martin_h...@hboe.org wrote:
Hi Everyone,

I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a problem 
with a couple of plugins that I think is related to a permissions issue.

I installed from source as root (sudo su).

I can run 
./usr/local/nagios/libexec/check_iftraffic4.plhttp://check_iftraffic4.pl -H 
ipaddress -C communitystring -i F24 -b 100 -u m from the command line as 
root no problem, however the web interface shows critical (nul).

If I try to run the same command logged in as any other user, I get

Can't locate Net/DNS.pm in @INC (@INC contains: 
/root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at 
./usr/local/nagios/libexec/check_iftraffic4.plhttp://check_iftraffic4.pl line 
247.
BEGIN failed--compilation aborted at 
./usr/local/nagios/libexec/check_iftraffic4.plhttp://check_iftraffic4.pl line 
247.

Net::DNS is installed.

Any thoughts?

--
Martin T. Hugo
Network Administrator
Hilliard City Schools
614-921-7102 (Ph)
614-921-7243 (Fax)


--
Master Visual Studio, SharePoint, SQL, ASP.NEThttp://ASP.NET, C# 2012, HTML5, 
CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
___
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



--
Regards
Sunil Sankar



--
Regards
Sunil Sankar
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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 Permissions Error ?

2013-01-14 Thread lkennedy
Look at two things:

Where your perl modules are installed...  You have some installed in root' home 
dir and regular user won't be able to access them.

Does this module require root level permissions as some network socket related 
modules do?

Lee


- Original Message -
From: Martin Hugo [martin_h...@hboe.org]
Sent: 01/14/2013 07:51 PM GMT
To: 'Nagios Users List' nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Nagios Permissions Error ?



Hi Everyone,

I have recently rebuilt Nagios 3.4.3 on Ubuntu 12.04 and am having a problem 
with a couple of plugins that I think is related to a permissions issue.

I installed from source as root (sudo su).

I can run ./usr/local/nagios/libexec/check_iftraffic4.pl -H ipaddress -C 
communitystring -i F24 -b 100 -u m from the command line as root no problem, 
however the web interface shows critical (nul).

If I try to run the same command logged in as any other user, I get

Can't locate Net/DNS.pm in @INC (@INC contains: 
/root/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /root/perl5/lib/perl5 
/etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 
/usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at ./usr/local/nagios/libexec/check_iftraffic4.pl 
line 247.
BEGIN failed--compilation aborted at 
./usr/local/nagios/libexec/check_iftraffic4.pl line 247.

Net::DNS is installed.

Any thoughts?

--
Martin T. Hugo
Network Administrator
Hilliard City Schools
614-921-7102 (Ph)
614-921-7243 (Fax)

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412___
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] FW: Service Alert History - No history information was found for this service in this archived log file

2013-01-14 Thread Samuel Kidman
Hello

This is a repost, I would really just appreciate some hints to get me started 
with troubleshooting. Or if I should use NDOmod and log and report on the 
status history in a database?

Regards

From: Samuel Kidman [mailto:samuel.kid...@panres.com] 
Sent: Friday, 11 January 2013 10:52 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Service Alert History - No history information was 
found for this service in this archived log file

Hello

I am having an issue where Nagios is not finding alert history in the nagios 
log files.

eg. I have a service called cpu on host PR-GGM-CR-DC01.

prl@PR-PRO-CR-NAG02:/usr/local/nagios/var/archives$ grep 'PR-GGM-CR-DC01;cpu' 
nagios-01-11-2013-00.log
[1357747200] CURRENT SERVICE STATE: PR-GGM-CR-DC01;cpu;OK;HARD;1;VM_STAT OK - 
One minute average CPU usage is 4.94%
prl@PR-PRO-CR-NAG02:/usr/local/nagios/var/archives$ grep 'PR-GGM-CR-DC01;cpu' 
nagios-01-10-2013-00.log
[1357660800] CURRENT SERVICE STATE: PR-GGM-CR-DC01;cpu;OK;HARD;1;VM_STAT OK - 
One minute average CPU usage is 4.99%

Yet when I visit alert history for this service I get the No history 
information message.

Anyone know what is going on?

Regards, Sam

--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
___
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] Version Check Incorrect

2013-01-14 Thread Mark Elsen
Nagios version incorrect,

 Tx for your efforts -  yet the download menu for Nagios Core, advertises
3.4.4. as being 3.4.3;
- The ChangeLog file does not contain any
3.4.4. information

(ref : http://www.nagios.org/download/core/thanks?t=1358230874)

M.


On Mon, Jan 14, 2013 at 9:09 PM, Mike Guthrie mguth...@nagios.com wrote:

  Should be fixed now, thanks!



 On 1/14/2013 1:43 PM, Steve Jenkins wrote:

 Just installed 3.4.4 and noticed this:

  http://www.nagios.org/checkforupdates/?version=3.4.4product=nagioscore

  SteveJ


 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more 
 at:http://p.sf.net/sfu/learnmore_122412



 ___
 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



 --


 Mike Guthrie
 Technical Team
 ___
 Nagios Enterprises, LLC
 Email:  mguth...@nagios.com
 Web:www.nagios.com



 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. SALE $99.99 this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122412
 ___
 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

--
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512___
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