[Nagios-users] Commenting in host and service config file.......

2012-03-20 Thread Manish_Kmr
Hi List,

Actually I am using Nagios since a long but still I am not sure of one thing 
how can I comment some lines in nagios host and service config files. For 
example:-


define service {
host_name   localhost
service_description NPCD status
use local-service
check_command   check_local_npcd!1:1!npcd!
max_check_attempts  2
check_interval  5
retry_interval  1
#event_handler  restart-npcd
notification_interval   15
contact_groups  admins
register1
}

Will it work like this...

Thanks,
Manish Kumar
Open Source Tools Team, IMS, Mahindra Satyam
Mob: +919035435306




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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] Commenting in host and service config file.......

2012-03-20 Thread Claudio Kuenzler
Yep, that works.

On Tue, Mar 20, 2012 at 6:00 AM, Manish_Kmr
manish_...@mahindrasatyam.comwrote:

  Hi List,



 Actually I am using Nagios since a long but still I am not sure of one
 thing how can I comment some lines in nagios host and service config files.
 For example:-





 define service {

 host_name   localhost

 service_description NPCD status

 use local-service

 check_command   check_local_npcd!1:1!npcd!

 max_check_attempts  2

 check_interval  5

 retry_interval  1

 *#event_handler  restart-npcd*

 notification_interval   15

 contact_groups  admins

 register1

 }



 Will it work like this…



 Thanks,

 Manish Kumar

 Open Source Tools Team, IMS, Mahindra Satyam

 Mob: +919035435306



 --

 DISCLAIMER:
 This email (including any attachments) is intended for the sole use of the
 intended recipient/s and may contain material that is CONFIDENTIAL AND
 PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
 distribution or forwarding of any or all of the contents in this message is
 STRICTLY PROHIBITED. If you are not the intended recipient, please contact
 the sender by email and delete all copies; your cooperation in this regard
 is appreciated.


 --
 This SF email is sponsosred by:
 Try Windows Azure free for 90 days Click Here
 http://p.sf.net/sfu/sfd2d-msazure
 ___
 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 email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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 vpn tunnels and application firewalls on network devices and hardware firewalls using nagios

2012-03-20 Thread Manish_Kmr
Dear List,

Can Nagios help me in monitoring vpn tunnels on network devices and what type 
of information I can get while monitoring the same and can I monitor things 
like application firewall and hardware firewalls using nagios.

Thanks,
Manish Kumar
Open Source Tools Team, IMS, Mahindra Satyam
Mob: +919035435306




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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 vpn tunnels and application firewalls on network devices and hardware firewalls using nagios

2012-03-20 Thread Assaf Flatto

On 20/03/12 08:56, Manish_Kmr wrote:


Dear List,

Can Nagios help me in monitoring vpn tunnels on network devices and 
what type of information I can get while monitoring the same and can I 
monitor things like application firewall and hardware firewalls using 
nagios.


Thanks,

Manish Kumar

Open Source Tools Team, IMS, Mahindra Satyam

Mob: +919035435306






You may want to look on the nagiosexchange site :

https://www.monitoringexchange.org/search?query=vpn

if these match what you need I am not sure , but they might give you a 
hint on how to go on checking what you want.


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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 vpn tunnels and application firewalls on network devices and hardware firewalls using nagios

2012-03-20 Thread Andreas Ericsson
On 03/20/2012 09:56 AM, Manish_Kmr wrote:
 Dear List,
 
 Can Nagios help me in monitoring vpn tunnels on network devices

Yes.

 what type of information I can get while monitoring the same

A lot.

 can I monitor things like application firewall and hardware
 firewalls using nagios.
 

Yes.

 Thanks,

You're welcome.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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 vpn tunnels and application firewalls on network devices and hardware firewalls using nagios

2012-03-20 Thread Manish_Kmr
Hi Andreas,

How  Are there some popular plug-ins available which I can refer to for 
monitoring these kind of information.

Thanks,
Manish Kumar
-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se]
Sent: Tuesday, March 20, 2012 3:39 PM
To: Nagios Users List
Cc: Manish_Kmr
Subject: Re: [Nagios-users] Monitoring vpn tunnels and application firewalls on 
network devices and hardware firewalls using nagios

On 03/20/2012 09:56 AM, Manish_Kmr wrote:
 Dear List,

 Can Nagios help me in monitoring vpn tunnels on network devices

Yes.

 what type of information I can get while monitoring the same

A lot.

 can I monitor things like application firewall and hardware firewalls
 using nagios.


Yes.

 Thanks,

You're welcome.

--
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and terror, I 
think we should give some serious thought to declaring war on peace.




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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 vpn tunnels and application firewalls on network devices and hardware firewalls using nagios

2012-03-20 Thread Andreas Ericsson
On 03/20/2012 11:11 AM, Manish_Kmr wrote:
 Hi Andreas,
 
 How 

By using the appropriate plugins and configuration.

Are there some popular plug-ins available which I can refer to for monitoring 
these kind of information.
 

Almost certainly. I usually try google.com first when I'm looking for
answers. It's really an amazing source of information that doesn't
force anyone else to do my homework for me. You should try it some
time too. I'm sure you'll absolutely LOVE it!!!

On a more serious note; Stop being such a lazy arse and start asking
questions about specific problems you've encountered *while doing some
work yourself* and you might actually get some useful answers.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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 vpn tunnels and application firewalls on network devices and hardware firewalls using nagios

2012-03-20 Thread Manish_Kmr
Anyways thanks for the suggestions.. already looked on Google and I too 
LOVE it as you, but didn't find any plug-in that will exactly meet the 
requirements. Thanks. Please also assume that Google is quite reachable and 
people might have tried before coming here for some good suggestions and 
anyways not forcing any particular to answer me. I believed this is all users 
mailing list and not limited to some particular ones.

Thanks,
Manish Kumar

-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se]
Sent: Tuesday, March 20, 2012 4:07 PM
To: Manish_Kmr
Cc: Nagios Users List
Subject: Re: [Nagios-users] Monitoring vpn tunnels and application firewalls on 
network devices and hardware firewalls using nagios

On 03/20/2012 11:11 AM, Manish_Kmr wrote:
 Hi Andreas,

 How 

By using the appropriate plugins and configuration.

Are there some popular plug-ins available which I can refer to for monitoring 
these kind of information.


Almost certainly. I usually try google.com first when I'm looking for answers. 
It's really an amazing source of information that doesn't force anyone else to 
do my homework for me. You should try it some time too. I'm sure you'll 
absolutely LOVE it!!!

On a more serious note; Stop being such a lazy arse and start asking questions 
about specific problems you've encountered *while doing some work yourself* and 
you might actually get some useful answers.

--
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and terror, I 
think we should give some serious thought to declaring war on peace.




DISCLAIMER:
This email (including any attachments) is intended for the sole use of the 
intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE 
COMPANY INFORMATION. Any review or reliance by others or copying or 
distribution or forwarding of any or all of the contents in this message is 
STRICTLY PROHIBITED. If you are not the intended recipient, please contact the 
sender by email and delete all copies; your cooperation in this regard is 
appreciated.

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] check_snmp (External Command Error)

2012-03-20 Thread Davey, Jatin Kumar (Jatin Kumar)
Hi All

I have the latest stable version of Nagios Core and Nagios Plugins installed in 
a CentOS 6.2 machine. While using the check_snmp in my object files I am 
getting the following error in the UI:

External command error: snmp_build: unknown failuresnmpget: Error building 
ASN.1 representation (Can't build OID for variable)

Text in the host file where I have defined the service is:

define service{

host_name   Dslam-XXX
service_description :1-1-5-1
check_command   
check_xdsl_line!x.x.x.x!iso.3.6.1.2.1.2.2.1.8.134610945!xxx
max_check_attempts  5
check_interval  1
retry_interval  3
check_period24x7
notification_interval   30
notification_period 24x7
contact_groups  admins
}

Text in the commands file for the above used custom command is:

define command{
command_namecheck_xdsl_line
command_line$USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ 
-c 1
}


Please let me know how to solve this issue.

Thanks
Jatin

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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] check_snmp (External Command Error)

2012-03-20 Thread Davey, Jatin Kumar (Jatin Kumar)
Want to add one more information , the same command if I try using the plugin 
present in the libexec directory works fine.

Thanks
Jatin

From: Davey, Jatin Kumar (Jatin Kumar) 
[mailto:jatin_kumar.da...@alcatel-lucent.com]
Sent: Tuesday, March 20, 2012 6:24 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_snmp (External Command Error)

Hi All

I have the latest stable version of Nagios Core and Nagios Plugins installed in 
a CentOS 6.2 machine. While using the check_snmp in my object files I am 
getting the following error in the UI:

External command error: snmp_build: unknown failuresnmpget: Error building 
ASN.1 representation (Can't build OID for variable)

Text in the host file where I have defined the service is:

define service{

host_name   Dslam-XXX
service_description :1-1-5-1
check_command   
check_xdsl_line!x.x.x.x!iso.3.6.1.2.1.2.2.1.8.134610945!xxx
max_check_attempts  5
check_interval  1
retry_interval  3
check_period24x7
notification_interval   30
notification_period 24x7
contact_groups  admins
}

Text in the commands file for the above used custom command is:

define command{
command_namecheck_xdsl_line
command_line$USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ 
-c 1
}


Please let me know how to solve this issue.

Thanks
Jatin

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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] CheckSchedTask problems

2012-03-20 Thread Ollie Campbell
Hello,

I've setup NRPE to check that scheduled tasks are running without error on
a Windows 2008 R2 64bit server. I'm running into these two bugs:

http://www.nsclient.com/nscp/ticket/411
http://www.nsclient.com/nscp/ticket/444

Is there another way to monitor scheduled tasks until these are fixed?

-- 
Ollie Campbell

* 60 Kingly Street, London, W1B 5DS*
D: +44 20 7453 4930
M: +44 7584 518539

www.bartleboglehegarty.com



This transmission is from BBH Partners LLP, it is confidential and intended 
solely for the person or organisation to whom it is addressed. This 
transmission may contain confidential information within its content or any 
attachment.  You should not copy, use or distribute in any way any of the 
information contained within this transmission other than in accordance with 
the prior written permission of an authorised BBH representative.

Partnership Information: 
Registered name: BBH Partners LLP 
Registered office: 60 Kingly Street London W1B 5DS
Place of registration: England and Wales 
Registered number: OC355051

Although all messages/file attachments passing through this gateway are scanned 
for viruses we cannot guarantee that any file is 100% virus-free.
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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] CheckSchedTask problems

2012-03-20 Thread Assaf Flatto

On 20/03/12 14:00, Ollie Campbell wrote:

Hello,

I've setup NRPE to check that scheduled tasks are running without 
error on a Windows 2008 R2 64bit server. I'm running into these two bugs:


http://www.nsclient.com/nscp/ticket/411
http://www.nsclient.com/nscp/ticket/444

Is there another way to monitor scheduled tasks until these are fixed?

--
Ollie Campbell

*60 Kingly Street, London, W1B 5DS*
D: +44 20 7453 4930
M: +44 7584 518539

www.bartleboglehegarty.com http://www.bartleboglehegarty.com


I seem to remember something i used in the passed , but i am not sure it 
will help you.


Instead of trying to monitor the task itself , we monitored the event 
log to the output of the task itself , granted it was a while back and 
the windows platform was 2000 server , so things might have changed 
since then, but that might be a work around for you .
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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 xi active directory agent

2012-03-20 Thread Robert J Molerio
Anyone have the quck setup for getting the AD agent to talk to an AD server?

-- 
Thank you,

Bob Molerio
Systems Administrator
New York University
ITS Computer Facilities Services/Infrastructure
Level C-2
75 Third Avenue
New York NY 10003-5527
office: 212-998-1110
email:robert.mole...@nyu.edu robert.mole...@nyu.edu
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] nagios xi active directory agent

2012-03-20 Thread Mike Guthrie
For Nagios XI specific questions, please repost to the Nagios XI forum.  
This list is primarily intended for Nagios Core.

http://support.nagios.com/forum/viewforum.php?f=6

Thanks.



On 3/20/2012 9:14 AM, Robert J Molerio wrote:
Anyone have the quck setup for getting the AD agent to talk to an AD 
server?


--
Thank you,

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



--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure


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



--


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

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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] Building a reliable uptime monitoring model

2012-03-20 Thread C. Bensend

 So I was wondering how is everyone reliably checking and notifying the
 intended audience of server reboots with high rate of success.

I use check_logfiles from the Consol.de guys to watch for the actual
event or log entry specifying a reboot.  I don't count on the server
being down long enough to trigger a host down/host up alert.

Benny


-- 
The problem with quotes on the internet is that it's very hard to
verify their authenticity.   -- Abraham Lincoln



--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
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] check_snmp (External Command Error)

2012-03-20 Thread Werner, Robert
I think your OID needs to be all numerical.  (translate iso into the numerical 
prefix).

--
Robert G. Werner
Oracle Apps Systems Administrator
rwer...@pomwonderful.com
559.521.5089

From: Davey, Jatin Kumar (Jatin Kumar) 
[mailto:jatin_kumar.da...@alcatel-lucent.com]
Sent: Tuesday, March 20, 2012 5:54 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_snmp (External Command Error)

Hi All

I have the latest stable version of Nagios Core and Nagios Plugins installed in 
a CentOS 6.2 machine. While using the check_snmp in my object files I am 
getting the following error in the UI:

External command error: snmp_build: unknown failuresnmpget: Error building 
ASN.1 representation (Can't build OID for variable)

Text in the host file where I have defined the service is:

define service{

host_name   Dslam-XXX
service_description :1-1-5-1
check_command   
check_xdsl_line!x.x.x.x!iso.3.6.1.2.1.2.2.1.8.134610945!xxx
max_check_attempts  5
check_interval  1
retry_interval  3
check_period24x7
notification_interval   30
notification_period 24x7
contact_groups  admins
}

Text in the commands file for the above used custom command is:

define command{
command_namecheck_xdsl_line
command_line$USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ 
-c 1
}


Please let me know how to solve this issue.

Thanks
Jatin

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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] Building a reliable uptime monitoring model

2012-03-20 Thread Matthew Jurgens

  
  


  
So I was wondering how is everyone reliably checking and notifying the
intended audience of server reboots with high rate of success.


  


Get a plugin that checks the actual device uptime value.

You can then alert on it when values of uptime are less than
whatever suits your check frequency and max check attempts values eg
30 minutes. How you actually check is going to be dependent on the
OS of the device

For Windows servers I use 
check_wmi_plus.pl -m checkuptime
This particular plugin also provides performance data and I get a
nice graph like this -


I also do that same thing (using other plugins) for linux, wireless
access points etc

I imagine that SNMP probably can get at the uptime values for
various devices also.


  

  Smartmon System
Monitoring
  
  www.smartmon.com.au 

  

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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] check_snmp (External Command Error)

2012-03-20 Thread Davey, Jatin Kumar (Jatin Kumar)
Ok , Thanks.

For the benefit of all I did two changes and it worked.

Change 1:
Mentioned the full OID as mentioned by Werner.

Change 2:

Instead of using the $HOSTADDRESS$ , I used $ARG1$

Thanks
Jatin


From: Werner, Robert [mailto:rwer...@pomwonderful.com]
Sent: Tuesday, March 20, 2012 11:02 PM
To: Nagios Users List
Subject: Re: [Nagios-users] check_snmp (External Command Error)

I think your OID needs to be all numerical.  (translate iso into the numerical 
prefix).

--
Robert G. Werner
Oracle Apps Systems Administrator
rwer...@pomwonderful.com
559.521.5089

From: Davey, Jatin Kumar (Jatin Kumar) 
[mailto:jatin_kumar.da...@alcatel-lucent.com]
Sent: Tuesday, March 20, 2012 5:54 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_snmp (External Command Error)

Hi All

I have the latest stable version of Nagios Core and Nagios Plugins installed in 
a CentOS 6.2 machine. While using the check_snmp in my object files I am 
getting the following error in the UI:

External command error: snmp_build: unknown failuresnmpget: Error building 
ASN.1 representation (Can't build OID for variable)

Text in the host file where I have defined the service is:

define service{

host_name   Dslam-XXX
service_description :1-1-5-1
check_command   
check_xdsl_line!x.x.x.x!iso.3.6.1.2.1.2.2.1.8.134610945!xxx
max_check_attempts  5
check_interval  1
retry_interval  3
check_period24x7
notification_interval   30
notification_period 24x7
contact_groups  admins
}

Text in the commands file for the above used custom command is:

define command{
command_namecheck_xdsl_line
command_line$USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -C $ARG2$ 
-c 1
}


Please let me know how to solve this issue.

Thanks
Jatin

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure___
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