Search found 74 matches

by shamrozkadiwal
Mon Oct 15, 2018 3:06 pm
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

So it got fixed :) ... I ran this command to see the established connections on 111 and found 900+ active connection [shkadi@awh014 /]$ sudo netstat -pantu | grep 111 tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3355/portmap tcp 0 0 10.180.120.39:111 10.180.27.10:55118 ESTABLISHED 3355/portmap tcp 0 0 10.18...
by shamrozkadiwal
Thu Oct 11, 2018 10:18 am
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

I think awhu013a is not allowing to communicate nagios server [shkadi@awhu013a ~]$ ping 10.180.190.50 PING 10.180.190.50 (10.180.190.50) 56(84) bytes of data. 64 bytes from 10.180.190.50: icmp_seq=1 ttl=64 time=0.516 ms 64 bytes from 10.180.190.50: icmp_seq=2 ttl=64 time=0.688 ms 64 bytes from 10.18...
by shamrozkadiwal
Wed Oct 10, 2018 10:57 am
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

You mean plugin "check_nfs.pl" has a issue, correct?
by shamrozkadiwal
Tue Oct 09, 2018 11:23 am
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

@Scottwilkerson, I need to get in touch with network team to find about the firewall. shkadi@camel ~ $ sudo /usr/sbin/showmount -e X.X.X.X showmount: RPC: Program not registered [shkadi@awhu013a ~]$ sudo /sbin/service nfs status rpc.mountd (pid 6350) is running... nfsd (pid 6347 6346 6345 6344 6343 ...
by shamrozkadiwal
Fri Oct 05, 2018 3:56 pm
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

I have attached the script.
FYI ++ this script is working fine with other servers. I have a few servers where I am getting this NFS alert
by shamrozkadiwal
Fri Oct 05, 2018 3:06 pm
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

no luck again and still seeing unknown error.
I checked service command "check_nfs" and it is pointing to check_nfs.pl
by shamrozkadiwal
Fri Oct 05, 2018 2:20 pm
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

I put sudo in front of $USER1$/check_nfs.pl -H $HOSTADDRESS$ and restart the nagios. nothing happened :(
by shamrozkadiwal
Fri Oct 05, 2018 10:30 am
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

@Scottwilkerson, yes, I have added those two entries in the sudoers for nagios

nagios localhost=/usr/nagios/libexec/check_smb.sh
nagios ALL = NOPASSWD:/usr/local/nagios/libexec/*
by shamrozkadiwal
Fri Oct 05, 2018 8:47 am
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

Old
shkadi@camel /usr/lib/nagios/plugins $ ls -la check_nfs.pl
-rwxr-xr-x 1 nagios nagios 2926 Mar 30 2010 check_nfs.pl

New
shkadi@camel /usr/lib/nagios/plugins $ ls -la check_nfs.pl
-rwsrwxrwx 1 apache nagios 2926 Mar 30 2010 check_nfs.pl

Still seeing the issue
by shamrozkadiwal
Thu Oct 04, 2018 2:22 pm
Forum: Open Source Nagios Projects
Topic: showmount: Program not registered
Replies: 32
Views: 13093

Re: showmount: Program not registered

So, you want me to change the ownership of check_nfs.pl on the nagios server NOT on the client side, correct? Right now on Nagios server shkadi@camel /usr/lib/nagios/plugins $ pwd /usr/lib/nagios/plugins shkadi@camel /usr/lib/nagios/plugins $ shkadi@camel /usr/lib/nagios/plugins $ ls -al check_nfs.p...