From 4666a02a51fa313e34875c169502a0cecf834b1c Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Wed, 16 Mar 2016 18:15:52 +0000 Subject: NMS: Rewrite the SNMP fetcher and whatnot Again. It's using the prototype, and the objects are configurable. I assume this will need some work. Also: I touched ping up to make it work without linknets. --- include/nms.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/nms.pm') diff --git a/include/nms.pm b/include/nms.pm index 6a9598e..2ec922b 100755 --- a/include/nms.pm +++ b/include/nms.pm @@ -26,7 +26,7 @@ sub db_connect { my $dbh = DBI->connect($connstr, $nms::config::db_username, - $nms::config::db_password) + $nms::config::db_password, {AutoCommit => 0}) or die "Couldn't connect to database"; return $dbh; } -- cgit v1.2.3