| Total Complexity | 1 | 
| Total Lines | 18 | 
| Duplicated Lines | 0 % | 
| Coverage | 0% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | """ | ||
| 14 | class NagiosCommand(Command): | ||
| 15 | """ | ||
| 16 | Test whether Enarksh is running properly. | ||
| 17 | |||
| 18 | nagios | ||
| 19 | """ | ||
| 20 | |||
| 21 | # ------------------------------------------------------------------------------------------------------------------ | ||
| 22 | def handle(self): | ||
| 23 | """ | ||
| 24 | Executes the Nagios command. | ||
| 25 | """ | ||
| 26 | self.output = EnarkshStyle(self.input, self.output) | ||
| 27 | |||
| 28 | client = NagiosClient(self.output) | ||
| 29 | ret = client.main() | ||
| 30 | |||
| 31 | return ret | ||
| 32 | |||
| 34 |