Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory

agentdavidson

Reviews(2)
byagentdavidson, May 8, 2017
Hi Willix -

I couldn't get the -net flag to work but I updated the $oid_engineTime as follows:-

-my $oid_engineTime = '1.3.6.1.6.3.10.2.1.3'; # SNMP-FRAMEWORK-MIB
+my $oid_engineTime = '1.3.6.1.6.3.10.2.1.3.0'; # SNMP-FRAMEWORK-MIB

It appears to need the dot zero on the end of it.

Cheers
Matt
byagentdavidson, April 12, 2017
I found I had to add a 'space' in the perfdata print statement in order for pnp4nagios to process the perfdata correctly
-$perfdata = sprintf("| SessActive=%s,SessMax=%s,SessFail=%s\n",
+$perfdata = sprintf("| SessActive=%s, SessMax=%s, SessFail=%s\n",

Thanks