Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_zone_names

Rating
0 votes
Favoured:
0
Current Version
1.0.0
Last Release Date
2015-02-09
Compatible With
  • Nagios 3.x
License
GPL
Hits
9064
Files:
FileDescription
check_zone_namescheck_zone_names
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Verify if a contingency zone file have all names/hosts form the prodution zone file.
It's designed to garanty that both, production and contingency zone are sincronized.
Versao:

Script : check_zone_names
Versao : 1.0.0
Criador: Otavio Gloria (og@e-trust.com.br)
Criacao: 22/01/2015

Uso:

check_zone_names -[h|u|v] [--help|--usage|--version]
check_zone_names

Ajuda:

Script de monitoramento que verifica se as entradas de uma arquivo de zona do bind
existe em outro arquivo de zona.
Verifica se as entradas do arquivo 1 (argumento1) existem no arquivo 2 (argumento2).
Soh verifica os nomes, nao os tipos e nem os valores.

Parametros:

-h|--help Mostra esta mensagem de ajuda
-u|--usage Mostra o uso dos parametros no script
-v|--version Mostra a versao atual do script
Arquivo de zona a ter as entradas conferidas
Arquivo de zona onde as entradas serao conferidas
Tipo de alerta caso nao seja encontrada alguma entrada
Pode ser ok, warning, critical ou unknown

Exemplos:

check_zone_names -h
check_zone_names -u
check_zone_names -v
check_zone_names --help
check_zone_names --usage
check_zone_names --version
check_zone_names /var/named/zones/teste.com.zone /var/named/zones/exemplo.com.zone critical
check_zone_names exemplo.com.zone foo.net.zone ok

---------------------------------------

CRITICAL - Dominio: teste.com.br, Arquivo: /var/named/chroot/db/teste.com.br.zone, Nomes faltantes: 13 (centralservicos, cob, execplan, kacev2, mobilebanking, mobilectt, nimsoft, perdiminhasenha, portalsc, portalv1, portalv2, simuladores, vpn)

OK - Dominio: teste.com.br, Arquivo: /var/named/chroot/db/teste.com.br.zone, Nomes faltantes: 0