[Ilugc] Zabbix Process Monitoring Script Help Required.

  • From: raamanp@xxxxxxxxx (Raman Pandarinathan)
  • Date: Thu, 28 Aug 2014 15:21:26 +0530

On 8/28/14, Ilesh war <ileshwar at gmail.com> wrote:

Hi,

I have implemented Zabbix 2.2 on OpenSuSE (Virtual Appliance). Its working
well, I have downloaded a perl script from forums to monitor processes of
windows servers to which process taking how much load. when I execute the
script I am getting following error.

# perl lld_all_graph.pl
Scalar found where operator expected at lld_all_graph.pl line 62, near
"$dec"
        (Missing semicolon on previous line?)
syntax error at lld_all_graph.pl line 62, near "$dec "

I do not have any perl scripting knowledge. I have searched in forum that I
need to check URL and PASSWORD. The URL and PASSWORD are correct ( using
default credentials).

The steps i have taken is as follows
#chmod +x lld_all_graph.pl
#chmod +x list_items.pl
#dos2unix lld_all_graph.pl
#dos2unix list_items.pl

I am giving scripts urls please guide me where I am doing wrong.

http://pastebin.com/gh6YAvtE
http://pastebin.com/wGkStHJ5


--

A semicolon is missing in line 62 i.e
 return $dec_out

Change this to
return $dec_out;

Raman.P


-- 
blog:http://ramanchennai.wordpress.com/

Other related posts: