HttpdOnNFSFilesCount - datasource httpd_on_nfs

Shared parsers for parsing output of the datasource httpd_on_nfs.

class insights.parsers.httpd_open_nfs.HttpdOnNFSFilesCount(context)[source]

Bases: JSONParser

This class provides processing for the output of the datasource of httpd_on_nfs

The content collected by insights-client:

{"http_ids": [1787,2399], "nfs_mounts": ["/data", "/www"], "open_nfs_files": 1000}

Examples

>>> httpon_nfs.http_ids == [1787,2399]
True
>>> httpon_nfs.nfs_mounts == ["/data", "/www"]
True
>>> httpon_nfs.open_nfs_files == 1000
True
data

dict with keys “http_ids”, “nfs_mounts” and “open_nfs_files”

Type:

dict

http_ids

contains all httpd process ids

Type:

list

nfs_mounts

contains all nfs v4 mount points

Type:

list

open_nfs_files

counting number of all httpd open files on nfs v4 mount points

Type:

number

parse_content(content)[source]

This method must be implemented by classes based on this class.