Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
amueller
byamueller, June 2, 2020
On Icinga 2 this check does not provide any per data, because of wrong Perf data output format.
To fix this it is required to change the line from
perfdata = 'ActiveConn:%s,reading:%s,writing:%s,waiting:%s' % (ActiveConn,reading,writing,waiting)
to
perfdata = 'ActiveConn=%s; reading=%s; writing=%s; waiting=%s' % (ActiveConn,reading,writing,waiting)
This works for me to get it working for icinga 2.
To fix this it is required to change the line from
perfdata = 'ActiveConn:%s,reading:%s,writing:%s,waiting:%s' % (ActiveConn,reading,writing,waiting)
to
perfdata = 'ActiveConn=%s; reading=%s; writing=%s; waiting=%s' % (ActiveConn,reading,writing,waiting)
This works for me to get it working for icinga 2.