Changeset 2810 for trunk/ldap/el/config/etc/nagios/check_ldap_mmr.real
- Timestamp:
- Dec 12, 2016, 6:22:02 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ldap/el/config/etc/nagios/check_ldap_mmr.real
r1670 r2810 35 35 my $serverlastend=$entr->get_value($lastend); 36 36 my $statuscode = $serverstatus; 37 $statuscode =~ s/ (^[-0123456789]+) (.*$)/$1/;37 $statuscode =~ s/^(?|([-0123456789]+)|Error \(([-0123456789]+)\)) (.*)$/$1/; 38 38 $serverlaststart =~ s/(....)(..)(..)(..)(..)(..)./$1-$2-$3\ $4:$5:$6/; 39 39 $serverlastend =~ s/(....)(..)(..)(..)(..)(..)./$1-$2-$3\ $4:$5:$6/;
Note: See TracChangeset
for help on using the changeset viewer.