[Nagios-users] Removing item
Hi List, How to remove Service Groups item page on Nagios? I have no service group define for this. Thanks James -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Unregister a service definition
Hi Nagios Users, I have an *extremely* modular configuration. My template structure is well defined and when it comes to monitoring a host, it's as simple as including it as a Member of a Hostgroup. An example Linux server would be: # cat ./linux/LINUXSERVER.cfg define host{ use PROD-SERVERS host_name LINUXSERVER.local.lan alias LINUXSERVER.local.lan address LINUXSERVER.local.lan hostgroups LINUX, HTTP, SMTP } And that's it. It auto inherits all service checks defined against LINUX, HTTP and SMTP. 95% of my LINUX servers have a /apps mount point. Therefore it makes sense to include a service check for it inside the LINUX host group and then inside the Host Definition for the remaining 5% 'unregister' that service check. Is it possible, inside LINUXSERVER2.cfg, to say Yes I know I'm a member of hostgroup LINUX, but I *don't* want to inherit the service check Disk /apps? I tried: define service{ useGENERIC-SERVICE-TEMPLATE host_name LINUXSERVER2.local.lan service_descriptionDisk /apps check_command null } But obviously this fails with an Already defined error. Appreciate any info. Thanks, Matthew. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Unregister a service definition
Apply the service to the hostgroup AND in the definition of the service apply it ALSO to the hosts negating them (!) eg: hostgroup_name HTTP host_name !host-not-to-apply Ciao, Giorgio Il giorno 17/giu/2010, alle ore 09.17, Matthew Angelo bang...@gmail.com ha scritto: Hi Nagios Users, I have an *extremely* modular configuration. My template structure is well defined and when it comes to monitoring a host, it's as simple as including it as a Member of a Hostgroup. An example Linux server would be: # cat ./linux/LINUXSERVER.cfg define host{ use PROD-SERVERS host_name LINUXSERVER.local.lan alias LINUXSERVER.local.lan address LINUXSERVER.local.lan hostgroups LINUX, HTTP, SMTP } And that's it. It auto inherits all service checks defined against LINUX, HTTP and SMTP. 95% of my LINUX servers have a /apps mount point. Therefore it makes sense to include a service check for it inside the LINUX host group and then inside the Host Definition for the remaining 5% 'unregister' that service check. Is it possible, inside LINUXSERVER2.cfg, to say Yes I know I'm a member of hostgroup LINUX, but I *don't* want to inherit the service check Disk /apps? I tried: define service{ useGENERIC-SERVICE-TEMPLATE host_name LINUXSERVER2.local.lan service_descriptionDisk /apps check_command null } But obviously this fails with an Already defined error. Appreciate any info. Thanks, Matthew. --- --- --- - ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Removing item
James Corteciano wrote: Hi List, How to remove Service Groups item page on Nagios? I have no service group define for this. Thanks James in the share directory of your nagios install there is a file called side.html in it is the definition for the servicegroups view . if you comment it out - the link on the nagios gui will disappear -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Unregister a service definition
On 06/17/2010 09:17 AM, Matthew Angelo wrote: Hi Nagios Users, I have an *extremely* modular configuration. My template structure is well defined and when it comes to monitoring a host, it's as simple as including it as a Member of a Hostgroup. An example Linux server would be: # cat ./linux/LINUXSERVER.cfg define host{ use PROD-SERVERS host_name LINUXSERVER.local.lan alias LINUXSERVER.local.lan address LINUXSERVER.local.lan hostgroups LINUX, HTTP, SMTP } And that's it. It auto inherits all service checks defined against LINUX, HTTP and SMTP. 95% of my LINUX servers have a /apps mount point. Therefore it makes sense to include a service check for it inside the LINUX host group and then inside the Host Definition for the remaining 5% 'unregister' that service check. Is it possible, inside LINUXSERVER2.cfg, to say Yes I know I'm a member of hostgroup LINUX, but I *don't* want to inherit the service check Disk /apps? I tried: define service{ useGENERIC-SERVICE-TEMPLATE host_name LINUXSERVER2.local.lan service_descriptionDisk /apps check_command null } But obviously this fails with an Already defined error. This is patched in the 'dev' branch of git://git.op5.org/nagios.git which you will have to build from source. 'null' still has to be a valid check-command, but with the sources in that branch you should be able to override a service-check inherited from hostgroups. It's not very tested, but feel free to try it out. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Removing item
Thanks Assaf On Thu, Jun 17, 2010 at 5:50 PM, Assaf Flatto nag...@flatto.net wrote: James Corteciano wrote: Hi List, How to remove Service Groups item page on Nagios? I have no service group define for this. Thanks James in the share directory of your nagios install there is a file called side.html in it is the definition for the servicegroups view . if you comment it out - the link on the nagios gui will disappear -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@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
[Nagios-users] File Monitoring
Hello, I'm trying to find the best way to monitor several user directories and files to see who accessed, modified, renamed, or deleted them. File access is also key because we want to know who is looking at files that they should not. I know that I can deny access to directories but I would have to create hundreds of shares and directories based on the scenarios that we have here. I'm not too interested in OS file monitoring, mostly user shared files and only on Windows. Has anyone done this with Nagios? Aside from watching the event log for audit traps I mean. Thanks, Victor -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Missing -l parameters.
Hello everyone. I´m monitoring a lot of servers in my nagios. Today I´m trying to use the check_nt plugin. But when i try to use it i always get the error message. -- Gustavo Campos Araujo -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@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
[Nagios-users] Missing -l parameters. Detailed i nformation (can´t solve the problem) PLEASE H ELP!!
Hello everyone. I´m using ubuntu-server 10.4 with nagios 3.2 (from repository) Follow down my configurations. /etc/nagios-plugins/config/nt.cfg: define command { command_namecheck_nt command_line/usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$' } define command { command_namecheck_nscp command_line/usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$' } /etc/nagios3/conf.d/conf_nagios_afis.cfg define service{ host_name dpfmas01 service_description check_space use generic-service check_command check_nscp!USEDDISKSPACE! -l c -w 80 -c 90 } -- Gustavo Campos Araujo -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Missing -l parameters. Detailed i nformation (can´t solve the problem) PLEASE HELP!!
Gustavo Araujo wrote: Hello everyone. I´m using ubuntu-server 10.4 with nagios 3.2 (from repository) Follow down my configurations. /etc/nagios-plugins/config/nt.cfg: define command { command_namecheck_nt command_line/usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -v '$ARG1$' } define command { command_namecheck_nscp command_line/usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$' } /etc/nagios3/conf.d/conf_nagios_afis.cfg define service{ host_name dpfmas01 service_description check_space use generic-service check_command check_nscp!USEDDISKSPACE! -l c -w 80 -c 90 } Command, not service, definitions contain the switches. Service definition's check_commands can only take !-delimited arguments, which are then used to populate the switches from the command definition. You can hardcode the drive, warning/critical levels, and port into the command definition, but I'd do the following: define command { command_namecheck_nt_disk command_line/usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p '$ARG1$' -v 'USEDDISKSPACE' -l '$ARG2$' -w '$ARG3$' -c '$ARG4$' } Which would mean your service definition should look like: define service{ host_name dpfmas01 service_description check_space use generic-service check_command check_nt_disk!12489!c!80!90 } Hope this helps, -- Sean McAfee Senior Systems Engineer -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Missing -l parameters.
On 17 June 2010 18:18, Gustavo Araujo gustavocamposara...@gmail.com wrote: Hello everyone. I´m monitoring a lot of servers in my nagios. Today I´m trying to use the check_nt plugin. But when i try to use it i always get the error message. What does the error message say? -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] File Monitoring
Heyo, I’m not too interested in OS file monitoring, mostly user shared files and only on Windows. Has anyone done this with Nagios? Aside from watching the event log for audit traps I mean. I haven't implemented it myself but stumbled upon this today and remembered your post: http://en.wikipedia.org/wiki/File_alteration_monitor Might be worth checking out, especially [1] if your doing it on windows: [1] http://msdn.microsoft.com/en-us/library/aa365261(VS.85).aspx -- Kyle -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] File Monitoring
On Thu, Jun 17, 2010 at 3:15 PM, Kyle Bader kyle.ba...@gmail.com wrote: Heyo, I’m not too interested in OS file monitoring, mostly user shared files and only on Windows. Has anyone done this with Nagios? Aside from watching the event log for audit traps I mean. I haven't implemented it myself but stumbled upon this today and remembered your post: http://en.wikipedia.org/wiki/File_alteration_monitor Might be worth checking out, especially [1] if your doing it on windows: [1] http://msdn.microsoft.com/en-us/library/aa365261(VS.85).aspx Thanks Kyle, I actually had not come across this solution however from a brief overview, it seems like it doesn't monitor file access which is what I also want to monitor similar to the windows Event Log. Products like tripwire, OSSEC, Samhain, etc only monitor file changes, deletes, renames, etc. and it seems like FAM falls into that category. I have looked into the FileSystemWatcher but it is not clear if it monitors file access as well. I wouldn't mind using that and tying nagios into it (via log_watch, or other means) Thanks, Victor -- Kyle -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Escalate after X warnings or criticals
On Thu, 2010-06-17 at 03:25, Gius, Mark wrote: I had submitted a patch a while back that allows for distinguishing between warning and critical. I don't think it's going to be included in any 3.0.X releases, because it apparently breaks plugins that access Nagios' state data directly. I don't know whether or not my patch will be included in 3.2.x or higher releases. I had a look at 3.2.1, doesn't look like it's the patch is included :( You can grab my patch (which I'm applying to vanilla 3.0.6 Nagios sources) out of this thread. At the time I wrote it, it also patched cleanly against HEAD, but I haven't kept up with it. http://article.gmane.org/gmane.network.nagios.devel/7083/ Thanks for the patch, it applies cleanly to 3.0.6 stable. I've read through it but have not yet tried using it. I think it's a good enhancement because it makes the escalation path more logical. Andrew -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ Nagios-users mailing list Nagios-users@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