Gupta, Prabhakar | 29 Aug 00:17 2015

snmp -s option

Hi,

I was trying to use –s options to flag alarm depending on string values.

In my case, normally I should get “No failures” string. The string changes to others when there is an error like fan failure. I tried to get CRITICAL warning when the string is other than ‘No failures’. So, I used following command line:

check_snmp  -H <ip_address  –C public –o <OID> –s “No failures”

 

However, I always get SNMP OK  and the alert status doesn’t change at all- no matter what the value is.

Any suggestion?

 

Thank you.

Prabhakar Gupta

212 275 7819

Vishnu Lal | 13 Aug 19:25 2015
Picon

check_imap

Hello

Can you provide me the Detail How to monitor Imap ?


Regards,

vishnu
Schäfer Thomas | 13 Aug 15:52 2015
Picon

Question about check_SNMP

Hello,
 
I have a question about check_snmp. It’s a fine tool. But in some cases time-values are translated by snmp in seconds  or seconds multiplied with hundred.
For example the time of an ups(APC) which it can hold the power is such a value, may be about 2 hours
~ value=942000. Nobody checks the time in such values.
For this reason it would be good the option –-rate-multiplier would work without the option –rate filename.
How can this realized with the tool check_snmp.
The option –l value-name is very good  to name the snmp-results.
 
Kind regards
 
Thomas Schäfer
German Meteorological Service
 
 
Anatoliy Pelepetz | 13 Aug 12:28 2015
Picon

questions about check_procs

Hello
I use check_procs v1.5-129-g1b38 (monitoring-plugins 1.5), and I have task to get critical alarm if in my OS will have two critical process, and no alarm if one critical proces.
Tell my please how can I do that with your plugin(if it possible)

--
Best regards,
Anatoliy Pelepetz
刘春 | 24 Jul 04:48 2015
Picon

check_snmp plug-in

Dear Sir or Madam,
         I am sorry that I have to ask a favour of you, with the hope that you will be kind to help me.
    I download check_snmp plug-in from icinga website ,but I don't know how to integrate the two together to implement monitorig key process.Could you give me some suggestions or doucument that about this?
       Best Regards!
                                                                                                                                                            Your sincerely,
                                                                                                                                                                    Spring
 


Sharath Kumar Alladi | 22 Jul 09:38 2015

Need few plugins

Hi Support,


I need few plugins which needs to monitor my cron, mysql and tomcat services from icinga server to remote clients.


Please do the needful.


Thanks & Regards,
Sharath Kumar Alladi
Sonata Software Limited
Phone   : +91 40 6689-7563
Mobile  : +91 9618739041
www.sonata-software.com

Disclaimer: "The materials contained in this email and any attachments may contain confidential or legally privileged information. The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Sonata is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt"
Shane Hinzman | 16 Jul 17:43 2015

disk_check help

Hello, I am currently trying to integrate this plugin to nagios. I would like it to be able to check a remote hosts disk. How do I specify a specific host using the check_disk command?



This email has been checked for viruses by Avast antivirus software.
www.avast.com


Joseph Ronie | 9 Jul 16:30 2015
Picon

check_ping question

I was looking at your website.  I found the check_ping plugin.

 

If I add this service to a client Config. Does Nagios do the ping, or does the client do the ping?

I am hoping the ping comes from the client PC.

 

 

 

 

 

 

 

 

 

 

 

Joseph Ronie

Technical Analyst III

Phone: 1-800-489-4248 x3119

Fax: 601-572-3119

Email: jronie <at> healthtech.net

 



Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Picon

Problem with check_udp

Hi:
I want to monitorize an udp port, but i can't

I run ./check_udp -H myIP -p myIP -4 -w 5 -c 8 -s test1 -e test2 -q test3 -v but the  i have obtained: CRITICAL-Socket timeout after 10 seconds

Also i have executed nmap -sU -p myPORT -P0 myIP

and the result says that the port is open..
whats the problem?

can you help me?

Thanks

Regards
José Pedro Brito Röseler | 7 Jul 16:17 2015
Picon

Cannot use snmp_check with snmp v3

Hello.

 

I’m trying to check the uptime of a Cisco 2960X switch on Nagios with check_snmp plugin but I always get the following error:

 

[root <at> nagios]# /usr/lib64/nagios/plugins/check_snmp -P 3 -U snmpv3user -L authPriv -a MD5 -A v3p4ssword#1 -x DES -X v3p4ssword#2 -H 192.168.254.2 -o DISMAN-EVENT-MIB::sysUpTimeInstance

External command error: snmpget: Authentication failure (incorrect password, community or key)

 

I get the same error on the web console:

 

My switches.conf is like this:

 

# HOST DEFINITIONS

#

###############################################################################

###############################################################################

 

# Define the switch that we'll be monitoring

 

define host{

        use                     generic-switch,host-pnp

        host_name               cisco_2960x_IT2_Datacenter

        alias                   cisco 2960x 24p IT2 Datacenter

        address                 192.168.254.2

        hostgroups              switches_v3

        notification_interval   60

        icon_image              switch.png

        statusmap_image         switch40.png

        }

 

 

 

###############################################################################

###############################################################################

#

# HOST GROUP DEFINITIONS

#

###############################################################################

###############################################################################

 

# Create a new hostgroup for switches

 

define hostgroup{

        hostgroup_name  switches                ; The name of the hostgroup

        alias           Network Switches        ; Long name of the group

        }

 

define hostgroup{

        hostgroup_name  switches_v3             ; The name of the hostgroup

        alias           Network Switches with SNMP v3        ; Long name of the group

        }

 

###############################################################################

###############################################################################

#

# SERVICE DEFINITIONS

#

###############################################################################

###############################################################################

 

########## Switches with SNMP V3 ###################

 

# Service definition to monitor switch uptime using check_snmp

 

# Monitor uptime via SNMP

 

define service{

use                     generic-service

hostgroup_name          switches_v3

service_description     Uptime

check_command           check_snmp!-P 3 -U snmpv3user -L authPriv -a MD5 -A v3p4ssword#1 -x DES -X v3p4ssword#2 -o DISMAN-EVENT-MIB::sysUpTimeInstance

}

 

 

 

If I do the same test with snmpget, everything runs fine:

 

[root <at> nagios]# snmpget -v3 -l authPriv -u snmpv3user -a MD5 -A v3password#1 -x DES -X v3password#2 192.168.254.2 DISMAN-EVENT-MIB::sysUpTimeInstance

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (783093831) 90 days, 15:15:38.31

 

snmpwalk also runs without problems:

 

[root <at> nagios]# snmpwalk -v3 -l authPriv -u snmpv3user -a MD5 -A v3password#1 -x DES -X v3password#2 192.168.254.8 DISMAN-EVENT-MIB::sysUpTimeInstance

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (783167495) 90 days, 15:27:54.95

 

 

Do you have any idea of what might be happening? I’m using a FAN installation on Centos.

[root <at> nagios]# uname -a

Linux nagios 2.6.18-400.1.1.el5 #1 SMP Thu Dec 18 00:59:53 EST 2014 x86_64 x86_64 x86_64 GNU/Linux

 

Thanks in advance for your help!

 

Best regards,

Pedro Röseler

Brandon Nistor | 1 Jul 21:01 2015
Picon

check_tcp question

Hello,

I am trying to implement the check_tcp command to monitor if a specific port is closed on a host, and not open. This page https://www.monitoring-plugins.org/doc/man/check_tcp.html has a few options which I've tried, with zero success, including:

-r and -M and -e

Basically, if the check can not connect to the port, that is the intended result. I am getting socket timeouts when I try the following from the nagios box itself to the host:

./check_tcp -H $HOST -p 8079 -r crit
CRITICAL - Socket timeout after 10 seconds
./check_tcp -H $HOST -p 8079 -e "CRITICAL - Socket timeout after 10 seconds"
CRITICAL - Socket timeout after 10 seconds
./check_tcp -H $HOST -p 8079 -M crit

Can you put me in the right direction for getting this to work?

Thank you,

Brandon

Gmane