[nagiosplug] working on ubuntu precise12.04
"Nagios Plugin Development" <[email protected]> Thu, 15 Aug 2013 09:40:17 +0000
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module: nagiosplug Branch: master Commit: 93b35b06f953e868de4b79e420c0c967ca78feaf Author: Fabio Rueda <[email protected]> Date: Wed Feb 27 18:22:18 2013 +0100 URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=93b35b0 working on ubuntu precise12.04 --- contrib/check_nmap.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/contrib/check_nmap.py b/contrib/check_nmap.py index b7a8738..481a62b 100644 --- a/contrib/check_nmap.py +++ b/contrib/check_nmap.py @@ -207,8 +207,7 @@ class CheckNmap: # _if_ two processes in deed get the same tmp-file # the only result is a normal error message to nagios # - r=random.random() - self.tmp_file=tempfile.mktemp('.%s')%r.randint(0,100000) + self.tmp_file=tempfile.mktemp('.%s') % random.randint(0,100000) if self.debug: print 'Tmpfile is: %s'%self.tmp_file # ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk