Nagios Core help

Masan Perunovic <masan.perunovic-/[email protected]> Tue, 2 Jul 2019 13:50:20 +0000 (UTC)
Newsgroups gmane.network.nagios.plugins
Message-ID <1431764271.1781283.1562075420310__40064.7599877388$1563011896$gmane$org@mail.yahoo.com>
------=_Part_1781282_2022950862.1562075420308
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,
I would like to ask you a question - I am using Nagios core 4.0.4.
I want to determine if the file exists on the network share - path is somet=
hing like this=C2=A0
\\servername\intern\test\test.txt
In case it exists - it should give me a warning.
I cannot reach the network share - can you explain me how.The commands are =
working but I do not know how to add the exact path.
I've tried with these two plugins.
/usr/local/nagios/libexec/check_file_age -f "\\servername\intern\test\test.=
txt"=C2=A0
check_file_exists_glob -d \\servername\intern\test test.txt


THANK YOU in advance.


Srdacan pozdrav, Best regards, MFG,=C2=A0

Masan Perunovic
Web=C2=A0 =C2=A0 =C2=A0 http://perun.space
Email=C2=A0 =C2=A0 =C2=A0masan.perunovic-/[email protected] IT Services


------=_Part_1781282_2022950862.1562075420308
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div class=3D"ydpc51551eayahoo-style-wrap" style=
=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px=
;"><div><div dir=3D"ltr" data-setdir=3D"false">Hello,</div><div dir=3D"ltr"=
 data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"false">I w=
ould like to ask you a question - I am using Nagios core 4.0.4.</div><div d=
ir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" data-setdir=3D"=
false">I want to determine if the file exists on the network share - path i=
s something like this&nbsp;</div><div dir=3D"ltr" data-setdir=3D"false"><br=
></div><div dir=3D"ltr" data-setdir=3D"false">\\servername\intern\test\test=
.txt</div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr"=
 data-setdir=3D"false">In case it exists - it should give me a warning.</di=
v><div dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"ltr" data-se=
tdir=3D"false">I cannot reach the network share - can you explain me how.</=
div><div dir=3D"ltr" data-setdir=3D"false">The commands are working but I d=
o not know how to add the exact path.</div><div dir=3D"ltr" data-setdir=3D"=
false"><br></div><div dir=3D"ltr" data-setdir=3D"false"><span>I've tried wi=
th these two plugins.</span></div><div dir=3D"ltr" data-setdir=3D"false"><s=
pan><br></span></div><div dir=3D"ltr" data-setdir=3D"false"><span>/usr/loca=
l/nagios/libexec/check_file_age -f "\\servername\intern\test\test.txt"</spa=
n>&nbsp;</div><div dir=3D"ltr" data-setdir=3D"false"><br></div><div dir=3D"=
ltr" data-setdir=3D"false"><span>check_file_exists_glob -d \\servername\int=
ern\test test.txt</span><br></div><div dir=3D"ltr" data-setdir=3D"false"><s=
pan><br></span></div><div dir=3D"ltr" data-setdir=3D"false"><span><br></spa=
n></div><div dir=3D"ltr" data-setdir=3D"false"><span>THANK YOU in advance.<=
/span></div><div><br></div><div class=3D"ydpc51551easignature"><div style=
=3D"font-family:Helvetica, Arial, sans-serif;font-size:16px;"><div style=3D=
"font-size:medium;font-family:Helvetica, Arial, sans-serif;"><div><span cla=
ss=3D"ydpe335c90fydp92c332d3Apple-style-span" style=3D"color:rgb(128, 128, =
128);"><font class=3D"ydpe335c90fydp92c332d3Apple-style-span" size=3D"3"><b=
r></font></span></div><div><span class=3D"ydpe335c90fydp92c332d3Apple-style=
-span" style=3D"color:rgb(128, 128, 128);"><font class=3D"ydpe335c90fydp92c=
332d3Apple-style-span" size=3D"3"><br></font></span></div><div><span class=
=3D"ydpe335c90fydp92c332d3Apple-style-span" style=3D"color:rgb(128, 128, 12=
8);"><font class=3D"ydpe335c90fydp92c332d3Apple-style-span" size=3D"3">Srda=
can pozdrav,   Best regards, MFG,&nbsp;<br><br>Masan Perunovic</font></span=
></div><div style=3D"font-size:medium;font-family:Helvetica, Arial, sans-se=
rif;"><br></div>Web&nbsp; <span style=3D"background-color:rgb(255, 255, 255=
);">&nbsp; </span><font color=3D"#440062"><span style=3D"background-color:r=
gb(255, 255, 255);">&nbsp; </span><b style=3D"background-color:rgb(253, 248=
, 105);"><a href=3D"http://perun.space" rel=3D"nofollow" target=3D"_blank">=
http://perun.space</a></b></font><br>Email&nbsp; &nbsp; &nbsp;masan.perunov=
ic-/[email protected]</div><div style=3D"font-size:medium;font-family:Helvetica, Ari=
al, sans-serif;">Regensburg IT Services<br><div><br></div></div></div></div=
></div></div></body></html>
------=_Part_1781282_2022950862.1562075420308--