error executing service

Jose Castilla Gallardo josej.castilla at juntadeandalucia.es
Tue Jan 17 15:07:46 CET 2006


hi, i have in services.cfg:
define service {
        host_name                          GESTION_PORTAL
        service_description                RED_IN
        is_volatile                     0
        check_period                    24x7
        max_check_attempts              3
        normal_check_interval           5
        retry_check_interval            1
        contact_groups                  router-admins
        notification_interval           5
        notification_period             24x7
        notification_options            c,r
        check_command                   apan-sql!snmpget!10!20
}

when executing this command get:

++ /usr/local/nagios/libexec/check_snmp -H GESTION_PORTAL -C public -o 
.1.3.6.1.2.1.2.2.1.16.1
+ VALUE='SNMP OK - 359945961 | iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;  '
+ STATUS=0
++ echo SNMP OK - 359945961 '|' 'iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;'
++ awk '{print $NF}'
+ COUNTER='iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;'
+ '[' 0 -gt 0 ']'
+ TEMPL=:OUT
+ DATA='1137503475:iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;'
+ RETVAL=0
+ RETSTR='SNMP OK: OUT:iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;, '
+ ERR=0
+ '[' 0 = 0 ']'
++ echo :OUT
++ cut -b 1-1
+ '[' : = : ']'
++ echo :OUT
++ cut -b 2-
+ TEMPL=OUT
+ /usr/bin/rrdtool update /usr/local/nagios/rrd/GESTION_PORTAL-RED.rrd 
-t OUT '1137503475:iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;'
ERROR: not a simple integer: 'iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;'
+ echo SNMP OK: 'OUT:iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;,'
SNMP OK: OUT:iso.3.6.1.2.1.2.2.1.16.1=359945961c;;;;,
+ exit 0

Do you know why and how resolve?

thanks


-- 
Saludos
   _______________________________________
 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: josej.castilla.vcf
Type: text/x-vcard
Size: 136 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060117/38b1fbd9/attachment.vcf>


More information about the Users mailing list