diff options
author | Kristian Lyngstol <kly@kly.no> | 2016-03-16 18:15:52 +0000 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2016-03-16 18:15:52 +0000 |
commit | 4666a02a51fa313e34875c169502a0cecf834b1c (patch) | |
tree | 1304ed9ed0c978465b2ffaae2ba19b455d32761c /include/nms.pm | |
parent | 783096cef942a275f23f7c7cb63bbca175cff0ba (diff) |
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.
Diffstat (limited to 'include/nms.pm')
-rwxr-xr-x | include/nms.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |