Plugin timed out while executing system call

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Plugin timed out while executing system call

Post 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
Thanks
Höegh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Plugin timed out while executing system call

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Plugin timed out while executing system call

Post 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
Thanks
Höegh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Plugin timed out while executing system call

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Plugin timed out while executing system call

Post 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
Thanks
Höegh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Plugin timed out while executing system call

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Plugin timed out while executing system call

Post 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
You do not have the required permissions to view the files attached to this post.
Thanks
Höegh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Plugin timed out while executing system call

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
hoegh
Posts: 201
Joined: Thu Jan 04, 2018 7:48 am

Re: Plugin timed out while executing system call

Post 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.
Thanks
Höegh
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Plugin timed out while executing system call

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked