check_disk_smb

Formoso, Travis Travis.Formoso at blueslate.net
Tue Jan 16 16:21:29 CET 2007


I am trying to set up monitoring on more than one share on our file
server – here is my script

 

# smb

define service{

 use                            generic-service

 

 host_name                      linuxdev1

 service_description            SMB

 is_volatile                    0

 check_period                   24x7

 max_check_attempts             3

 normal_check_interval          1

 retry_check_interval           1

 contact_groups                 bssadmins

 notification_interval          120

 notification_period            24x7

 notification_options           w,u,c,r

 check_command                  check_disk_smb!public!guest

 check_command                  check_disk_smb!backups!guest

}

 

However it only is monitoring the backups – is their a way to set it up
so it can monitor all shares on this server?





This e-mail and any files transmitted with it are for the sole use of
Blue Slate Solutions and the intended recipient(s) and may contain
confidential and privileged information. If you are not the intended
recipient, please contact the sender by reply e-mail and destroy all
copies of the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
or any action taken in reliance on this e-mail is strictly prohibited
and may be unlawful.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070116/26617af7/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
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