Go to All Forums

Open files plugin in a Linux server,showing data in decimal what does it mean?

We have Open files plugin configured for Linux server, but in graph its showing data in decimal what does it mean it should be of Int  type which will never have decimal value?

Any plugin one with slimier issue ?   

Like (2) Reply
Replies (1)

Hi Rajesh,

We fetch the open file count by reading the values present in the file '/proc/sys/fs/file-nr'

We do not show a decimal value, unless the values returned have one. To avoid this, please edit the plugin script file as the following:

Open the plugin file and replace the line data["open_files"] = open_files to data["open_files"] = int(open_files)

 

Let us know for other queries, if any. 

 

Regards,

Sriram

 

 

Like (0) Reply

Was this post helpful?