[Nagios-users] SMS Alerts, what do you use?

2011-02-17 Thread Mirza Dedic
Hi,

I currently have Nagios running on a Ubuntu 10.04 VM on our virtual 
infrastructure, what I would like to do is enable SMS notification for some of 
the more critical notifications. Just wondering what you guys use out there 
and how you have it setup? Anyone share their experience on getting something 
reliable to work?

Thanks.



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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] SMS Alerts, what do you use?

2011-02-17 Thread Mirza Dedic
I want to receive text version of some notifications in place (along with the 
standard email) for some of our systems; I already have the checks in place but 
what I want is them to be texted to me and not emailed. Sometimes emails get 
through the cracks, but I think SMS will work.

Also for a scenario where our email server does not work, say the service stops 
or the box becomes unresponsive this would be a 2nd way to get alerted 
regarding the issue.

That is the general idea of what I need SMS or an alternative way to get 
messages to my mobile device; and with the iPhone there is no custom email 
filters on messages (such as setting loud noise, etc. unless you jailbreak it 
and use cydia repo) but such control is there for texts.

-Original Message-
From: Jay Ashworth [mailto:j...@baylink.com]
Sent: February/17/2011 8:28 PM
To: Nagios Users List
Subject: Re: [Nagios-users] SMS Alerts, what do you use?

- Original Message -
 From: Mirza Dedic mi...@oppy.com

 I currently have Nagios running on a Ubuntu 10.04 VM on our virtual
 infrastructure, what I would like to do is enable SMS notification for
 some of the more critical notifications. Just wondering what you
 guys use out there and how you have it setup? Anyone share their
 experience on getting something reliable to work?

You will get different responses on this...

but using SMS for something that's *more* critical may not be your best 
approach, seeing as how SMS is a non-reliable transport with no way to tell (in 
most cases) whether the destination addressee received the message and (in some 
cases) even whether the network did.

It depends on what your definition of is, er, I mean critical is. :-)

Cheers,
-- jra

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
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 email notification, nothing for aditional information section.

2011-02-15 Thread Mirza Dedic
Hello,

I recently re-installed my Nagios environment and recently found that using my 
old configuration that used to work, is not working now; more specifically the 
email notification parsing seems to not send information regarding additional 
information part.

Example email notification message that I receive:


* Nagios *



Notification Type: PROBLEM



Service: DB Log Watch oppy1

Host: van-oppy

Address: 172.16.4.14

State: CRITICAL



Date/Time: Tue Feb 15 11:06:26 PST 2011



Additional Info:

There is nothing in for additional information, below is the email notification 
command being used:

define command{
command_name notify-host-by-email
command_line /usr/bin/printf %b * Nagios *\n\nNotification 
Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: 
$HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n | 
/usr/bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ 
** $CONTACTEMAIL$
}

define command{
command_name notify-service-by-email
command_line /usr/bin/printf %b * Nagios *\n\nNotification 
Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional 
Info:\n\n$SERVICEOUTPUT$ | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service 
Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$

Any help on troubleshooting this?

Thank you!



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.
--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb___
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 email messages in an Exchange environment?

2010-10-15 Thread Mirza Dedic
Hi,

I have a request where we want to monitor a mailbox, our environment is 
Exchange 2007 SP1, the end clients use Outlook 2007/2010.

Basically we have email that comes in which are simple notification messages 
from a server, but because it generates a lot of notification messages it is 
not idea to check every single one of them for errors, so we would like to scan 
them and filter on different error messages.

I could do this using consol.de's check_log plug-in, but for it to work I would 
need to be able to somehow export the messages in csv or txt to a directory 
from which it can scan. Anyone done something like this, using Nagios care to 
share your method?

Thank you.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.


--
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
___
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] question about check_by_ssh

2010-09-17 Thread Mirza Dedic
My nagiox box uses check_by_ssh to run a remote check_log script on a box, I 
have a tricky situation where I need to generate the log right before 
check_log is invoked.

This is the setup I have done:

On my local Nagios box, created a dummy shell script to invoke check_by_ssh 
twice, one to run the remote script to generate the log, and another to run 
check_log to check that log.

In my Nagios check commands, I call the dummy script, it first generates the 
log, waits 10 seconds and runs the check_log, both return:

nag...@van-nagios:/usr/local/nagios/libexec$ ./check_test
OK - check_by_ssh: Remote command '/home/nagios/plugins/check_appsrv' returned 
status 0
OK - no errors or warnings|app_production_lines=3 app_production_warnings=0 
app_production_criticals=0 app_production_unknowns=0

Will there be issues with Nagios when a check script returns two status? First 
check will almost always return an OK, it's the 2nd run that I care about.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev___
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] Help hacking a script to montior my AppServers?

2010-08-30 Thread Mirza Dedic
I am trying to monitor our OpenEdge Database Application Servers on our AIX box 
with Nagios, and to send an alert based on a tricky situation, described 
below:

The tool that I run locally on the AIX host to check our servers outputs the 
following:

#asbman -name production -query
PID   State Port  nRqnRcvd  nSent  Started  Last Change
2175264 AVAILABLE 15614 006968 007643 008661 Aug 29, 2010 19:03 Aug 30, 2010 
11:16
922080 AVAILABLE 15616 002675 002970 003465 Aug 30, 2010 09:22 Aug 30, 2010 
11:16
483832 AVAILABLE 15607 001740 001939 002204 Aug 30, 2010 10:02 Aug 30, 2010 
11:16
2936902 AVAILABLE 15620 001753 001955 002236 Aug 30, 2010 10:02 Aug 30, 2010 
11:16
3658058 AVAILABLE 15623 001742 001921 002190 Aug 30, 2010 10:02 Aug 30, 2010 
11:16
3027394 AVAILABLE 15608 001297 001377 001493 Aug 30, 2010 10:21 Aug 30, 2010 
11:16
3965150 SENDING  15611 001290 001352 001465 Aug 30, 2010 10:21 Aug 30, 2010 
06:12
4186168 AVAILABLE 15615 001300 001379 001549 Aug 30, 2010 10:21 Aug 30, 2010 
11:16
2044322 AVAILABLE 15617 001298 001369 001558 Aug 30, 2010 10:21 Aug 30, 2010 
11:16

I would want Nagios to raise an alert if State = SENDING for more than 6 hours 
(Last Change)? Would this be possible?

Anyone have an idea of how I would do this?

I guess one way would be to make a shell script to output asbman -name 
production -query | grep SENDING  status.txt and have a check log type 
check read it and raise an error if stuff is found? But it does not exactly 
implement the Last Change date time idea, we will always have PIDs going from 
AVAILABLE to SENDING and back, but those that are stuck in SENDING for 6+ hours 
is of concern.

Any help on this is appreciated.


The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
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] Service Check Timed Out- Error

2010-08-27 Thread Mirza Dedic
Make sure that you have properly configured NSClient++ and that you can connect 
to It from the Nagios box?

Does your check work from the cmd  prompt?

From: ravishankar.gundlap...@wipro.com [mailto:ravishankar.gundlap...@wipro.com]
Sent: August/27/2010 3:06 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] Service Check Timed Out- Error

Hi,

I am using Nagios Version 3.0.6 on a Linux server to monitor the Windows 
servers with NSClient++ installed on them.

For one of the Windows server the SQL Database services are showing as ' 
Service Check Timed Out '

[cid:image001.png@01CB45CB.810531B0]

Please someone let me know how can I resolve this. What information can I get 
from this alert.

Thanks  Regards,
Ravi G



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

inline: image001.png--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
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] The output of $SERVICEOUTPUT$ macro is blank ?

2010-08-24 Thread Mirza Dedic
I recently upgraded my Ubuntu OS (8.04  10.04) and Nagios from 3.0 to 3.1.2, 
and recently I ran into an issue where the data for $SERVICEOUTPUT$ is never 
included in my email notification.

It is defined properly in the notification.cfg file as per below:

define command{
command_namenotify-service-by-email
command_line/usr/bin/printf %b * Nagios 
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: 
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: 
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ | /usr/bin/mail -s ** 
$NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ 
** $CONTACTEMAIL$
}

But in my email, it only has Additional Info: with nothing else.

How could I troubleshoot that $SERVICEOUTPUT$ is getting parsed properly and 
working? Maybe its something with my mail client?

Any help is appreciated.

Thanks.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
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] Email notification for service/host alerts issue ?

2010-08-19 Thread Mirza Dedic
Recently I upgraded my Nagios OS from Ubuntu 8.04 to 10.04, everything works as 
expected except my alerts are not bringing in the $HOSTOUTPUT$ data. 
Basically this is what I get in my notification alert:

** PROBLEM Service Alert: van-/service_SMS_SITE_COMPONENT_MANAGER is 
CRITICAL **


* Nagios *



Notification Type: PROBLEM



Service: service_SMS_SITE_COMPONENT_MANAGER

Host: van-

Address: 172.16.x.x

State: CRITICAL



Date/Time: Thu Aug 19 07:51:02 PDT 2010



Additional Info:



The additional info is missing, below are my notification commands, this used 
to work prior to upgrading.

define command{
command_namenotify-host-by-email
command_line/usr/bin/printf %b * Nagios 
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: 
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: 
$LONGDATETIME$\n | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Host Alert: 
$HOSTNAME$ is $HOSTSTATE$ ** $CONTACTEMAIL$
}

define command{
command_namenotify-service-by-email
command_line/usr/bin/printf %b * Nagios 
*\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: 
$HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: 
$LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$ | /usr/bin/mail -s ** 
$NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ 
** $CONTACTEMAIL$
}

Any idea why this could be happening?

Thanks.
_
Mirza Dedic | Senior Technical Analyst/DBA - IT | 
mi...@oppy.commailto:se...@oppy.com | (O) 604-461-6779 (C) 778.895.8950
P Please consider the environment before printing this email.


The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
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] Error with PNP4Nagios / RRDTools

2010-07-14 Thread Mirza Dedic
My RRD graphs were working fine, but for some reason I get this on one of my 
graphs:

ERROR: STDERR = *** attempt to put segment in horiz list twice

(red background with that error)

Is there a way to clear this and have the graph continue graphing? Thanks.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] Help with creating a pnp4nagios template

2010-06-29 Thread Mirza Dedic
Hi,

I was hoping someone out there can help me here, below is my perfdata output 
for checking disk space on remote Win32/64 servers that have NSClient++ 
installed.

The perfdata received is in the format of: 'C:'=35.62G;3.99;1.99;0;39.98;

The command used to query the C:\ is:

define command{
command_name check_nrpe_disk
command_line  $USER1$/check_nrpe -H $HOSTADDRESS$ -u -n -p 
12778 -t 30 -c CheckDriveSize -a  Drive=$ARG1$ ShowAll=long MinWarnFree=$ARG2$ 
MinCritFree=$ARG3$
}

For my MinWarnFree and MinCritFree, I define a % to warn/crit for minimum 
allowed space.

Can someone give me an example of a rrd template I would use for this so that I 
can build off it?

It would be greatly appreciated, thank you.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] Cannot get pnp4nagios graphs using NSClient++ check_nrpe ?

2010-06-28 Thread Mirza Dedic
Checking disk space using NSClient++ (NRPE) and check_nrpe (2.12), trying to 
get RRD graphs (pnp4nagios):

Configuration:

NSClient++ v.0.3.8.76 (2010-05-27 x64)
Check_nrpe 2.12
Nagios
Merlin 0.6.7-beta2sp1
Nagios 3.2.1
Ninja 1.0
PNP 0.4.14
RRDTool 1.2.19

Error log in perfdata.log:

2010-06-28 16:10:39 [16465] [1] process_perfdata.pl-0.4.14 starting in DEFAULT 
Mode
2010-06-28 16:10:39 [16465] [1] Found Performance Data for van-mail01 / DISK__F 
('F: %'=52%;5;3; 'F:'=194.62G;20;12;0;399.99;)
2010-06-28 16:10:39 [16465] [1] Invalid Perfdata detected
2010-06-28 16:10:39 [16465] [1] PNP exiting (runtime 0.00175s) ...

Perfdata has been enabled in nagios.cfg

process_performance_data=1
host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata
host_perfdata_file_mode=a
service_perfdata_file_mode=a

Also, my commands for perfdata:

define command {
  command_nameprocess-service-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
}

define command {
  command_nameprocess-host-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl 
-d HOSTPERFDATA
}

Finally, the command configuration for the service:

define command{
command_name check_nrpe_disk
command_line  $USER1$/check_nrpe -H $HOSTADDRESS$ -u -n -p 
X -t 30 -c CheckDriveSize -a ShowAll MinWarnFree=$ARG2$ MinCritFree=$ARG3$ 
Drive=$ARG1$
}

I recently switched from check_nt to check_nrpe, and I removed my .xml and .rrd 
files from the service checks that got switched from nt to nrpe.

Shouldn't the pnp4nagios use the default.php to create the perfdata output? I 
don't see how the performance data is invalid? I can confirm that the RRD 
graphs work for other services, such as ping.

Any help would be appreciated.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] [op5-users] Cannot get pnp4nagios graphs using NSClient++ check_nrpe ?

2010-06-28 Thread Mirza Dedic
Checking disk space using NSClient++ (NRPE) and check_nrpe (2.12), trying to 
get RRD graphs (pnp4nagios):

Configuration:

NSClient++ v.0.3.8.76 (2010-05-27 x64)
Check_nrpe 2.12
Nagios
Merlin 0.6.7-beta2sp1
Nagios 3.2.1
Ninja 1.0
PNP 0.4.14
RRDTool 1.2.19

Error log in perfdata.log:

2010-06-28 16:10:39 [16465] [1] process_perfdata.pl-0.4.14 starting in DEFAULT 
Mode
2010-06-28 16:10:39 [16465] [1] Found Performance Data for van-mail01 / DISK__F 
('F: %'=52%;5;3; 'F:'=194.62G;20;12;0;399.99;)
2010-06-28 16:10:39 [16465] [1] Invalid Perfdata detected
2010-06-28 16:10:39 [16465] [1] PNP exiting (runtime 0.00175s) ...

Perfdata has been enabled in nagios.cfg

process_performance_data=1
host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata
host_perfdata_file_mode=a
service_perfdata_file_mode=a

Also, my commands for perfdata:

define command {
  command_nameprocess-service-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
}

define command {
  command_nameprocess-host-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl 
-d HOSTPERFDATA
}

Finally, the command configuration for the service:

define command{
command_name check_nrpe_disk
command_line  $USER1$/check_nrpe -H $HOSTADDRESS$ -u -n -p 
X -t 30 -c CheckDriveSize -a ShowAll MinWarnFree=$ARG2$ MinCritFree=$ARG3$ 
Drive=$ARG1$
}

I recently switched from check_nt to check_nrpe, and I removed my .xml and .rrd 
files from the service checks that got switched from nt to nrpe.

Shouldn't the pnp4nagios use the default.php to create the perfdata output? I 
don't see how the performance data is invalid? I can confirm that the RRD 
graphs work for other services, such as ping.

Any help would be appreciated.

The Oppenheimer Group  CONFIDENTIAL



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
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] [op5-users] Cannot get pnp4nagios graphs using NSClient++ check_nrpe ?

2010-06-28 Thread Mirza Dedic
As far as I am aware, the perfdata is correct?

'F:'=194.62G;20;12;0;399.99;
||  | |  | | |
||--|-|--|-|-|- * label
 |--|-|--|-|-|- * current value
|-|--|-|-|- unit ( UOM = UNIT of Measurement )
  |--|-|-|- warning threshold
 |-|-|- critical threshold
   |-|- minimum value
 |- maximum value
From: Mirza Dedic
Sent: June/28/2010 5:37 PM
To: 'Nagios Users List'
Subject: RE: [op5-users] Cannot get pnp4nagios graphs using NSClient++  
check_nrpe ?

Checking disk space using NSClient++ (NRPE) and check_nrpe (2.12), trying to 
get RRD graphs (pnp4nagios):

Configuration:

NSClient++ v.0.3.8.76 (2010-05-27 x64)
Check_nrpe 2.12
Nagios
Merlin 0.6.7-beta2sp1
Nagios 3.2.1
Ninja 1.0
PNP 0.4.14
RRDTool 1.2.19

Error log in perfdata.log:

2010-06-28 16:10:39 [16465] [1] process_perfdata.pl-0.4.14 starting in DEFAULT 
Mode
2010-06-28 16:10:39 [16465] [1] Found Performance Data for van-mail01 / DISK__F 
('F: %'=52%;5;3; 'F:'=194.62G;20;12;0;399.99;)
2010-06-28 16:10:39 [16465] [1] Invalid Perfdata detected
2010-06-28 16:10:39 [16465] [1] PNP exiting (runtime 0.00175s) ...

Perfdata has been enabled in nagios.cfg

process_performance_data=1
host_perfdata_command=process-host-perfdata
service_perfdata_command=process-service-perfdata
host_perfdata_file_mode=a
service_perfdata_file_mode=a

Also, my commands for perfdata:

define command {
  command_nameprocess-service-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl
}

define command {
  command_nameprocess-host-perfdata
  command_line/usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl 
-d HOSTPERFDATA
}

Finally, the command configuration for the service:

define command{
command_name check_nrpe_disk
command_line  $USER1$/check_nrpe -H $HOSTADDRESS$ -u -n -p 
X -t 30 -c CheckDriveSize -a ShowAll MinWarnFree=$ARG2$ MinCritFree=$ARG3$ 
Drive=$ARG1$
}

I recently switched from check_nt to check_nrpe, and I removed my .xml and .rrd 
files from the service checks that got switched from nt to nrpe.

Shouldn't the pnp4nagios use the default.php to create the perfdata output? I 
don't see how the performance data is invalid? I can confirm that the RRD 
graphs work for other services, such as ping.

Any help would be appreciated.

The Oppenheimer Group  CONFIDENTIAL



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] NSCA + NSClient

2010-06-24 Thread Mirza Dedic
Hi,

I have NSCA configured on my Nagios host, and enabled the necessary plugins on 
NSClient++ to support NSCA, configure XINETD appropriately inside my NSClient 
config I have:

[NSCA Commands]
my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4
my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page

This is just for testing, I also have in my nagios.cfg:

accept_passive_service_checks=1
accept_passive_host_checks=1

In my NSClient Log I can see:

2010-06-24 12:48:44: debug:modules\NSCAAgent\NSCAThread.cpp:205: Executing 
(from NSCA): my_cpu_check
2010-06-24 12:48:44: debug:NSClient++.cpp:1106: Injecting: checkCPU: warn=80, 
crit=90, time=20m, time=10s, time=4
2010-06-24 12:48:44: debug:NSClient++.cpp:1142: Injected Result: OK 'OK CPU 
Load ok.'
2010-06-24 12:48:44: debug:NSClient++.cpp:1143: Injected Performance Result: 
''20m'=0%;80;90; '10s'=6%;80;90; '4'=0%;80;90; '
2010-06-24 12:48:44: debug:modules\NSCAAgent\NSCAThread.cpp:205: Executing 
(from NSCA): my_mem_check
2010-06-24 12:48:44: debug:NSClient++.cpp:1106: Injecting: checkMem: 
MaxWarn=80%, MaxCrit=90%, ShowAll, type=page
2010-06-24 12:48:44: debug:NSClient++.cpp:1142: Injected Result: OK 'OK: page 
file: 8.82G'
2010-06-24 12:48:44: debug:NSClient++.cpp:1143: Injected Performance Result: 
''page file %'=45%;80;90; 'page file'=8.81G;15.6;17.59;0;19.5; '

What I want to know is, until now I have been using active checks, and for some 
servers I want to use passive_checks as well, so that the server updates Nagios.

If I have active checks defined within my Nagios installation such as:

define service{
use generic-service
host_name   van-mail01
service_description D - Disk Space
check_command check_nt_disk!D!98!99
}

Can I modify this to also read from the passive_check, and what would my [NSCA 
Commands] definition look like? Does the first part have to reflect the service 
description?

How does the information coming from the NSCA Client get mapped to my 
configured checks?

Thank you.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NSCA + NSClient

2010-06-24 Thread Mirza Dedic
Thanks, after reading the 3.x on passive_checks I get how to configure the 
service.

Now, what would be the benefit of having active/passive checks enabled for a 
service? Say, it takes 5 minutes for Nagios to process my 80 hosts/600 
services, if the service that I am looking to enable passive checks on as well 
is checked near the end of the 5 minute mark, wouldn't it get an update much 
sooner having passive checks enabled?

That said, NSClient sending the information to Nagios, logically this sounds 
like it should work like that, or based off:

check_result_reaper_frequency=5
max_check_result_reaper_time=30

So within a max of 30 seconds, I should be able to see if that service is 
UP/DOWN in the Nagios (or the op5 Ninja) interface?

Are passive checks spread out like active checks on say, when Nagios starts?

Basically, I want to have the alerting tight as possible, if I login to my IIS 
server and stop the IISADMIN service, I want to be alerted within those 0-30 
seconds based on the reaper frequency.

The box that I put Nagios on has enough CPU/RAM and fast enough subsystem I/O 
to build this type of configuration, but I want to make sure the logic above is 
correct.

Thanks.

From: Ryan C Ash [mailto:ryan.c.ash.l...@statefarm.com]
Sent: June/24/2010 1:08 PM
To: Nagios-Users
Subject: Re: [Nagios-users] NSCA + NSClient

The short answer is yes,  the service description you configure on the client 
nsca message needs to match that of the service description on your nagios 
server.   If you want to migrate to a passive check you need to disable active 
checks and enable passive ones.  You can leave the check command in place and 
incorporate freshness checks to force an active check if the passive fail.  For 
me I don't want to do active if passive fail.  I would rather cut a ticket 
service stale.The nagios doc clearly shows how to configure passive 
service checks so give it a read.

So you need my_cpu_check to be a service description so nagios knows what to 
match that incoming nsca message to.

Ash

From: Mirza Dedic [mailto:mi...@oppy.com]
Sent: Thursday, June 24, 2010 2:56 PM
To: 'Nagios-Users'
Subject: [Nagios-users] NSCA + NSClient

Hi,

I have NSCA configured on my Nagios host, and enabled the necessary plugins on 
NSClient++ to support NSCA, configure XINETD appropriately inside my NSClient 
config I have:

[NSCA Commands]
my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4
my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page

This is just for testing, I also have in my nagios.cfg:

accept_passive_service_checks=1
accept_passive_host_checks=1

In my NSClient Log I can see:

2010-06-24 12:48:44: debug:modules\NSCAAgent\NSCAThread.cpp:205: Executing 
(from NSCA): my_cpu_check
2010-06-24 12:48:44: debug:NSClient++.cpp:1106: Injecting: checkCPU: warn=80, 
crit=90, time=20m, time=10s, time=4
2010-06-24 12:48:44: debug:NSClient++.cpp:1142: Injected Result: OK 'OK CPU 
Load ok.'
2010-06-24 12:48:44: debug:NSClient++.cpp:1143: Injected Performance Result: 
''20m'=0%;80;90; '10s'=6%;80;90; '4'=0%;80;90; '
2010-06-24 12:48:44: debug:modules\NSCAAgent\NSCAThread.cpp:205: Executing 
(from NSCA): my_mem_check
2010-06-24 12:48:44: debug:NSClient++.cpp:1106: Injecting: checkMem: 
MaxWarn=80%, MaxCrit=90%, ShowAll, type=page
2010-06-24 12:48:44: debug:NSClient++.cpp:1142: Injected Result: OK 'OK: page 
file: 8.82G'
2010-06-24 12:48:44: debug:NSClient++.cpp:1143: Injected Performance Result: 
''page file %'=45%;80;90; 'page file'=8.81G;15.6;17.59;0;19.5; '

What I want to know is, until now I have been using active checks, and for some 
servers I want to use passive_checks as well, so that the server updates Nagios.

If I have active checks defined within my Nagios installation such as:

define service{
use generic-service
host_name   van-mail01
service_description D - Disk Space
check_command check_nt_disk!D!98!99
}

Can I modify this to also read from the passive_check, and what would my [NSCA 
Commands] definition look like? Does the first part have to reflect the service 
description?

How does the information coming from the NSCA Client get mapped to my 
configured checks?

Thank you.

The Oppenheimer Group  CONFIDENTIAL



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.



The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited

[Nagios-users] check_by_ssh plugin; how to ignore pulgin timeout being critical?

2010-05-26 Thread Mirza Dedic
Hi List,



I have Nagios currently using check_by_ssh (check_by_ssh v2002 (nagios-plugins 
1.4.13)) to check some of my remote servers, it calls a log script on the 
remote server and the log script returns a warning if the log files matches the 
criteria.



Every now and then, the check_by_ssh script gets timed out, and returns the 
message below.



Is there a way to suppress this at the Nagios box, so that Plugin Timed Out 
messages do not get emailed as Critical?



Anyone know? Below is my command definition..



define command{

command_name van-oppy-pro_data450

command_line $USER1$/check_by_ssh -H someserver -p 22 -i 
/home/nagios/.ssh/id_dsa -t 10 -C /home/nagios/plugins/check_logfiles -t 30 -f 
/home/nagios/log_conf/usr1_data450.lg

}



Nagios alert returned when the box being queried is very busy (this does not 
happen often, but creates a unwanted false positive warning):



CRITICAL - Plugin timed out while executing system call

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--

___
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] aix 5.3 plugin to monitor for long running processes ?

2010-05-20 Thread Mirza Dedic
Is there such a plugin to monitor aix topas utility (topas -P) and report back 
processes that have a long running TIME value? Better yet, TIME combined with 
high CPU value?

The output of topas -P on a AIX box looks like this:

USERPIDPPID PRI NI   RES   RES SPACETIME CPU%  I/O  OTH COMMAND
mirde   4079860 3244406 120 20  1668  1865  1668  206:26 25.600 _progres
dougr   4079860 3244406 120 20  1668  1865  16686:26 20.600 _progres
prosvra 3412254 4071460 114 20  1453  1561  2033   16:09 18.700 _proapsv
braro   1654968   1  66 20  1388  1865  1793   57:25  1.500 _progres
batch   2613370   1  69 22  1689  1865  18797:05  1.22 1220 _progres
soual   1826826  286914  61 20  1806  1865  18060:16  0.80 3376 _progres
braro   1601808   1  61 20  1957  1865  2410   82:17  0.706 _progres
allbr   1274340 3399852  61 20  2061  1865  20610:01  0.50 2312 _progres
kelca   3407948 1413528  62 20  2207  1865  22070:08  0.5   42  936 _progres
allbr   2543698 1274340  62 20   20861   2080:00  0.40 3320 ksh
mikko   1032604 2073082  60 20  2522  1865  25220:15  0.42 1255 _progres
larha   3809412 2060626  61 20  2159  1865  21590:02  0.4   17  115 _progres
kirpa   1605690 3838314  60 20  2558  1865  25580:32  0.42   13 _progres
braro   2732514   1  60 20  1632  1865  2149   13:05  0.300 _progres
braro   1909064   1  60 20  1134  1865  17606:20  0.300 _progres
root2719758  745934  58 41  2431   128  4619   24:25  0.301 topas
judre549372 1503500  61 20  1798  1865  17980:00  0.21  198 _progres
prosvr  1814718   1  82 20  637426 159957:21  0.211 java
dorod   2904242 2187728  60 20  2495  1865  24956:53  0.21  930 _progres
linso   3760208 4395326  60 20  1509  1865  15090:00  0.102 _progres
katpa   3494134 4280722  60 20  2307  1865  23070:03  0.100 _progre

What I want to capture is, something with 120+ (for TIME) and 20%+ (CPU).

Have Nagios issue an alert of such an occurance.

My Nagios box already monitors our AIX box remotely, using check_by_ssh to scan 
for errors in certain log files (using Consol's plugins); I would like to 
expand on this with the above.

Any help is appreciated.

Thanks.


The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--

___
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 / Host Dependency Check - logic

2010-04-01 Thread Mirza Dedic
Hi,

I just want to make sure I understand the logic here correctly before 
implementing it; basically my goal here is to minimize the amount of 
notifications that come through.

Right now, as an example I have in my definitions:

My host cfg:

define host{
use windows-server
host_name   van-mail01
alias   van-mail01
address 172.16.4.10
}

define service{
use generic-service
host_name   van-mail01
service_description Ping
check_command   check_ping!250.0,20%!500.0,20%
}

Then, many services configured for that box that check ports, service states, 
processes, disk space, memory, CPU., the standard stuff..

define service{
use generic-service
host_name   van-mail01
service_description Uptime
check_command   check_nt_up
process_perf_data   0
}

define service{
use generic-service
host_name   van-mail01
service_description C - Disk Space
check_command   check_nt_disk!C!95!98
}

define service{
use generic-service
host_name   van-mail01
service_description D - Disk Space
check_command   check_nt_disk!D!95!98
}

Well, if I can't ping Host A from my Nagios box, then the host is probably down 
or the network on which Host A is on is down, so I want to suppress 
notification for all the services on that host, and just receive one notice 
that host a cannot be pinged.

Is this the correct method to accomplish this?

define servicedependency{
dependent_host_name van-mail01
dependent_service_description   Ping
host_name   host_name
hostgroup_name  van-mail01
service_description Uptime, C - Disk Space, D - 
Disk Space
inherits_parent [0/1]   
# what should this be?
execution_failure_criteria  [o,w,u,c,p,n]   
# ??
notification_failure_criteria   [o,w,u,c,p,n]   
# ??
}

I want to only receive a Warning for van-mail01's Ping and suppress everything 
else since its going to be unreachable/unknown/critical/down if I can't ping 
the service.

Please let me know, thank you.
The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] Icinga fork.. and the many well established open source projects..

2010-03-31 Thread Mirza Dedic
So first time I hear about the fork, but just something that pounders my mind..

Why reinvent the wheel of a UI when there are projects out there focusing on 
this? Op5 Ninja is super fast and great, wouldn't it be a better use of 
development time if you integrate Icinga with Ninja and Merlin as the DB Broker 
and build from that?

That way, the community gets new everything; a new Nagios fork, new UI and a DB 
broker; which would all be rapidly developed by the community.

If you wanted to expand it, you can integrate PNP4Nagios and NaCoMa as the 
configuration, hell, this sounds better than what some are charging a fortune 
for (hyperic-hq, etc.).

I know this is a long shot, but.. really?
The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
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] How to update Merlin 0.6.4p2 and Ninja 1.x ?

2010-03-05 Thread Mirza Dedic
I have Merlin, Ninja, and NagVis installed.. Wanting to update the products to 
their latest version, does anyone out there have a tutorial on doing so?

Ideally, do not want to lose ½ a year of nagvis graphs and trends.

Thanks.

The Oppenheimer Group  CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information. If you have received it in 
error, please notify the sender immediately and delete the original. Any other 
use of the email by you is prohibited.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
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] Configuring Serce Dependencies in Nagios 3.1.2

2009-10-27 Thread Mirza Dedic
Hello,

I have a Nagios setup and I am monitoring LAN/WAN servers/services including 
network devices, smb shares, squid service status, server pings, and our frame 
relay.

Now if my frame relay goes down between the two offices, obviously my Nagios 
will not be able to check the server and smb/squid services, now I get a 
warning message that it cannot reach the smb/squid/server/network, I want to 
just get a warning that it cannot reach the network and the rest suppressed.

I understand this can be done using service dependency, but I have also read 
that the way Nagios checks stuff is a little wacky, as in:

What if it checks the ping of a server before the network? It will report the 
ping is critical, then once the network is queued to be checked, it will report 
the network is down?

Which would kind of defeat the logic of a dependency check, anyone have any 
feedback as if this is still the case?

I remember reading it on the forum, which is why I did not go through with it 
when I initially configured it all.

But I am also trying to avoid 20 emails for 1 host that is down.

Any suggestions or ideas?

Thanks!

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] Using Nagios to monitor Exchange 2007 Queues, etc.. ??

2009-10-05 Thread Mirza Dedic
Hi Kevin,

I have downloaded your TNT plugins 1.2.4-x64 for my x64 Win2003 R2, however 
when I try to run something like check_exchange from the command prompt to 
see any output I get...

C:\NSClient\tnt_plugins_1.2.4-x64check_exchange.exe
The system cannot execute the specified program.

Any idea why this is happening?

Thanks.

-Original Message-
From: Kevin Keane [mailto:subscript...@kkeane.com]
Sent: October/03/2009 5:12 PM
Cc: 'nagios-users@lists.sourceforge.net'
Subject: Re: [Nagios-users] Using Nagios to monitor Exchange 2007 Queues, etc.. 
??

Check out my TNTMonitoringPlugin project on Sourceforge. There is a
plugin specifically to monitor Exchange. It handles both Exchange 2003
and Exchange 2007. It does monitor queue lengths as well as a few other
factors, but the focus is not really so much on load. Queue length
primarily is an indicator of network problems. A long send queue, in
particular, tells me that the Internet connection is down, or something
along those lines.

If you look at the source code for the plugin, you can also see the WMI
query used.

Mirza Dedic wrote:
 I cannot seem to find any solid information with Google.com on how to monitor 
 my Exchange 2007 server, I am interested in knowing the send/receive queues, 
 mainly to know the load at any certain time...

 On the box, I have NSClient++ installed (0.3.7) and I am already monitoring 
 windows services, disk/memory/cpu; but I would like to have nagios look under 
 the roof of the exchange server, and get me some #s for queue lengths.

 I guess this would be accomplished by WMI? I have not used WMI with 
 NSClient++ before, does anyone have this setup in their environment for 
 Exchange (or even IIS/ISA)?

 Please give some examples.

 Thank you..

--
Kevin Keane
Owner
The NetTech
Find the Uncommon: Expert Solutions for a Network You Never Have to
Think About

Office: 866-642-7116
http://www.4nettech.com

This e-mail and attachments, if any, may contain confidential and/or
proprietary information. Please be advised that the unauthorized use or
disclosure of the information is strictly prohibited. The information
herein is intended only for use by the intended recipient(s) named
above. If you have received this transmission in error, please notify
the sender immediately and permanently delete the e-mail and any copies,
printouts or attachments thereof.

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
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

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
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] Using Nagios to monitor Exchange 2007 Queues, etc.. ??

2009-10-02 Thread Mirza Dedic
I cannot seem to find any solid information with Google.com on how to monitor 
my Exchange 2007 server, I am interested in knowing the send/receive queues, 
mainly to know the load at any certain time...

On the box, I have NSClient++ installed (0.3.7) and I am already monitoring 
windows services, disk/memory/cpu; but I would like to have nagios look under 
the roof of the exchange server, and get me some #s for queue lengths.

I guess this would be accomplished by WMI? I have not used WMI with NSClient++ 
before, does anyone have this setup in their environment for Exchange (or even 
IIS/ISA)?

Please give some examples.

Thank you..

--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9#45;12, 2009. Register now#33;
http://p.sf.net/sfu/devconf
___
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] Host Check Dependency..

2009-08-06 Thread Mirza Dedic
Hello,

I plan to use Host Check Dependency on my services... can someone please 
confirm that the below will do the following scenario: If Ping fails to the 
host machine (van-sql01) that is being monitored, Nagios will suppress the 
services listed in the dependent_service_description portion of the 
configuration...

define servicedependency{
host_name   van-sql01
service_description Ping
dependent_host_name van-sql01
dependent_service_description   NSClient Version, Uptime, C - Disk 
Space, D - Disk Space, CPU Over 25min, Memory
execution_failure_criteria  w,u,c
notification_failure_criteria   w,u,c
}

Will this setup achieve that?

What if Nagios does not check PING first? Or will the setup above force for a 
ping check initially before checking these services? (If ping is still pending, 
will it wait until It gets the status of PING before checking these services 
and suppressing them incase PING has failed??)

Thanks.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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] Performance Counters Outputs

2009-07-30 Thread Mirza Dedic
Hello list,

I am having an issue trying to run...

./check_nt -H van-sql01 -p * -s * -v COUNTER -l 
\\SQLServer:Databases(DWH)\Log File(s) Size (KB),Log file for DWH is: %.2f 
Kb

I get:

Log file for DWH is: 143352.00 Kb | 'Log file for DWH is: %.2f 
Kb'=143352.00%;0.00;0.00;

While  143352KB would be hard for someone to determine, is there a way to get 
it to show MB?

I assume I would probably need to wrap the script into something that would 
output in MB, but I am not good with programming; anyone done anything like 
this before want to shed some light?

Thanks.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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 Check Dependency

2009-07-30 Thread Mirza Dedic
Hello,

I am checking my nagios configuration and wanting to implement check 
dependency, so that I can silence some of the many alerts we get. Could someone 
help me better understand the service dependency check method..

My service dependency below.. I want all the services on VAN-SQL01 to depend on 
the Ping check, if PING fails, I do not want to know about any of the other 
services because they would obviously fail too if the host is down. Based on 
the configuration below, will I be able to achieve this?

Below, it should suspend any Warning, Unknown, Critical messages from the 
dependant_service_descrption list, if Ping fails on van-sql01?

Can someone please confirm this; any suggestions welcome.

Thanks.

define servicedependency{
host_name   van-sql01
service_description Ping
dependent_host_name van-sql01
dependent_service_description   NSClient Version, Uptime, C - Disk 
Space, D - Disk Space, CPU Over 25min, Memory, CA ArcServe, Diskeeper, 
Microsoft IIS, SQL01 - Services, SQL01 - Processes, SQL01 Port TCP Check, SQL01 
SQL User Connections, SQL01 Deadlocks per Sec, SQL01 Log Hit Ratio, DB Size: 
asdb, DB Log: asdb, DB Online: asdb, DB Size: BEDB, DB Log: BEDB, DB Online: 
BEDB, DB Size: BESMgmt, DB Log: BESMgmt, DB Online: BESMgmt, DB Size: BOE11, DB 
Log: BOE11, DB Online: BOE11, DB Size: CHAIN_STORE_GUIDE, DB Log: 
CHAIN_STORE_GUIDE, DB Online: CHAIN_STORE_GUIDE, DB Size: ePO4_VAN-MONITOR, DB 
Log: ePO4_VAN-MONITOR, DB Online: ePO4_VAN-MONITOR, DB Size: FRESHLOOK_DW, DB 
Log: FRESHLOOK_DW, DB Online: FRESHLOOK_DW, DB Size: OPPY_AD_TRACKING, DB Log: 
OPPY_AD_TRACKING, DB Online: OPPY_AD_TRACKING, DB Size: 
SharePoint_AdminContent, DB Log: SharePoint_AdminContent, DB Online: 
SharePoint_AdminContent, DB Size: SMS_o01, DB Log: SMS_o01, DB Online: SMS_o01, 
DB Size: Sp-OPPY-SharedServices_Search_DB, DB Log: 
Sp-OPPY-SharedServices_Search_DB, DB Online: Sp-OPPY-SharedServices_Search_DB, 
DB Size: SP-OPPY-SharePoint_Config, DB Log: SP-OPPY-SharePoint_Config, DB 
Online: SP-OPPY-SharePoint_Config, DB Size: SP-OPPY-WSS_Content, DB Log: 
SP-OPPY-WSS_Content, DB Online: SP-OPPY-WSS_Content, DB Size: 
SP-OPPY-WSS_Search_VAN-SHAREPOINT, DB Log: SP-OPPY-WSS_Search_VAN-SHAREPOINT, 
DB Online: SP-OPPY-WSS_Search_VAN-SHAREPOINT, DB Size: SSO, DB Log: SSO, DB 
Online: SSO, DB Size: Surround SCM, DB Log: Surround SCM, DB Online: Surround 
SCM, DB Size: SUSDB, DB Log: SUSDB, DB Online: SUSDB, DB Size: 
WSS_Content_mysite.oppy.com, DB Log: WSS_Content_mysite.oppy.com, DB Online: 
WSS_Content_mysite.oppy.com, DB Size: WSS_search.oppy.com_Content, DB Log: 
WSS_search.oppy.com_Content, DB Online: WSS_search.oppy.com_Content, DB Size: 
WSS_sharepoint.oppy.com_Content, DB Log: WSS_sharepoint.oppy.com_Content, DB 
Online: WSS_sharepoint.oppy.com_Content, DB Size: DB: OPPY_CAT_ANALYSIS_DW, DB 
Log: DB: OPPY_CAT_ANALYSIS_DW, DB Online: DB: OPPY_CAT_ANALYSIS_DW
execution_failure_criteria  w,u,c
notification_failure_criteria   w,u,c
}


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
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 result from check_mssql.pl returns null from nagios, but OK from shell ??

2009-07-29 Thread Mirza Dedic
I am trying to use the check plug-in:



Check_mssql.pl



If I run it from the shell, using ./check_mssql.pl using my parameters, 
everything works OK and the DBs report Online.



When I run this in Nagios, it reports null for all of my checks using 
check_mssql.pl



I checked my nagios.cfg and I have removed any illegal object names and macros, 
as well disabled to use embedded Nagios Pearl; still I have this issue.



Can anyone help me or shed some light as to why it does not work?



Thank you.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] NSClient++ WMI Counters Check Commands ??

2009-07-29 Thread Mirza Dedic
Hello,

I am very inexperienced with using NSClient++ to query WMI Counters, but I want 
to tap into the resource as it has much information...

Does anyone have WMI Counter Check CMDs for any of the following:

SQL Server 2005

ISA 2003

OS Communicator

Blackberry BES

This would be greatly appreciated...

I have found a few good sources online, but what better than to ask the Nagios 
list itself :)

Even better.. anyone able to shed some light on how to write WMI Counter check 
CMDs for NSClient++?

Below is an example of a command I am using that I have found..

command_line $USER1$/check_nt -H $HOSTADDRESS$ -p SOMEPORT -s PWD -v COUNTER -l 
\SQLServer:General Statistics\User Connections,User Connections %.2f -w 
$ARG1$ -c $ARG2$

How does one see what other counters there are in SQLServer:General Statistics??

Thanks.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
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] Ubuntu 9.x and Nagios 3.1.2 - Error declared with atribute warn_unused_result

2009-07-22 Thread Mirza Dedic
Hello,

When I try to compile Nagios on my new box I keep getting a lot of:

utils.c:4475: warning: ignoring return value of âasprintfâ, declared with 
attribute warn_unused_result
utils.c:3352: warning: ignoring return value of âwriteâ, declared with 
attribute warn_unused_result
utils.c: In function âsubmit_raw_external_commandâ:
utils.c:4079: warning: ignoring return value of âasprintfâ, declared with 
attribute warn_unused_result

Errors.

The make all, make, make install works fine and Nagios gets installed.. should 
I be worried about the errors?


--
___
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 Alerts to SMS using SMSTools help?

2009-07-02 Thread Mirza Dedic
Hello,

I plan to use smstools for my Nagios box to send out alerts to our cells if 
per say, our email gateway was down and Nagios alerts would not be delivered to 
the blackberries.

In order to do this, I see a lot of users are using smstools, when I checked 
their site it seems that the development has been passed to another author and 
is now called smstools 3.

Has anyone got smstools 3 working with nagios alerts?

I live in Canada, will a cell-phone such as MOTO KRZR or RAZR work?

Thanks.


--
___
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] NConf vs. NagiosQL vs. lilac ??

2009-06-23 Thread Mirza Dedic
Hello,

I am stuck at choosing which configuration tool I should use for my Nagios, I 
plan to refine our checks to steamline them more for performance, and change 
some of the plug-ins used for checks, and would like to install a web-based 
configuration utlity.

I've noticed there are a few to chose from..

NConf
NagiosQL
Lilac Platform

Anyone experience with any of these, which one would you suggest to go with? My 
main deciding factor is speed, performance, and ease of 
use/customization-configuration.

Thanks.


--
___
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] Trying to use NSClient's counters...

2009-05-29 Thread Mirza Dedic
Hello,

I have a few boxes where I would like to check deeper in for performance 
counters such as our Exchange 2007 Server..

I am trying to run..

#Exchange Connection Count
define command{
command_name check_nt_exchange_connection_count
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER 
-l \\MSExchangeIS\\Connection Count -w 100 -c 250
}

#Exchange Delivery Time
define command{
command_name check_nt_exchange_delivery_time
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER 
-l \\MSExchangeIS(_Average Delivery Time)\\%%Usage,Average Delivery Time is 
%.2f%% -w 2 -c 10
}

#Exchange Maximum Users
define command{
command_name check_nt_exchange_maximum_users
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER 
-l \\MSExchangeIS\\Connection Count -w 100 -c 250
}

#Exchange Messages Delivered/Minute
define command{
command_name check_nt_exchange_messages_delivered_per_min
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER 
-l MSExchangeIS Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120
}

But I can't seem to get any proper responses.. what I get is..

0

This makes no sense? On the NSClient++ log...

2009-05-29 11:02:18: debug:.\NSClientListener.cpp:146: Data: 
xr1p71c8MSExchangeIS Mailbox(_Total)\Messages Delivered/min
2009-05-29 11:02:18: debug:.\NSClientListener.cpp:171: Data: MSExchangeIS 
Mailbox(_Total)\Messages Delivered/min
2009-05-29 11:02:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: 
Counter=MSExchangeIS Mailbox(_Total)\Messages Delivered/min, nsclient
2009-05-29 11:02:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: 
MSExchangeIS Mailbox(_Total)\Messages Delivered/min: The counter path string 
could not be parsed.
2009-05-29 11:02:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: 
MSExchangeIS Mailbox(_Total)\Messages Delivered/min: The counter path string 
could not be parsed.
2009-05-29 11:02:18: error:.\CheckSystem.cpp:1050: ERROR: MSExchangeIS 
Mailbox(_Total)\Messages Delivered/min: PdhAddCounter failed: -1073738816: 
Unable to parse the counter path. Check the format and syntax of the specified 
path.
 (MSExchangeIS Mailbox(_Total)\Messages Delivered/min|MSExchangeIS 
Mailbox(_Total)\Messages Delivered/min)
2009-05-29 11:02:18: debug:.\NSClient++.cpp:946: Injected Result: WARNING '0'
2009-05-29 11:02:18: debug:.\NSClient++.cpp:947: Injected Performance Result: ''

Any idea?
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-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

[Nagios-users] NSclient++ Performance Counters Help ??

2009-05-06 Thread Mirza Dedic
Hello,

I am trying to use NSClient++ to monitor performance counters; previously I 
only used it to check disk space etc, but I am trying to make sure of the -v 
COUNTER -l switch more now as it is very powerful.

In my config I have:

define command{
command_name check_nt_exchange_messages_delivered_per_min
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER 
-l MSExchangeIS Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120
}

However, when I try to test this from my box with:

./check_nt -H van-mail01 -s xr1p71c -p 12779 -v COUNTER -l  MSExchangeIS 
Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120

I get:

bash: syntax error near unexpected token `('

Also, on Nagios it reports as null; which I would assume is because of the 
above syntax issue.

How can I fix this?

The source I got my counter from is:
http://www.hackmyidea.com/wordpress/2007/11/14/misc-windows-checks-for-nagios/

Also, I noticed in my NSClient++ installation in the windows box (Exchange 
2005/Win2003) there is a counters.defs file, should I be making use of that and 
entering the counters in there as opposed to calling them from commands.cfg ? 
If so, how could I use the ./check_nt to call a performance counter defined in 
counters.defs ? (assuming this is what its for?).

Thanks.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] NSclient++ Performance Counters Help ??

2009-05-06 Thread Mirza Dedic
After some more trial and error, I got the command check fixed but there is 
still an issue.

The command I am sending is:

r...@van-nagios:/usr/local/nagios/libexec# ./check_nt -H van-mail01 -s xr1p71c 
-p 12779 -v COUNTER -l  MSExchangeIS Mailbox(_Total)\\Messages Delivered/min 
-w 25 -c 120

The output is: 0

When I check nsclient.log; here is what I have:

2009-05-06 11:09:18: debug:.\NSClientListener.cpp:146: Data: 
xr1p71c8“MSExchangeISConnection
2009-05-06 11:09:18: debug:.\NSClientListener.cpp:171: Data: 
“MSExchangeISConnection
2009-05-06 11:09:18: debug:.\NSClient++.cpp:910: Injecting: checkCounter: 
Counter=“MSExchangeISConnection, nsclient
2009-05-06 11:09:18: error:.\CheckSystem.cpp:1019: ERROR: Counter not found: 
“MSExchangeISConnection: The counter path string could not be parsed.
2009-05-06 11:09:18: error:.\CheckSystem.cpp:1021: ERROR: Counter not found: 
“MSExchangeISConnection: The counter path string could not be parsed.
2009-05-06 11:09:18: error:.\CheckSystem.cpp:1050: ERROR: 
“MSExchangeISConnection: PdhAddCounter failed: -1073738816: Unable to parse 
the counter path. Check the format and syntax of the
specified path.
 (“MSExchangeISConnection|“MSExchangeISConnection)

Where is “ coming from??

-Original Message-
From: Mirza Dedic [mailto:mi...@oppy.com]
Sent: May/06/2009 10:32 AM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] NSclient++ Performance Counters Help ??

Hello,

I am trying to use NSClient++ to monitor performance counters; previously I 
only used it to check disk space etc, but I am trying to make sure of the -v 
COUNTER -l switch more now as it is very powerful.

In my config I have:

define command{
command_name check_nt_exchange_messages_delivered_per_min
command_line $USER1$/check_nt -H $HOSTADDRESS$ -s password -p 12489 -v COUNTER 
-l MSExchangeIS Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120
}

However, when I try to test this from my box with:

./check_nt -H van-mail01 -s xr1p71c -p 12779 -v COUNTER -l  MSExchangeIS 
Mailbox(_Total)\\Messages Delivered/min -w 25 -c 120

I get:

bash: syntax error near unexpected token `('

Also, on Nagios it reports as null; which I would assume is because of the 
above syntax issue.

How can I fix this?

The source I got my counter from is:
http://www.hackmyidea.com/wordpress/2007/11/14/misc-windows-checks-for-nagios/

Also, I noticed in my NSClient++ installation in the windows box (Exchange 
2005/Win2003) there is a counters.defs file, should I be making use of that and 
entering the counters in there as opposed to calling them from commands.cfg ? 
If so, how could I use the ./check_nt to call a performance counter defined in 
counters.defs ? (assuming this is what its for?).

Thanks.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-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

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-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] How to receive notification alert by sms tomobile phone using Nagios

2009-03-13 Thread Mirza Dedic
Hi Andrew,

How are you configuring your sanity checks in Nagios?

Thanks.

From: Andrew Davis [mailto:ncc...@gmail.com]
Sent: March/11/2009 9:39 AM
To: Martyn
Cc: 'Onotsky, Steve x55328'; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile 
phone using Nagios

A combination of the parents, hostgroups, and escalation. I'll post my 
configs later, but once you have confirmed that SMS is setup and working (make 
sure that for every email alert, you also get an SMS alert), then you define 
your network topology and put them into hostgroups. In my case, I have a 
hostgroup of network-core which includes my core routers, firewalls, Exchange 
server, Exchange storage, and the switch connecting the Exchange system with 
the firewall. I then have a contactgroup of the SMS addresses of three key 
people (myself included). If any of those device fail, Nagios sends 
notification via SMS. If anything else fails, it goes via emails. The kewl 
thing is I'll often sleep through emails, but if I get an SMS, I know something 
serious failed and I force myself to get up...

Additionally, I tend to define a sanity check: a ping to yahoo and http to MSN 
and non-caching dns query of Google. If all sanity checks fail and are not 
resolved within 4 hours, then through escalations, an SMS is sent to the 
manager of the support team at our ISP as we likely have a bandwidth down 
issue. If sanity checks AND a core network device fail, my ISP doesn't get 
notified as we know its us...




  A. Davis

  Email: ncc...@gmail.commailto:ncc...@gmail.com



  There is no limit to what a man can accomplish

   if he doesn't care who gets the credit. - Ronald Reagan


Martyn wrote:
Beat me too it with the same question

Martyn

From: Onotsky, Steve x55328 [mailto:steve.onot...@broadridge.com]
Sent: 11 March 2009 15:55
To: ncc...@gmail.commailto:ncc...@gmail.com; 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] How to receive notification alert by sms tomobile 
phone using Nagios
I've been messing around with this, off and on (as time permits).  How did you 
set up your config to go to SMS only if email fails?

Thanks


Steve Onotsky
Server Support Technologist
Broadridge
Investor Communication Solutions, Canada
5970 Chedworth Way
Mississauga  ON  L5R 4G5
Tel: (905) 507-5328
Fax: (905) 507-5312
Inet: steve.onot...@broadridge.commailto:steve.onot...@broadridge.com

Quis custodiet ipsos custodes?
- Juvenal, Satires, VI, 347


From: Andrew Davis [mailto:ncc...@gmail.com]
Sent: March 11, 2009 11:35
To: 
nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] How to receive notification alert by sms to mobile 
phone using Nagios

In Nagios 2nd Edition from Wolfgang Barth, he covers this in section 12.4.2. 
He covers smsclient, yasp, and smssend, but he points out what Jim 
pointed out... most are email to SMS conversion tools so if email is done, 
you're still not notified. smsclient and a modem resolve this. I have it 
installed and working fine. Our normal notifications go via email, but if a 
network device or email server is down, then notifications go via SMS.





  A. Davis

  Email: ncc...@gmail.commailto:ncc...@gmail.com



  There is no limit to what a man can accomplish

   if he doesn't care who gets the credit. - Ronald Reagan


Jim Avery wrote:

2009/3/11 tsedendorj oyunbat t_oyun...@yahoo.commailto:t_oyun...@yahoo.com:



I'm new one in Nagios system.

I work in mobile cellular operator company. And I need to know is there any

chance to get notification alert via sms to my mobile phone when BSC or HLR

equipments go down or stop working?

Is there any configuration on Nagios? And how to connect Nagios server to

sms center.





Currently I use an external email-sms service similar to

http://www.intellisms.co.uk so I can send emails from Nagios in the

usual way and have them converted to SMS.  It's extremely easy to set

up, but has the disadvantage that if the email system goes down, we

don't know about it!



Alternatively, you could connect a mobile 'phone to your Nagios server

and send SMS using gnokii http://www.gnokii.org/ or similar, or your

mobile operator might well have an http interface you could use or can

recommend other options.



In Nagios, you specify the notification methods in command definitions

which you can write yourself so it's extremely flexible.  See

http://nagios.sourceforge.net/docs/3_0/notifications.html under the

heading Notification Methods.



hth,



Jim



--

Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are

powering Web 2.0 with engaging, cross-platform capabilities. Quickly and

easily build your RIAs with Flex Builder, the Eclipse(TM)based development


[Nagios-users] Nagios Service Check Delay

2009-03-10 Thread Mirza Dedic
Hello,

I have Nagios monitoring about 200 services on our network, this includes 
various services, processes and network devices. With this, we also have 
NSClient++ monitoring our Windows boxes.

Currently, when a service is reported DOWN, Nagios schedules the next service 
check to be 10minutes after.

Is there a way to make this less? I am looking for something close to 2minutes.

Here is an example of my config..

The Service generic template is:

define service{
namegeneric-service
active_checks_enabled   1
passive_checks_enabled  1
parallelize_check   1
obsess_over_service 1
check_freshness 0
notifications_enabled   1
event_handler_enabled   1
flap_detection_enabled  1
failure_prediction_enabled  1
process_perf_data   1
retain_status_information   1
retain_nonstatus_information1
is_volatile 0
check_period24x7
max_check_attempts  3
normal_check_interval   2
retry_check_interval1
contact_groups  admins
notification_optionsw,u,c,r
notification_interval   120
notification_period 24x7
register0
}

The service config:

define service{
use generic-service
contact_groups  custom_notifygrp_1
host_name   van-report
service_description Optimo Report Service
 check_command  van-report_optimo
}

The check command: (NSClient++ running on the host being checked)

define command{
command_namevan-report_optimo
command_line$USER1$/check_nt -H THEHOST -s PASSWD -p PORT -v 
SERVICESTATE -l OptimoReportService
}


Based on the config above, shouldn't Nagios schedule the next service check 
within 2 minutes?

What controls this option?

Thanks.


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-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


[Nagios-users] AIX check_logfiles from consol.com issues/errors - please help

2009-01-20 Thread Mirza Dedic
Hello,

I am having issues getting the check_logfiles script from consol.com to work; I 
am using their latest script and it was compiled in my AIX 5.3 environment.

From the aix box's console I run: check_logfiles -t 10 -f /test.cfg and I am 
expected to get a CRITICAL warning based on test.cfg's configuration:

$seekfilesdir = '/tmp';
@searches = (
  {
tag = 'aix',
logfile = '/mirde.log',
criticalpatterns =
[
'W3SVC2',
],
warningpatterns =
[
'W3SVC3',
],
options = 'count',
  },
);

My results from the script keep coming out as OK, where it should give me a 
CRITICAL and WARNING message since the 2 patterns exist in mirde.log test log.

Any idea why this is not working and/or tips?

The script seems functional, if I point the logfile to a non-existent file it 
will error out properly. The check script has a chmod of 777 as well and is 
being executed under root.

Thanks.

Mirza Dedic
Jr. Technical Analyst - The Oppenheimer Group
Office #(604) 461-6779 : Cell #(778) 895-8950



--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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] AIX check_logfiles from consol.com issues/errors - please help

2009-01-20 Thread Mirza Dedic
Thanks Tarak this has resolved my issue.

I assume that when you point check_logfiles on a log file, it makes a hash of 
the file and starts to monitor at the EOF waiting for new input and scanning 
for the specific information.

CC'ing the nagios-users.

Thank you.

From: Tarak Patel [mailto:tarak.pa...@ec.gc.ca]
Sent: January/20/2009 1:28 PM
To: Mirza Dedic
Subject: Re: [Nagios-users] AIX  check_logfiles from consol.com issues/errors 
- please help

Hi,

If I remember correctly each time you execute the script it keeps track of the 
offset in file. This means that if there are no new entries (matching the 
criterias) in the logfile since the last time check_logfile was executed it 
will return okay. I think the script adds an offset value in a file (might be a 
hidden file starting with .)

Regards,

Tarak.
System Analyst
Envrionment Canada
(514)421-4799

Mirza Dedic wrote:
Hello,

I am having issues getting the check_logfiles script from consol.com to work; I 
am using their latest script and it was compiled in my AIX 5.3 environment.

From the aix box's console I run: check_logfiles -t 10 -f /test.cfg and I am 
expected to get a CRITICAL warning based on test.cfg's configuration:

$seekfilesdir = '/tmp';
@searches = (
  {
tag = 'aix',
logfile = '/mirde.log',
criticalpatterns =
[
'W3SVC2',
],
warningpatterns =
[
'W3SVC3',
],
options = 'count',
  },
);

My results from the script keep coming out as OK, where it should give me a 
CRITICAL and WARNING message since the 2 patterns exist in mirde.log test log.

Any idea why this is not working and/or tips?

The script seems functional, if I point the logfile to a non-existent file it 
will error out properly. The check script has a chmod of 777 as well and is 
being executed under root.

Thanks.

Mirza Dedic
Jr. Technical Analyst - The Oppenheimer Group
Office #(604) 461-6779 : Cell #(778) 895-8950
















--

This SF.net email is sponsored by:

SourcForge Community

SourceForge wants to tell your story.

http://p.sf.net/sfu/sf-spreadtheword













___

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
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
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_by_ssh for new linxux users.. shed some light...

2009-01-05 Thread Mirza Dedic
Hello,

I have a Nagios system running (3.0.X) along with Nagios Plug-ins; while I am 
able to get Nagios to monitor all the things I need on a Win32 box (using 
NSClient++  Check_NT); I am having difficulty getting check_by_ssh to work for 
me.

I have previously never used check_by_ssh; I am also fairly new to the linux 
OS. My OS is Ubuntu and many of the servers I want to monitor are RHEL4 or 
Fedora.

I know that to get check_by_ssh to work, I need to create a private/public 
certificate on the client/server; anyone shed some light on how to create this?

Do I create the key on my Nagios box? Under the same user that was used when 
compiling Nagios?

For the remote host (monitored linux server); what do I need to do? Create the 
same user-id? How do I apply the certificate from my Nagios Host to the 
monitored Host so that my shell scripts can connect to the Host B without a 
password prompt?

Please if you could, shed some light for a beginner.

Also, our environment is using Kerberos, all the servers use SSH/Kerberos, this 
way when users are created in Active Directory they are replicated across the 
linux servers (is this why I can't find authorized_keys file?)

Thank you.
--
___
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 Notification using 2nd email server?

2008-07-18 Thread Mirza Dedic
Hello,

I have a unique configuration I would like to get Nagios to do; basically right 
now I am using sendmail on our Ubuntu box which is setup as a simple relay to 
use our exchange server to send emails to our technicians and also an outside 
mailbox (Gmail) incase the exchange server is down so that they are still able 
to receive it using their blackberries.

What I need to do is have a way to get those notifications to the outside 
mailbox if the internet on the network that Nagios Host is on is not working. 
We have MPLS lines that WAN our other offices and they have their own internet 
connections.

So if the internet on my A LAN is down, I want to be able to get notifications 
to the external mailbox using using my B office's internet; I would still be 
able to get the information to B's office since A  B are connected with a MPLS 
(regardless if A's internet is down he can still talk to B).

Any idea?

Thank you.

Mirza Dedic
Jr. Technical Analyst - The Oppenheimer Group
Office #(604) 461-6779 : Cell #(778) 895-8950

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] Alternative Notification Method for a Backup

2008-06-16 Thread Mirza Dedic
Hello,

I am looking at best practices to implement a 2nd alternative notification 
method that Nagios could use incase our office internet is down so that we 
still receive those messages? If the internet is down, the outside world would 
not be able to login to their email systems to see the nagios warnings.

What would be an alternative to this?

We do have a 2nd ISP in the office as a alternative (it is used to test stuff 
bypassing all the H/W  S/W firewalls  security) that I could use, but how do 
you configure or tell Nagios to send notifications through that to a specific 
outside-of-our-servers mailbox? (ex, gmail?).

Thanks.

Mirza Dedic
Jr. Technical Analyst - The Oppenheimer Group
Office #(604) 461-6779 : Cell #(778) 895-8950

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
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] Alternative Notification Method for a Backup

2008-06-16 Thread Mirza Dedic
Hello,

I will be using sendmail on the box that Nagios is running and it will be 
relaying emails to our Exchange Server.

-Original Message-
From: Patrick Morris [mailto:[EMAIL PROTECTED]
Sent: June/16/2008 11:21 AM
To: Mirza Dedic
Cc: 'nagios Users Mailinglist'
Subject: Re: [Nagios-users] Alternative Notification Method for a Backup

On Mon, 16 Jun 2008, Mirza Dedic wrote:

 We do have a 2nd ISP in the office as a alternative (it is used to test stuff 
 bypassing all the H/W  S/W firewalls  security) that I could use, but how 
 do you configure or tell Nagios to send notifications through that to a 
 specific outside-of-our-servers mailbox? (ex, gmail?).

You wouldn't configure Nagios to do that; you'd configure your mailer.
How you would do that depends which you're using, and you haven't told
us.



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] Alternative Notification Method for a Backup

2008-06-16 Thread Mirza Dedic
I have thought this over and I think the original method I was looking for is 
either flawed or would be rather very difficult to setup as the 2nd ISP is not 
physically connected to our LAN unless you manually make a switch in the server 
room (which defeats the purpose).

However, we do have MPLS links to other offices/servers that have their own 
ISPs. A way to monitor internet connectivity on our main location would be to 
setup a Nagios server there and run check scripts in our main office that try 
to pull stuff from the net.

Then send an SMTP email using that office's ISP to an external mailbox/SMS 
gateway to reach the admins. I plan to stick with that idea unless someone has 
a simpler more centralized solution for this to avoid a 2nd nagios/mailer setup?

Thanks.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mirza Dedic
Sent: June/16/2008 11:27 AM
To: 'Patrick Morris'
Cc: 'nagios Users Mailinglist'
Subject: Re: [Nagios-users] Alternative Notification Method for a Backup

Hello,

I will be using sendmail on the box that Nagios is running and it will be 
relaying emails to our Exchange Server.

-Original Message-
From: Patrick Morris [mailto:[EMAIL PROTECTED]
Sent: June/16/2008 11:21 AM
To: Mirza Dedic
Cc: 'nagios Users Mailinglist'
Subject: Re: [Nagios-users] Alternative Notification Method for a Backup

On Mon, 16 Jun 2008, Mirza Dedic wrote:

 We do have a 2nd ISP in the office as a alternative (it is used to test stuff 
 bypassing all the H/W  S/W firewalls  security) that I could use, but how 
 do you configure or tell Nagios to send notifications through that to a 
 specific outside-of-our-servers mailbox? (ex, gmail?).

You wouldn't configure Nagios to do that; you'd configure your mailer.
How you would do that depends which you're using, and you haven't told
us.



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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 Exchange 2007?

2008-05-30 Thread Mirza Dedic
I have been trying to get a working plug-in that does this as well; deeper than 
what I have setup right now.

The way I am monitoring Exchange 2007 is with service  process checks, but 
this wouldn't give you a full monitoring covering as processes  services can 
be UP but no mail coming through/working.

Let me know what you find out as I'd like to improve on this as well.

Thanks.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Cruse
Sent: May/30/2008 11:37 AM
To: 'nagios Users Mailinglist'
Subject: [Nagios-users] Monitoring Exchange 2007?

I've recently been tasked with monitoring an Exchange 2007 single-copy
cluster so I've been perusing what's available at nagiosexchange.org as well
as poking around what Google turns up.  Most of what I've found is pretty
old (Exchange 5.5) with a few newer bits (Exchange 2003) but nothing
specifically on Exchange 2007.  I'm relatively confident the stuff for 2003
can probably be made to work but before I go reinventing the wheel I figured
I'd check in and see if anyone else was monitoring Exchange 2007 that might
have some suggestion, tips, tricks, or otherwise to share.

Thanks!

Andrew


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 for Stale AIX Processes with Nagios ?

2008-05-20 Thread Mirza Dedic
Hello,

We have AIX 5.3 running on our production servers and the way things are setup 
we need to make sure there are no STALE processes on the box, by STALE I mean 
any idle process that has been running for more than 5 hours. Sure we can 
monitor this with topas -P and have a terminal session open at all times but 
this is not ideal.

Does anyone know of a script or a way to accomplish this? Even if we would need 
to write a script/cron job to get the job done?

Any help is appreciated and thank you.
-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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 your office's Coffee Machine?

2008-05-12 Thread Mirza Dedic
Hello,

I know, totally off topic but what if you really wanted to? I want to monitor 
our Coffee Machine to warn me when it is running low (so that I can go there  
put a new coffee in for some fresssh coffee).

Now I know it has nothing that Nagios can talk to; so my question does anyone 
know of a product you can attach to it that has network capabilities that 
Nagios can talk to? Lol

Thanks!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mihai Tanasescu
Sent: May/12/2008 1:55 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Ring topology parent/child relation Nagios



 This problem should not exist.
Nagios -- Router A  -- Router B uplink1+2 ring (and Router B is in a
ring topology which closes in it)

http://tinypic.com/view.php?pic=11uhx7as=3 (this is the logical layout)

Yes. But if you cut the 2 uplinks from Router B, then the Nagios machine
will see Router B as up but will not be able to reach any other router
from the ring and will thus alert that all other routers are down (which
is not true).
I mean having split the ring into the 2 halves you suggested that:
C has parent B, D has parent C, E has parent D
G has parent B, F has parent G
= B up but B uplinks to C and G down - alerts that C and G are down
although they aren't

Can this be eliminated ? (I'm sure the solution should be simple and
obvious but I'm not being as careful as I should to see it)


Am I right ?


P.S. Currently I am monitoring each link state (up/down) by using SNMP
interface queries (on Cisco routers) and the hosts themselves with
ping/icmp on loopback interfaces that are propagated throughout the
network for reachability(OSPF).



 Because if you cut the ring in 1 place all nodes can still be reached.
 So no router will go down. If you cut it in 2 places you loose part of
 the ring and only get alerts for the nodes directly on the other side of
 the cuts from your perspective.

 If you alert on unreachable as well then you get all the alerts you
 tried to get rid of by introducing the parent relation in the first
 place. So don't use them.

 You need an additional means of detecting your first cut in the ring as
 all routers can still be reached at that time and you will never know
 you had a problem unless you alert on the actual link conditions.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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: Monitoring your office's Coffee Machine?

2008-05-12 Thread Mirza Dedic
Hello,

I know, totally off topic but what if you really wanted to? I want to monitor 
our Coffee Machine to warn me when it is running low (so that I can go there  
put a new coffee in for some fresssh coffee).

Now I know it has nothing that Nagios can talk to; so my question does anyone 
know of a product you can attach to it that has network capabilities that 
Nagios can talk to? Lol

Thanks!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mihai Tanasescu
Sent: May/12/2008 1:55 PM
To: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Ring topology parent/child relation Nagios



 This problem should not exist.
Nagios -- Router A  -- Router B uplink1+2 ring (and Router B is in a
ring topology which closes in it)

http://tinypic.com/view.php?pic=11uhx7as=3 (this is the logical layout)

Yes. But if you cut the 2 uplinks from Router B, then the Nagios machine
will see Router B as up but will not be able to reach any other router
from the ring and will thus alert that all other routers are down (which
is not true).
I mean having split the ring into the 2 halves you suggested that:
C has parent B, D has parent C, E has parent D
G has parent B, F has parent G
= B up but B uplinks to C and G down - alerts that C and G are down
although they aren't

Can this be eliminated ? (I'm sure the solution should be simple and
obvious but I'm not being as careful as I should to see it)


Am I right ?


P.S. Currently I am monitoring each link state (up/down) by using SNMP
interface queries (on Cisco routers) and the hosts themselves with
ping/icmp on loopback interfaces that are propagated throughout the
network for reachability(OSPF).



 Because if you cut the ring in 1 place all nodes can still be reached.
 So no router will go down. If you cut it in 2 places you loose part of
 the ring and only get alerts for the nodes directly on the other side of
 the cuts from your perspective.

 If you alert on unreachable as well then you get all the alerts you
 tried to get rid of by introducing the parent relation in the first
 place. So don't use them.

 You need an additional means of detecting your first cut in the ring as
 all routers can still be reached at that time and you will never know
 you had a problem unless you alert on the actual link conditions.



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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 email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
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