Search found 120 matches
- Tue Jan 03, 2023 10:51 am
- Forum: Nagios XI
- Topic: How to drop unneeded traps received by snmptt?
- Replies: 5
- Views: 2691
Re: How to drop unneeded traps received by snmptt?
I understand--no dropping traps. I've tried the following technique described above and it worked: 3. Using a MATCH statement to explicitly not match on any variable, e.g. MATCH $3: (DROP THIS TRAP) When I added it to a specific trap definition, that trap got dropped. My question now is about anothe...
- Wed Dec 28, 2022 3:45 pm
- Forum: Nagios XI
- Topic: How to drop unneeded traps received by snmptt?
- Replies: 5
- Views: 2691
Re: How to drop unneeded traps received by snmptt?
I'd like to do it at the GUI level in Nagios when I configure traps. There are tons of traps that keep coming and need to be configured. What I do not want is to go to the file and manually change something every time the new trap comes in. It is not a question of severity - i'd like to drop them so...
- Mon Dec 26, 2022 1:33 pm
- Forum: Nagios XI
- Topic: How to drop unneeded traps received by snmptt?
- Replies: 5
- Views: 2691
How to drop unneeded traps received by snmptt?
There are multiple traps that we don't want to receive, in some cases all the traps from specific MIBs. We want to ingest the MIBs so the traps would be recognized properly but we want to be able to easily drop them. I can think of three solutions--all of them are looking as jumping through the hoop...
- Fri Mar 20, 2020 4:54 pm
- Forum: Nagios XI
- Topic: NCPA plugin execution gets Timeout error
- Replies: 11
- Views: 2781
Re: NCPA plugin execution gets Timeout error
I have tried to turn on 'Allow service to communicate to desktop' but it did not help. I ran the test3.bat as suggested on MY id and it worked as expected. I also got the pop up message. C:\Program Files (x86)\Nagios\NCPA\plugins>start /b test3.bat C:\Program Files (x86)\Nagios\NCPA\plugins>ok 0 C:\...
- Tue Mar 10, 2020 3:04 pm
- Forum: Nagios XI
- Topic: NCPA plugin execution gets Timeout error
- Replies: 11
- Views: 2781
Re: NCPA plugin execution gets Timeout error
I think you are right--on my laptop the setting is HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System EnableLUA REG_DWORD 0x0 and on my VM where I was doing testing it is HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System EnableLUA REG_DWORD 0x1 I'...
- Mon Mar 09, 2020 12:52 pm
- Forum: Nagios XI
- Topic: NCPA plugin execution gets Timeout error
- Replies: 11
- Views: 2781
Re: NCPA plugin execution gets Timeout error
Here is what I discovered with further testing and it is weird. I tested this snippet on the prod server and it is working. But when I tested it on my virtual machine where I am administrator it is hanging and gives a timeout error in 60 sec. The difference I believe was that somehow I did not have ...
- Fri Mar 06, 2020 2:55 pm
- Forum: Nagios XI
- Topic: NCPA plugin execution gets Timeout error
- Replies: 11
- Views: 2781
Re: NCPA plugin execution gets Timeout error
I was trying to isolate the problem with Timeout of the plugin. Apparently, I isolated it incorrectly--there was a reason for a timeout. But how about this plugin that times out? @echo off start msg * "The system will be rebooted in 30 min. Please save your work and logoff" exit 2 This was...
- Fri Mar 06, 2020 2:04 pm
- Forum: Nagios XI
- Topic: NCPA plugin execution gets Timeout error
- Replies: 11
- Views: 2781
Re: NCPA plugin execution gets Timeout error
Interesting. So the hangs happens because the 'start' command does not find the script and pops up a message box,
But why in a world is the default directory not a plugins directory?
Is there a way to change the default using ncpa.cfg?
But why in a world is the default directory not a plugins directory?
Is there a way to change the default using ncpa.cfg?
- Thu Mar 05, 2020 1:58 pm
- Forum: Nagios XI
- Topic: NCPA plugin execution gets Timeout error
- Replies: 11
- Views: 2781
NCPA plugin execution gets Timeout error
I have a batch file plugin that spawns off another batch file and immediately ends. It works fine in the command window but when executed as a Nagios plugin the execution is hung for 60 sec and then ends with { "returncode": 1, "stdout": "Error: Plugin command timed out. (60...
- Mon Mar 25, 2019 9:57 am
- Forum: Nagios XI
- Topic: NCPA 2.1.6 windowscounters API ignores -u parameter
- Replies: 12
- Views: 1260
Re: NCPA 2.1.6 windowscounters API ignores -u parameter
My apologies--I did not see the second page that had your reply. Yes, it is working now very nicely. It makes sense now when you say the -n is a required parameter now. Please close this case. Thank you for your help.