{"id":453,"date":"2012-04-09T14:45:47","date_gmt":"2012-04-09T12:45:47","guid":{"rendered":"http:\/\/diablo.craem.net\/wordpress\/?p=453"},"modified":"2012-04-09T14:45:47","modified_gmt":"2012-04-09T12:45:47","slug":"backup-exec-nagios-monitorizar-las-copias-parte-2","status":"publish","type":"post","link":"https:\/\/diablo.craem.net\/?p=453","title":{"rendered":"Backup Exec + Nagios; monitorizar las copias. Parte 2"},"content":{"rendered":"<p>Primero editamos el fichero donde tenemos todos los hosts, y definimos el nuevo:<br \/>\n<code><br \/>\ndefine host {<br \/>\n        use             windows-server<br \/>\n        host_name       tertius_angel_copias<br \/>\n        alias           tertius_angel_copias<br \/>\n        address         ip.del.servidor.be<br \/>\n        icon_image      win40.gif<br \/>\n        statusmap_image win40.gd2<br \/>\n        hostgroups      routers_angel<br \/>\n<\/code><br \/>\nY ahora, el service:<br \/>\n<code><br \/>\ndefine service{<br \/>\n        use                     generic-service<br \/>\n        host_name               tertius_angel_copias<br \/>\n        service_description     BackupExec Copia diaria<br \/>\n        check_command           check_nrpe!check_be<br \/>\n        normal_check_interval   4<br \/>\n        retry_check_interval    3<br \/>\n        max_check_attempts      4<br \/>\n        notification_interval   0<br \/>\n        }<br \/>\n<\/code><br \/>\nReiniciamos el nagios&#8230;<br \/>\n<code><br \/>\n# \/etc\/init.d\/nagios force-reload<br \/>\n<\/code><br \/>\nY listo.<br \/>\nAhora veremos si lo hemos hecho bien&#8230;.<br \/>\n<a href=\"https:\/\/diablo.craem.net\/wp-content\/uploads\/2012\/04\/nagios1.jpg\"><img decoding=\"async\" src=\"https:\/\/diablo.craem.net\/wp-content\/uploads\/2012\/04\/nagios1-300x134.jpg\" alt=\"\" title=\"nagios1\" width=\"300\" height=\"134\" class=\"aligncenter size-medium wp-image-454\" \/><\/a><br \/>\nY nos devuelve el estado del servicio:<br \/>\n<a href=\"https:\/\/diablo.craem.net\/wp-content\/uploads\/2012\/04\/nagios2.jpg\"><img decoding=\"async\" src=\"https:\/\/diablo.craem.net\/wp-content\/uploads\/2012\/04\/nagios2-300x105.jpg\" alt=\"\" title=\"nagios2\" width=\"300\" height=\"105\" class=\"aligncenter size-medium wp-image-456\" \/><\/a><br \/>\nAqu\u00ed\u00ad nos \u00abchiva\u00bb que la copia ha acabado con excepciones.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Primero editamos el fichero donde tenemos todos los hosts, y definimos el nuevo: define host { use windows-server host_name tertius_angel_copias alias tertius_angel_copias address ip.del.servidor.be icon_image win40.gif statusmap_image win40.gd2 hostgroups routers_angel Y ahora, el service: define service{ use generic-service host_name tertius_angel_copias service_description BackupExec Copia diaria check_command check_nrpe!check_be normal_check_interval 4 retry_check_interval 3 max_check_attempts 4 notification_interval 0 } [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,8],"tags":[31,39,102,117,130,197],"class_list":["post-453","post","type-post","status-publish","format-standard","hentry","category-linux","category-varios","tag-backupexec","tag-check_be","tag-linux-2","tag-nagios","tag-nrpe","tag-windows"],"_links":{"self":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=453"}],"version-history":[{"count":0,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=\/wp\/v2\/posts\/453\/revisions"}],"wp:attachment":[{"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/diablo.craem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}