[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nagiosplug-help
Subject:    Nagios Core help
From:       Masan Perunovic <masan.perunovic () yahoo ! com>
Date:       2019-07-02 13:50:20
Message-ID: 1431764271.1781283.1562075420310 () mail ! yahoo ! com
[Download RAW message or body]

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@yahoo.comRegensburg IT Services


[Attachment #3 (text/html)]

<html><head></head><body><div class="ydpc51551eayahoo-style-wrap" \
style="font-family:Helvetica Neue, Helvetica, Arial, \
sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false">Hello,</div><div \
dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I would \
like to ask you a question - I am using Nagios core 4.0.4.</div><div dir="ltr" \
data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I want to determine \
if the file exists on the network share - path is something like this&nbsp;</div><div \
dir="ltr" data-setdir="false"><br></div><div dir="ltr" \
data-setdir="false">\\servername\intern\test\test.txt</div><div dir="ltr" \
data-setdir="false"><br></div><div dir="ltr" data-setdir="false">In case it exists - \
it should give me a warning.</div><div dir="ltr" data-setdir="false"><br></div><div \
dir="ltr" data-setdir="false">I cannot reach the network share - can you explain me \
how.</div><div dir="ltr" data-setdir="false">The commands are working but I do not \
know how to add the exact path.</div><div dir="ltr" \
data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>I've tried \
with these two plugins.</span></div><div dir="ltr" \
data-setdir="false"><span><br></span></div><div dir="ltr" \
data-setdir="false"><span>/usr/local/nagios/libexec/check_file_age -f \
"\\servername\intern\test\test.txt"</span>&nbsp;</div><div dir="ltr" \
data-setdir="false"><br></div><div dir="ltr" \
data-setdir="false"><span>check_file_exists_glob -d \\servername\intern\test \
test.txt</span><br></div><div dir="ltr" \
data-setdir="false"><span><br></span></div><div dir="ltr" \
data-setdir="false"><span><br></span></div><div dir="ltr" \
data-setdir="false"><span>THANK YOU in advance.</span></div><div><br></div><div \
class="ydpc51551easignature"><div style="font-family:Helvetica, Arial, \
sans-serif;font-size:16px;"><div style="font-size:medium;font-family:Helvetica, \
Arial, sans-serif;"><div><span class="ydpe335c90fydp92c332d3Apple-style-span" \
style="color:rgb(128, 128, 128);"><font \
class="ydpe335c90fydp92c332d3Apple-style-span" \
size="3"><br></font></span></div><div><span \
class="ydpe335c90fydp92c332d3Apple-style-span" style="color:rgb(128, 128, \
128);"><font class="ydpe335c90fydp92c332d3Apple-style-span" \
size="3"><br></font></span></div><div><span \
class="ydpe335c90fydp92c332d3Apple-style-span" style="color:rgb(128, 128, \
128);"><font class="ydpe335c90fydp92c332d3Apple-style-span" size="3">Srdacan pozdrav, \
Best regards, MFG,&nbsp;<br><br>Masan Perunovic</font></span></div><div \
style="font-size:medium;font-family:Helvetica, Arial, \
sans-serif;"><br></div>Web&nbsp; <span style="background-color:rgb(255, 255, \
255);">&nbsp; </span><font color="#440062"><span style="background-color:rgb(255, \
255, 255);">&nbsp; </span><b style="background-color:rgb(253, 248, 105);"><a \
href="http://perun.space" rel="nofollow" \
target="_blank">http://perun.space</a></b></font><br>Email&nbsp; &nbsp; \
&nbsp;masan.perunovic@yahoo.com</div><div \
style="font-size:medium;font-family:Helvetica, Arial, sans-serif;">Regensburg IT \
Services<br><div><br></div></div></div></div></div></div></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic