Monitor Fileserver
Ryan Wilcox
rwilcox at mobitrac.com
Mon Feb 27 18:50:04 CET 2006
yeah... i got the same error as you did with a mapped drive. we aren't
monitoring any mapped drives right now, hence the confusion.
not sure about the mapped drives... anyone else have an idea for josh?
>> -----Original Message-----
>> From: Josh [mailto:josh2780 at yahoo.com]
>> Sent: Monday, February 27, 2006 11:38 AM
>> To: Ryan Wilcox; nagios-users at lists.sourceforge.net
>> Subject: RE: [Nagios-users] Monitor Fileserver
>>
>> Hmm... Got it working for local drives on the windows
>> box but I get an "Invalid drive" error from the
>> check_nt script when I check a drive that is mapped.
>> Any way to check networked drives on that windows box?
>> Or will I have to go with nrpe checks for that?
>>
>> --- Ryan Wilcox <rwilcox at mobitrac.com> wrote:
>>
>> > actually i am using check_nt right from the nagios
>> > (fedora core 4) box.
>> >
>> > ./check_nt -H 10.0.0.32 -v USEDDISKSPACE -lc -w 75
>> > -c 90
>> >
>> > output looks like:
>> >
>> > c:\ - total: 74.52 Gb - used: 52.98 Gb (71%) - free
>> > 21.54 Gb (29%) |
>> > 'c:\ Used Space'=52.98Gb;55.89;67.07;0.00;74.52
>> >
>> >
>> >
>> > >> -----Original Message-----
>> > >> From: Josh [mailto:josh2780 at yahoo.com]
>> > >> Sent: Monday, February 27, 2006 10:57 AM
>> > >> To: Ryan Wilcox;
>> > nagios-users at lists.sourceforge.net
>> > >> Subject: RE: [Nagios-users] Monitor Fileserver
>> > >>
>> > >> I'm assuming you are using NRPE and executing the
>> > >> check_nt_disk from a windows machine... I might
>> > end
>> > >> up doing that.
>> > >>
>> > >> I was attempting to use smb checks directly from
>> > the
>> > >> linux box running Nagios.
>> > >>
>> > >>
>> > >>
>> > >> --- Ryan Wilcox <rwilcox at mobitrac.com> wrote:
>> > >>
>> > >> >
>> > >> >
>> > >> > >> -----Original Message-----
>> > >> > >> From:
>> > nagios-users-admin at lists.sourceforge.net
>> > >> > [mailto:nagios-users-
>> > >> > >> admin at lists.sourceforge.net] On Behalf Of
>> > Josh
>> > >> > >> Sent: Monday, February 27, 2006 10:19 AM
>> > >> > >> To: nagios-users at lists.sourceforge.net
>> > >> > >> Subject: [Nagios-users] Monitor Fileserver
>> > >> > >>
>> > >> > >> Does anyone have any suggestions as to how
>> > to
>> > >> > monitor
>> > >> > >> network drive (fileserver) status from
>> > Nagios?
>> > >> > I'm
>> > >> > >> trying to get the check_smb_shares.pl (from
>> > >> > >> nagiosexchange.org) but keep getting the
>> > >> > following
>> > >> > >> error when Nagios executes the check:
>> > >> > >>
>> > >> > >> **ePN 'check_smb_shares.pl' Can't create
>> > >> > >> /root/.smb/smb.conf : Permission denied
>> > >> > >>
>> > >> > >> Not sure why when the Nagios binary executes
>> > the
>> > >> > >> script it wants to use /root/ (Nagios runs
>> > as the
>> > >> > user
>> > >> > >> nagios).
>> > >> > >>
>> > >> > >> Any other suggestions on monitoring network
>> > >> > drives?
>> > >> > >>
>> > >> >
>> > >> >
>> > >> > we use something like this to check disks on
>> > Windows
>> > >> > machines:
>> > >> >
>> > >> > check_nt_disk!M!70!90
>> > >> >
>> > >> > where M is the drive we are checking and 70/90
>> > are
>> > >> > our limits. there are
>> > >> > other nt commands that can be used like:
>> > >> >
>> > >> > check_nt_cpuload
>> > >> > check_nt_procstate
>> > >> >
>> > >> > and so on...
>> > >> >
>> > >> > not sure this answers your question, would need
>> > to
>> > >> > know exactly what you
>> > >> > want to monitor.
>> > >> >
>> > >>
>> > >>
>> > >>
>> > __________________________________________________
>> > >> Do You Yahoo!?
>> > >> Tired of spam? Yahoo! Mail has the best spam
>> > protection around
>> > >> http://mail.yahoo.com
>> >
>> >
>> >
>> -------------------------------------------------------
>> > This SF.Net email is sponsored by xPML, a
>> > groundbreaking scripting language
>> > that extends applications into web and mobile media.
>> > Attend the live webcast
>> > and join the prime developer group breaking into
>> > this new coding territory!
>> >
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
>> > _______________________________________________
>> > Nagios-users mailing list
>> > Nagios-users at lists.sourceforge.net
>> >
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> > ::: Please include Nagios version, plugin version
>> > (-v) and OS when reporting any issue.
>> > ::: Messages without supporting info will risk being
>> > sent to /dev/null
>> >
>>
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam? Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list