Re: [Nagios-users] Agentless Vs Agent based

2009-06-05 Thread Alejandro Sánchez Meroño
Dear Chethan, 
 
In my opinion, that it's a very wide question to answer, maybe you'll find a 
suitable answer in the official documentation... Give it a try, it's not so 
hard as it seems at first sight!! ;-)
 
In general, there are not better methods than others, you should study 
separately each different item to monitor.
 
  Alejandro
 
==
Alejandro Sánchez Meroño
Area de Informática y Comunicaciones
Instituto Tecnológico de la Energía - http://www.ite.es
Valencia - Spain



De: chethan@wipro.com [mailto:chethan@wipro.com] 
Enviado el: jueves, 04 de junio de 2009 7:22
Para: nagios-users@lists.sourceforge.net
Asunto: [Nagios-users] Agentless Vs Agent based


  

Dear Experts,

 

What are the differences and advantages b/w agentless nagios setup and agent 
based (NRPE, NSCclient) Nagios monitoring.

 

Please help me in understanding which is better to go with Agentless or Agent 
based.

 

Please Help.

 

 

Thanks & Regards,

 

Chethan M N,
Sr Engineer - EMS

Go Green

P Save a Tree - Please consider the environment before printing this email

 

<>--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
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 switches via SNMP --

2009-05-11 Thread Alejandro Sánchez Meroño
I have Nagios installed also on Ubuntu 8.10, and I installed net-snmp like 
this: 
 
a) Download the file net-snmp-5.4.2.1.tar.gz from Sourceforge.net.
b) Untar the file: tar -xvf net-snmp-5.4.2.1.tar.gz
c) cd net-snmp-5.4.2.1
d) ./configure
e) make
f) make install
 
And done... 
 
Hope this helps...
 
Best regards, 
 
Alejandro
 
==

Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es   
Valencia - Spain

 
 




De: Andrew Davis [mailto:ncc...@gmail.com] 
Enviado el: viernes, 08 de mayo de 2009 14:46
Para: Mike Saldivar; nagios-users@lists.sourceforge.net
Asunto: Re: [Nagios-users] Monitoring switches via SNMP --


(...) 
 
I changed ifOperStatus.INSIDE from ifOperStatus.1 because an snmpwalk 
on the device said that's what this port name was, but I can change it back.  
But googling the error (Return code of 127 ...) seems to indicate I'm missing 
net-snmp or net-snmp-util, but I'm not sure how to install them -- can't do a 
rpm -qa on Ubuntu, and I don't know what the corresponding command is with 
apt-get.  But searching the Ubuntu repositories, I can' find an equivalent to 
net-snmp-util, so I think that's the problem.  Snmpwalk works though, so I 
figure I have something half-working...


The other error I see is:

---
Port 1 Bandwidth UNKNOWN 05-07-2009 17:02:24 0d 2h 38m 14s 
3/3 check_mrtgtraf: Unable to open MRTG log file 

---
define service{
use generic-service ; Inherit values from a 
template
host_name   CCLogan-ASA5510-1
service_description Port 1 Bandwidth
check_command   
check_local_mrtgtraf!/var/lib/mrtg/10.5.1.2_1.log!AVG!100,100!500,500!10
}
---

I looked, and /var/lib/mrtg/ didn't exist.  Googling, I saw a tip to 
change it to /var/www/mrtg/, but that directory didn't exist either.  I created 
/var/lib/mrtg/ and chown'd it to nagios:nagios and restarted Nagios, but still 
nothing.  Is there a mrtg config file I need to edit?

Should I check into check_cisco.pl, or does that work better for the 
huge switches than the itty-bitty 4-porters?

Thanks a heap,
-Mike


--
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] check_snmp - warning numbers

2009-05-07 Thread Alejandro Sánchez Meroño
Hola de nuevo...

I'll answer you in English so that anybody in the list can understand and 
participate in this subject.

I think that if you don't know exactly which parameter to monitor you should 
browse the whole OID list that you receive when you do a snmpwalk on your 
switch, and identify the ones that fit your needs, with the help of the website 
I said yesterday, or any other OIDs reference.

My case: The only thing I want to detect is if there is any damaged port in any 
of my switches. So what I did was to snmpwalk on a switch which I positively 
knew that had its port #2 damaged, and discover which OID was significantly 
different for this port. And the one I found is: 

iso.3.6.1.2.1.10.7.2.1.7

(maybe you can find it as its equivalent: SNMPv2-SMI::mib-2.10.7.2.1.7)

defined as: "a count of frames for which the first transmission attempt on a 
particular interface is delayed because the medium is busy".

The thing is that it's the only OID I found that gave a very high value for 
port #2 (about 65,000 or so) and 0 for the rest of ports that work properly.

The command I defined for this was like this: 

define command {
command_name check_port
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C password -O 
iso.3.6.1.2.1.10.7.2.1.7.$ARG1$ -w 1 -c 10 -u retries
}

For sure there must be somebody else in the list who can give to you a more 
detailed or a more formally correct answer...

Hasta la proxima, 

  Alejandro

==
Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es 
Valencia - Spain



-Mensaje original-
De: Matias Blanco [mailto:mat...@valastro.com.ar] 
Enviado el: miércoles, 06 de mayo de 2009 19:27
Para: Alejandro Sánchez Meroño; Nagios-users@lists.sourceforge.net
Asunto: RE: [Nagios-users] check_snmp - warning numbers

Hola Alejandro,

Ahora otra cosa:

De que manera crees que pueda chequear los puertos de mi switch con nagios para 
tener una idea más clara de lo que está sucediendo?
Porque esos paquetes entrantes con errores no se si son por causa de la PC o de 
los puerto del switch...

Muchas Gracias...

Cristian






Hola Matías... :-) and hola everyone...

There exists a magical website where to identify every OID you can check with 
SNMP, the link is: 

http://support.ipmonitor.com/mibs_byoidtree.aspx

For your particular issue, if you type "RFC1213-MIB" at the "Search for:" form, 
click the result given ("RFC1213-MIB"), and then "View:
Oid-tree", you'll be able to locate "ifInErrors(14)" at the tree shown, and 
clicking it you'll find its Description, which reads literally:

"The number of inbound packets that contained errors preventing them from being 
deliverable to a higher-layer protocol."

That's the answer to your question!!

Now some other questions appear...

Wouldn't it be nicer to know what exactly are you monitoring before you monitor 
it, so you could properly interpret the results?

Is that parameter (number of inbound packets that contained errors and blah 
blah blah...) significant enough to determine if a port is working properly or 
not? 

Hope this helps...

Best regards, 

 Alejandro

==
Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es Valencia - Spain


 

-Mensaje original-
De: Matias Blanco [mailto:mat...@valastro.com.ar] Enviado el: miércoles, 06 de 
mayo de 2009 17:49
Para: Nagios-users@lists.sourceforge.net
Asunto: [Nagios-users] check_snmp - warning numbers

Hi, I am using the check_snmp nagios`s plugin. And when we check the ports 
status of a 3com Baseline 2250 Plus, we recibe many ports results:

SNMP OK - 0
SNMP WARNING - *1*
SNMP WARNING - *84*
SNMP WARNING - *2*
SNMP WARNING - *2*
SNMP WARNING - *4*

The question is, what´s the meaning of the warning numbers?


Other information:
--

# 'check_snmp' command definition
define command{
command_namecheck_snmp
command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
}

Example of service
---

define service {
use service-15x3x5-switchs
host_name   3COM2250P
service_description Port 03 [In Errors]
check_command   check_snmp!-C public -o ifInErrors.3 -w
0 -m RFC1213-MIB
notifications_enabled   0
}



THANKS...
Matías Blanco.





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

Re: [Nagios-users] check_snmp - warning numbers

2009-05-06 Thread Alejandro Sánchez Meroño
Hola Matías... :-) and hola everyone...

There exists a magical website where to identify every OID you can check with 
SNMP, the link is: 

http://support.ipmonitor.com/mibs_byoidtree.aspx

For your particular issue, if you type "RFC1213-MIB" at the "Search for:" form, 
click the result given ("RFC1213-MIB"), and then "View: Oid-tree", you'll be 
able to locate "ifInErrors(14)" at the tree shown, and clicking it you'll find 
its Description, which reads literally:

"The number of inbound packets that contained errors preventing them from being 
deliverable to a higher-layer protocol."

That's the answer to your question!!

Now some other questions appear...

Wouldn't it be nicer to know what exactly are you monitoring before you monitor 
it, so you could properly interpret the results?

Is that parameter (number of inbound packets that contained errors and blah 
blah blah...) significant enough to determine if a port is working properly or 
not? 

Hope this helps...

Best regards, 

 Alejandro

==
Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es
Valencia - Spain


 

-Mensaje original-
De: Matias Blanco [mailto:mat...@valastro.com.ar] 
Enviado el: miércoles, 06 de mayo de 2009 17:49
Para: Nagios-users@lists.sourceforge.net
Asunto: [Nagios-users] check_snmp - warning numbers

Hi, I am using the check_snmp nagios`s plugin. And when we check the ports 
status of a 3com Baseline 2250 Plus, we recibe many ports results:

SNMP OK - 0
SNMP WARNING - *1*
SNMP WARNING - *84*
SNMP WARNING - *2*
SNMP WARNING - *2*
SNMP WARNING - *4*

The question is, what´s the meaning of the warning numbers?


Other information:
--

# 'check_snmp' command definition
define command{
command_namecheck_snmp
command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
}

Example of service
---

define service {
use service-15x3x5-switchs
host_name   3COM2250P
service_description Port 03 [In Errors]
check_command   check_snmp!-C public -o ifInErrors.3 -w
0 -m RFC1213-MIB
notifications_enabled   0
}



THANKS...
Matías Blanco.


--
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 let nagios think host is online

2009-04-15 Thread Alejandro Sánchez Meroño
Hello, 
 
I created an "Always_OK" command for these hosts I couldn't ping and appeared 
in red even when all their services were green (i.e., check-host-alive does not 
work). I decided that if all the services are on, it's because the host is 
on... 
 
define host {
uselinux-server
host_name myhost
alias  My host that can't stand pings
address my.host.ip.address
check_commandcheck_ok
}
 
And, in commands.cfg: 
 
define command {
command_namecheck_ok
command_line   $USER1$/check_dummy 0 OK
}
 
Hope this helps...
 
Best regards, 
 
   Alejandro 
 
==
Alejandro Sanchez Merono
Area de Informatica y Comunicaciones
Instituto de Tecnologia Electrica - http://www.ite.es
Valencia - Spain
 
 


Hi all,
I have one host need to be monitoring, but it is not allow ping. So the nagios 
plug-in check_ping can not work. Host line in the web page is red. How can I 
let nagios think it is OK?
I checked the manual, about host definition, check_command
 
This directive is used to specify the short name of the command that should be 
used to check if the host is up or down. Typically, this command would try and 
ping the host to see if it is "alive". The command must return a status of OK 
(0) or Nagios will assume the host is down. If you leave this argument blank, 
the host will not be actively checked. Thus, Nagios will likely always assume 
the host is up (it may show up as being in a "PENDING" state in the web 
interface). This is useful if you are monitoring printers or other devices that 
are frequently turned off. The maximum amount of time that the notification 
command can run is controlled by the host_check_timeout option. 
 
sorry, I don't understand what should I do. Please advice me.
 
Thanks a lot!

-- 
---
Mika Chu

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-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] Code of 139 when checking mapped unit

2009-03-23 Thread Alejandro Sánchez Meroño
Hello everybody, 

I am pretty novice at Nagios, so I hope that my question were easy to answer, 
or at least, I could get a hint... 

The thing is that I want to monitor a mapped unit on a Windows host, just to 
check the available disk space (i.e., drive U:, that might be "myuser at 
server\users"). 

What I have done is the following: 

At windows.cfg: 

(...)
define host {
use windows-server
host_name   myhost
alias   My Windows host
address xxx.xxx.xxx.xxx
}
(...)
define service {
use generic-service
host_name   myhost
service_description Check C: disk space
check_command   check_nt!USEDDISKSPACE!-l c -w 80 -c 90
}
define service {
use generic-service
host_name   myhost
service_description Check mapped unit U: disk space
check_command   check_nt!USEDDISKSPACE!-l u -w 80 -c 90
}

(I had previously installed NSClient++ at the host...). 

The thing is that I get a correct answer from C:, but U: gives me the error 
"Return code of 139 is out of bounds". 

So obviously I guess that it's not that what I should have done. 

I checked the log file at the Windows host and it only says -repeatedly: NSCA 
Configuration missmatch. I don't think it has anything to see with my problem 
though... 

Any hint?

Thanks in advance. 

 Alejandro


==  
Alejandro Sanchez - alejandro.sanc...@ite.es
IT Department
Institute of Electrical Technology - www.ite.es
Valencia - Spain 

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