diff --git a/poller-service.py b/poller-service.py index b545e4bcd..69a436176 100755 --- a/poller-service.py +++ b/poller-service.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 """ poller-service A service to wrap SNMP polling. It will poll up to $threads devices at a time, and will not re-poll devices that have been polled within the last $poll_frequency seconds. It will prioritize devices based diff --git a/poller-wrapper.py b/poller-wrapper.py index 43e91f76a..1fa00b461 100755 --- a/poller-wrapper.py +++ b/poller-wrapper.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python2 """ poller-wrapper A small tool which wraps around the poller and tries to guide the polling process with a more modern approach with a diff --git a/scripts/agent-local/nginx b/scripts/agent-local/nginx index d6319f1b2..b0a6a5092 100755 --- a/scripts/agent-local/nginx +++ b/scripts/agent-local/nginx @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import urllib2 import re diff --git a/scripts/mysql-stats b/scripts/mysql-stats index 1a215832e..d191bdbbc 100644 --- a/scripts/mysql-stats +++ b/scripts/mysql-stats @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import warnings import re warnings.filterwarnings(action="ignore", message='the sets module is deprecated') diff --git a/scripts/nginx-stats b/scripts/nginx-stats index a3c14fa52..1cedca5ba 100644 --- a/scripts/nginx-stats +++ b/scripts/nginx-stats @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import urllib2 import re