mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-28 01:26:45 -04:00
Enhanced test for single letters in fqdn
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1549 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
fc6caed01c
commit
287cd311a2
1 changed files with 2 additions and 0 deletions
|
|
@ -35,6 +35,8 @@ my $hostname_checks = {
|
|||
"host.888." => 1,
|
||||
"where.did.that.!.come.from." => 0,
|
||||
"no.underscores_.com" => 0,
|
||||
"a.somecompany.com" => 1,
|
||||
"host.a.com" => 1,
|
||||
};
|
||||
|
||||
plan tests => ((scalar keys %$hostname_checks) + 4);
|
||||
|
|
|
|||
Loading…
Reference in a new issue