Gateway Timeout running wizard

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sctheide
Posts: 10
Joined: Fri May 14, 2021 10:22 am

Gateway Timeout running wizard

Post by sctheide »

Just started happening. When adding Juniper EX switches using the Network Switch/Router wizard I get timeouts. No issues running the wizard on Cisco switches. I have already added at least 20 Juniper EX switches so far, but can no longer add any. I put the IP in the SNMP string, and set default port speed to 1000 and click next, then it sits and spins before eventually popping up

Gateway Timeout

The gateway did not receive a timely response from the upstream server or application.

Started doing this the other day, I went in and deleted a lot of admin down, or not in use interfaces, but that made no difference. If I run at the CLI, it works fine;

/usr/bin/cfgmaker --show-op-down --noreversedns --zero-speed '100000000' '[email protected]:161::::2'

I get all kinds of information.

It appears as if it is timing out waiting to complete the snmpwalk, and the Junipers do take a long time running the above command compared to Cisco, so I'm wondering if there is a timer setting somewhere that got changed?
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Gateway Timeout running wizard

Post by gsmith »

Hi,

There is no timer setting. In the Network Switch/Router wizard the SNMP version defaults to 2c, are
you leaving that as is? Your cfgmaker command is set to use version 2 so I wanted to be sure.

Could you try running the SNMP Walk wizard against the Juniper please? It allows you to set a timeout
and also lets you control the number of results. Would be interesting to see if you can get it to respond
if you set the timeout high enough.

How many devices are monitoring? And what is the typical number of OIDs per device (roughly)?

Thanks
sctheide
Posts: 10
Joined: Fri May 14, 2021 10:22 am

Re: Gateway Timeout running wizard

Post by sctheide »

I don't know about the oids, but the Junipers have over 1000 ports that come up once scanned. I made no changes other than IP in the wizard.

So what I did was set the snmpwalk to 1000, left everything else default, and it paused for a bit then came up with a list of OIDs.

I ran the Network Switch/Router wizrd on the Juniper again, this time unchecking the autodetect interfaces scan, and the ports all came up immediately, so it appears that the scanning of interfaces is where it is timing out. Could this be a resource issue> I have a couple dozen Junipers already in the system, and cleaned up all the downed, and admin downed interfaces, removed over 4000 services doing so.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Gateway Timeout running wizard

Post by gsmith »

Hi,

Could be a resource issue.

Please send me your system profile.
1. Login to the Nagios XI GUI using a web browser.
2. Click the "Admin" > "System Profile" Menu
3. Click the "Download Profile" button
4. Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.

Thanks
sctheide
Posts: 10
Joined: Fri May 14, 2021 10:22 am

Re: Gateway Timeout running wizard

Post by sctheide »

This turned out to be related to another issue we were having with the config file management. The php.conf needed some modifications which resolved this issue. Apparently it was a php issue.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Gateway Timeout running wizard

Post by gsmith »

Glad you got it resolved.

Thanks for the update.
Locked