Search found 5 matches
- Fri Feb 25, 2022 5:52 am
- Forum: Open Source Nagios Projects
- Topic: snmp_check not working with text OID after CPAN installation
- Replies: 4
- Views: 1462
Re: snmp_check not working with text OID after CPAN installa
Maybe try setting -m SNMPv2-MIB.mib in the command, and make sure SNMPv2-MIB.mib is in the mibs dir? -m, --miblist=STRING List of MIBS to be loaded (default = none if using numeric OIDs or 'ALL' for symbolic OIDs.) Hey! Thank you sir! Specifying SNMPv2-MIB.txt did the trick (I'm curious why, though).
- Wed Feb 23, 2022 11:48 am
- Forum: Open Source Nagios Projects
- Topic: snmp_check not working with text OID after CPAN installation
- Replies: 4
- Views: 1462
Re: snmp_check not working with text OID after CPAN installa
As you can see the in the fourth code block I'm already using check_snmp with -v optiongormank wrote:Maybe try check_snmp --verbose or -v to see if that tells you more. All I can think of is that the MIB can't be read by the nagios user. I don't see how the other things can impact testing from the shell.
- Tue Feb 22, 2022 6:26 am
- Forum: Open Source Nagios Projects
- Topic: snmp_check not working with text OID after CPAN installation
- Replies: 4
- Views: 1462
snmp_check not working with text OID after CPAN installation
Hi, yesterday I was adding some firewalls on my Nagios. I added successfully a SonicWall SMA virtual appliance using several SNMP checks, and that was working fine until yesterday at around 10:45. Note that I copied related MIBs to /usr/share/snmp/mib folder. My linux history shows that at that time...
- Thu Aug 05, 2021 9:43 am
- Forum: Open Source Nagios Projects
- Topic: Setting a timeout for a custom script
- Replies: 3
- Views: 2067
Re: Setting a timeout for a custom script
I can't recall where, but I read that I can set the check as "passive". In this case the plugin wouldn't be killed by Nagios, correct?
- Thu Aug 05, 2021 4:37 am
- Forum: Open Source Nagios Projects
- Topic: Setting a timeout for a custom script
- Replies: 3
- Views: 2067
Setting a timeout for a custom script
Hello, for the company I work for, I created a bash script that works as a Nagios plugins. Without entering too much into details, this script using curl , calls an API and downloads a json with an undefined number of "events" since last 12 hours . The script, due to the API limitation, ca...