Search found 27 matches

by pintu
Mon Aug 28, 2023 2:36 am
Forum: Open Source Nagios Projects
Topic: Return code of 4 is out of bounds
Replies: 12
Views: 12505

Re: Return code of 4 is out of bounds

It's working now, thanks a lot for the suggestion. Details - but they could be annoying
by pintu
Tue Aug 22, 2023 7:56 am
Forum: Open Source Nagios Projects
Topic: Return code of 4 is out of bounds
Replies: 12
Views: 12505

Re: Return code of 4 is out of bounds

$ ./check_port.pl -p 80 -h google.pl -w 1000.0,80% -c 2000.0,100% -v
-sh: 1: ./check_port.pl: not found
From this level, I cannot go to the location: /usr/local/nagios/libexec/ and that's why it wasn't found.
by pintu
Tue Aug 08, 2023 2:32 am
Forum: Open Source Nagios Projects
Topic: Return code of 4 is out of bounds
Replies: 12
Views: 12505

Re: Return code of 4 is out of bounds

Can anyone suggest anything?
by pintu
Tue Aug 01, 2023 3:09 am
Forum: Open Source Nagios Projects
Topic: Return code of 4 is out of bounds
Replies: 12
Views: 12505

Re: Return code of 4 is out of bounds

any idea? someone can help?
by pintu
Mon Jul 31, 2023 3:26 am
Forum: Open Source Nagios Projects
Topic: Return code of 4 is out of bounds
Replies: 12
Views: 12505

Re: Return code of 4 is out of bounds

Can you write exactly about which syntax you have in mind? I tried: define command{ command_name check_port.pl command_line $USER1$/check_port.pl -p $ARG1$ -h $ARG2$ -w $ARG3$ -c $ARG4$ -v } define command{ command_name check_port.pl command_line $USER1$/check_port.pl -p $ARG1$ -h $HOSTADDRESS$ -w $...
by pintu
Fri Jul 28, 2023 8:43 am
Forum: Open Source Nagios Projects
Topic: Return code of 4 is out of bounds
Replies: 12
Views: 12505

Return code of 4 is out of bounds

I know that there are many inquiries regarding : (Return code of 4 is out of bounds : /usr/local/nagios/libexec/check_port.pl -p <port> -h <host> (-c <critical> -w <warning> -v))) but I haven't found an answer, so I would like to ask. In my Nagios configuration, I have set up: define service{ use no...
by pintu
Thu Dec 10, 2020 3:50 am
Forum: Open Source Nagios Projects
Topic: the real time in the microtik
Replies: 3
Views: 1340

Re: the real time in the microtik

I'm monitoring microtik, but I wanted to check the time in the microtik and I don't know how
by pintu
Wed Dec 09, 2020 3:40 am
Forum: Open Source Nagios Projects
Topic: the real time in the microtik
Replies: 3
Views: 1340

the real time in the microtik

Can I monitor the real time in the microtik naked? Is there no such option? or NTP time server?
by pintu
Tue Jan 15, 2019 5:06 am
Forum: Open Source Nagios Projects
Topic: Listing the routing OSPF mikrotik
Replies: 11
Views: 5480

Re: Listing the routing OSPF mikrotik

snmpget -v 2c -c public 10.10.100.10 .1.3.6.1.2.1.4.21.1.7.192.168.1.0 iso.3.6.1.2.1.4.21.1.7.192.168.1.0 = IpAddress: 10.10.100.93 its OK ./check_ospf.0.1.pl -H 10.10.100.10 -C public -v 2 -p 192.168.1.0 Use of uninitialized value in concatenation (.) or string at ./check_ospf.0.1.pl line 141. Arg...
by pintu
Mon Jan 14, 2019 5:31 am
Forum: Open Source Nagios Projects
Topic: Listing the routing OSPF mikrotik
Replies: 11
Views: 5480

Re: Listing the routing OSPF mikrotik

I've added ./check_ospf.0.1.pl -H Hostaddress -C public -v 2 -p 192.168.1.0/24 I get: UNKNOWN: SNMP error: The OBJECT IDENTIFIER value "1.3.6.1.2.1.14.10.1.3.192.168.1.0/24.0" is expected in dotted decimal notatio when typing without a subnet mask, then you will get: ./check_ospf.0.1.pl -H...