Cool!
That's where I messed up!
Thanks Scott!
Search found 36 matches
- Fri May 03, 2019 6:49 pm
- Forum: Open Source Nagios Projects
- Topic: Return code of 127; executing script/pluggin
- Replies: 3
- Views: 1400
- Fri May 03, 2019 1:47 pm
- Forum: Open Source Nagios Projects
- Topic: Return code of 127; executing script/pluggin
- Replies: 3
- Views: 1400
Return code of 127; executing script/pluggin
I have added a script check_bw.sh to the /usr/local/nagios/libexec/ folder, made sure it matches the other plugin rights with 'chmod 755' . When I execute it from a command line " /usr/local/nagios/libexec/check_bw.sh -H 10.32.255.1 -b 1000000000 -v 2c -m input -C public -i ethernet1/1/24 -p 15...
- Thu Dec 06, 2018 8:59 pm
- Forum: Open Source Nagios Projects
- Topic: nagios restart does not apply .cfg changes
- Replies: 11
- Views: 6362
Re: nagios restart does not apply .cfg changes
OK,
Thanks.
Thanks.
- Sat Dec 01, 2018 5:30 pm
- Forum: Open Source Nagios Projects
- Topic: nagios restart does not apply .cfg changes
- Replies: 11
- Views: 6362
Re: nagios restart does not apply .cfg changes
Lock file location in nagios.cfg file: lock_file=/usr/local/nagios/var/nagios.lock # ls -l /usr/local/nagios/var/nagios.lock -rw-r--r--. 1 root root 5 Dec 1 16:21 /usr/local/nagios/var/nagios.lock # tail -f 200 /usr/local/nagios/var/nagios.log tail: cannot open `200' for reading: No such file or dir...
- Mon Oct 22, 2018 3:44 pm
- Forum: Open Source Nagios Projects
- Topic: nagios restart does not apply .cfg changes
- Replies: 11
- Views: 6362
Re: nagios restart does not apply .cfg changes
Thanks for the reply # ps aux | grep nagios.cfg | grep -v grep nagios 1468 0.0 0.0 16636 3816 ? Ss 15:35 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 1476 0.0 0.0 15948 784 ? S 15:35 0:00 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg # Just two proc...
- Fri Oct 19, 2018 4:47 pm
- Forum: Open Source Nagios Projects
- Topic: nagios restart does not apply .cfg changes
- Replies: 11
- Views: 6362
Re: nagios restart does not apply .cfg changes
Could not attach the file, sorry but I had to paste it into this reply: =~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2018.10.19 16:26:28 =~=~=~=~=~=~=~=~=~=~=~= cat nagios #!/bin/sh # # chkconfig: 345 99 01 # description: Nagios network monitor # processname: nagios # File : nagios # # Author : Jorge Sanchez A...
- Thu Oct 18, 2018 1:48 pm
- Forum: Open Source Nagios Projects
- Topic: nagios restart does not apply .cfg changes
- Replies: 11
- Views: 6362
Re: nagios restart does not apply .cfg changes
Nagios user has access to the nagios.cfg file -rw-rw-r--. 1 nagios nagios 45913 Sep 19 12:14 /usr/local/nagios/etc/nagios.cfg The object cache file is define in the nagios.cfg file object_cache_file=/usr/local/nagios/var/objects.cache -rw-r--r--. 1 nagios nagios 136742 Oct 4 16:12 /usr/local/nagios/...
- Sun Oct 14, 2018 4:16 pm
- Forum: Open Source Nagios Projects
- Topic: nagios restart does not apply .cfg changes
- Replies: 11
- Views: 6362
nagios restart does not apply .cfg changes
Nagios Core 4.4.1 Changes made to .cfg file in /usr/local/nagios/etc/objects/ are not applied with /etc/init.d/nagios restart If I make a change to .cfg file such as "hosts.cfg" that has new, removed or modified "define host { " definition; the change does not take effect until I...
- Thu Jul 12, 2018 11:56 am
- Forum: Open Source Nagios Projects
- Topic: Testing snmp_check plugin - No variable in MIB
- Replies: 5
- Views: 2732
Re: Testing snmp_check plugin - No variable in MIB
Thanks,
I obviously am missing the subtlety of SNMP?
I don't know if I would have ever caught the trailing .0.
Best Regards
I obviously am missing the subtlety of SNMP?
I don't know if I would have ever caught the trailing .0.
Best Regards
- Thu Jul 12, 2018 7:01 am
- Forum: Open Source Nagios Projects
- Topic: Testing snmp_check plugin - No variable in MIB
- Replies: 5
- Views: 2732
Re: Testing snmp_check plugin - No variable in MIB
Thank you for your response.
I get the same message with the -P (snmp_version) argument.
# /usr/local/nagios/libexec/check_snmp -C public -H 10.34.100.11 -P 2c -o 1.3.6.1.4.1.1991.1.1.1.1.18
SNMP OK - No Such Instance currently exists at this OID |
What do you think?
I get the same message with the -P (snmp_version) argument.
# /usr/local/nagios/libexec/check_snmp -C public -H 10.34.100.11 -P 2c -o 1.3.6.1.4.1.1991.1.1.1.1.18
SNMP OK - No Such Instance currently exists at this OID |
What do you think?