fix munin script
authorChristian Weiske <cweiske@cweiske.de>
Fri, 17 Dec 2010 23:22:26 +0000 (00:22 +0100)
committerChristian Weiske <cweiske@cweiske.de>
Fri, 17 Dec 2010 23:22:26 +0000 (00:22 +0100)
scripts/munin.php

index f9bf147a4577f72f94951ec0de80b652787cc85b..cf7892f9459f09c90fc3236cc92f4e58f7ad366c 100755 (executable)
@@ -54,7 +54,7 @@ try {
     $router->user     = $GLOBALS['linksys-wrt3g-tools']['user'];
     $router->password = $GLOBALS['linksys-wrt3g-tools']['password'];
 
-    $arStatus = $router->getStatus();
+    $arStatus = $router->getConnectionStatus();
 
     $conn = $arStatus['connection'];
     if ($conn == 'disconnected') {