Page 1 of 2

Plugin timed out while executing system call

Posted: Mon Nov 18, 2019 9:41 am
by hoegh
Hi,

We have upgraded two servers from Windows 2008 to Windows 2012. After successful upgradation we are facing issue with waiting and dead mail.These services are critical with error message as "Plugin timed out while executing system call".


Kindly suggest any solution for the above.

Thanks,
Hoegh

Re: Plugin timed out while executing system call

Posted: Mon Nov 18, 2019 2:15 pm
by lmiltchev
What kind of checks are these? Can you show us an example of a check, run from the command line, along with the output of it?

Re: Plugin timed out while executing system call

Posted: Tue Nov 19, 2019 1:20 am
by hoegh

Code: Select all

.\check_snmp -H osldo003 -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -C STA#1ogBEST -P 2c -l "Waiting Mail" -u "Mails" -m domino -w 8 -c 10
CRITICAL - Plugin timed out while executing system call

Re: Plugin timed out while executing system call

Posted: Tue Nov 19, 2019 9:19 am
by lmiltchev
Is SNMP service enabled/running on the client (remote machine)? It is possible that the service was not started after the upgrade...

If the service is running, but you are still having issues, check the community string, and make sure that it is accurate (check for typos). You could try wrapping the community string in single quotes and increase the timeout:

Code: Select all

.\check_snmp -H osldo003 -t 30 -o .1.3.6.1.4.1.334.72.1.1.4.6.0 -C 'STA#1ogBEST' -P 2c -l "Waiting Mail" -u "Mails" -m domino -w 8 -c 10

Re: Plugin timed out while executing system call

Posted: Thu Nov 21, 2019 8:12 am
by hoegh
Hi,

SNMP service is enabled/running on the client, checked with the community string and tried with single quotes as well and increased the timeout period. But still the same output "Plugin timed out while executing system call".
Please suggest.

Regards,
Hoegh

Re: Plugin timed out while executing system call

Posted: Thu Nov 21, 2019 10:25 am
by lmiltchev
Hmm, that's strange. Can you run a snmpwalk against this box? Try using both, hostname, and IP address to see if you are going to get any output:

Code: Select all

snmpwalk -v2c -c 'STA#1ogBEST' -t 30 osldo003
snmpwalk -v2c -c 'STA#1ogBEST' -t 30 x.x.x.x
Note: Substitute "x.x.x.x" with the actual IP address of your server.

Re: Plugin timed out while executing system call

Posted: Mon Nov 25, 2019 6:04 pm
by hoegh
Hi @lmiltchev,

I don't have any knowledge about snmpwalk. SO i don't know where to run below command. Also I've not found any command names snmpwalk in Nagios plugins.

I've tried in other ways (PFA) but no success. Please check attached document.
SNMP Walk - Action Taken.pdf
Please Let me know what to do next.

Also, please help me with some links or docs which can provide me more knowledge about these SNMP parameters [with respect to Nagios] like MIB,OID,Community and their importance.

Thanks
Hoegh

Re: Plugin timed out while executing system call

Posted: Tue Nov 26, 2019 11:15 am
by lmiltchev
Open a SSH (putty) session to your Nagios XI server, logged in as root. Next, run these commands:

Code: Select all

snmpwalk -v2c -c 'STA#1ogBEST' -t 30 osldo003
snmpwalk -v2c -c 'STA#1ogBEST' -t 30 x.x.x.x
substituting "x.x.x.x" with the actual IP address of your server.

The "snmpwalk" command should be already present on your Nagios XI server. You don't need to install anything else, e.g. 3rd party plugins whatnot... Just run these commands and show the output.

Re: Plugin timed out while executing system call

Posted: Tue Nov 26, 2019 2:11 pm
by hoegh
lmiltchev wrote:Open a SSH (putty) session to your Nagios XI server, logged in as root. Next, run these commands:

Code: Select all

snmpwalk -v2c -c 'STA#1ogBEST' -t 30 osldo003
snmpwalk -v2c -c 'STA#1ogBEST' -t 30 x.x.x.x
substituting "x.x.x.x" with the actual IP address of your server.
Tried for both servers in both ways using server name as well as IP address.
But getting Timeout: No Response from server/x.x.x.x

Tried increasing timeout but no success.

Re: Plugin timed out while executing system call

Posted: Tue Nov 26, 2019 2:55 pm
by lmiltchev
When you check the properties of the SNMP service (under the Security tab), what do you see? Is community string correct? Can you accept packets from your host (any host)? Is it possible that your firewall is blocking UDP port 161?

Run the following command on the Nagios XI server, and show the output:

Code: Select all

nmap -sU x.x.x.x -p 161
where you substitute "x.x.x.x" with the actual IP address of the remote machine.