From a64b04ba7dac0881071dfc897661577133c016ae Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 13 Apr 2008 09:44:19 +0000 Subject: When we have colors, do not say recovery or problem git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@339 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- parse-nagios | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/parse-nagios b/parse-nagios index a0d3e97..56c6502 100755 --- a/parse-nagios +++ b/parse-nagios @@ -96,13 +96,13 @@ $type =~ tr/A-Z/a-z/; $service = $host unless defined $service; if ($state =~ m/CRITICAL/) { - $hosttype = "$type\@4$host"; + $hosttype = "4$host"; } elsif ($state =~ m/WARNING/) { - $hosttype = "$type\@5$host"; + $hosttype = "5$host"; } elsif ($state =~ m/OK/) { - $hosttype = "$type\@3$host"; + $hosttype = "3$host"; } elsif ($state =~ m/UNKNOWN/) { - $hosttype = "$type\@6$host"; + $hosttype = "6$host"; } else { $hosttype = "$type\@$host"; } -- cgit v1.2.3