[Nagios-users] Antwort: Re: Aggregate multiple interfaces/services/hosts
Thanks for the tip, but the DNS monitoring was only one example. There are also some other queries like WMI, SNMP, agent monitoring aso. Cheers! An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 09/09/2011 02:03 AM Betreff:Re: [Nagios-users] Aggregate multiple interfaces/services/hosts Could you use the check_dns plugin? Then if you couldn't resolve the host through either interface, it would alarm. It doesn't require an expected-address. I check a round-robin DNS entry this way, making sure it just resolves to something. C O N V I V A Kimberly McKinnis | Systems Engineer, Service Delivery | k...@conviva.com | Mobile: 724.612.2716 | 2 WATERS PARK DRIVE | SUITE 150 | SAN MATEO | CA | 94403 | www.conviva.com | Reply-To: Nagios Users List nagios-users@lists.sourceforge.net Date: Tue, 6 Sep 2011 08:52:31 +0300 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Aggregate multiple interfaces/services/hosts Hello, I would like to monitor a couple of devices ( servers and witches) that are connected to the network via at least two interfaces. Nagios server is connected as well over two interfaces to the LAN. My question is: Is there any way to aggregate the monitored services/hosts into a single object that gives the critical status only when all aggregated objects have this status? For example: the Nagios system has two network interfaces: 192.168.0.1 and 192.168.1.1. I would like to monitor a DNS server connected to the network via 192.168.0.2 and 192.168.1.2 IP addresses. Of course I can reach the DNS server from Nagios two ways: either via the 192.168.0.1 interface or via 192.168.1.1. My target is to issue a warning/critical signal only when Nagios cannot query the DNS server on none of the IP addresses. Same should apply for hosts and network equipment and the service group should also provide performance data. I have already gave a shot with Nagios BPI, but unfortunately I cannot use the service group to map it in PNP4Nagios. Thank you! -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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 -- Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/___ 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 -- Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/___ 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] Antwort: Re: Antwort: Re: check_snmp_int - No usable data on file
Hello again Jim, I have followed your suggestion and seems better. However, from time to time, for short periods ( which take 1-2 checks) the status flaps to unknown and afterwards gets back to normal. Any more clues, please? Thanks! Von:Jim Avery j...@jimavery.me.uk An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 09/04/2011 02:34 PM Betreff:Re: [Nagios-users] Antwort: Re: check_snmp_int - No usable data on file Hello Jim and thanks for your answer! I have double checked the files in /tmp created by the script and they are all owned by nagios group and nagios user, so fully writeable. The actual check interval of the port is 20 seconds ( I check every 2 units and the time unit is 10 seconds in the nagios.cfg). The correct value for the plugin time is in this case 20s? I see, yes, in that case you should use -d 20. I will give it a try with making the normal check interval and retry interval at the same value. I think that will most likely solve your problem. Cheers, Jim -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ 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 -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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] Antwort: Re: Antwort: Re: Antwort: Re: check_snmp_int - No usable data on file
So your suggestion is to have the -d option set to 60s for a 20s check interval? Von:Jim Avery j...@jimavery.me.uk An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 09/05/2011 10:11 AM Betreff:Re: [Nagios-users] Antwort: Re: Antwort: Re: check_snmp_int - No usable data on file Hello again Jim, I have followed your suggestion and seems better. However, from time to time, for short periods ( which take 1-2 checks) the status flaps to unknown and afterwards gets back to normal. Any more clues, please? Thanks! The documentation page seems to suggest that the -d option should be a slightly longer than the check interval. http://nagios.manubulon.com/snmp_int.html If there's anything in your nagios system which will cause the nagios daemon to do something other than scheduling checks for a few seconds, then with a 10s standard interval it wouldn't take much to throw the plugin off kilter. I don't know for sure which activities would do this, but suspect one would be writing to the status.dat file and another might be processing the command file. Having said that, with the check_snmp_int.pl plugin allowing up to 300% of the -d value before complaining, it should be fairly forgiving. -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ 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 -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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] Aggregate multiple interfaces/services/hosts
Hello, I would like to monitor a couple of devices ( servers and witches) that are connected to the network via at least two interfaces. Nagios server is connected as well over two interfaces to the LAN. My question is: Is there any way to aggregate the monitored services/hosts into a single object that gives the critical status only when all aggregated objects have this status? For example: the Nagios system has two network interfaces: 192.168.0.1 and 192.168.1.1. I would like to monitor a DNS server connected to the network via 192.168.0.2 and 192.168.1.2 IP addresses. Of course I can reach the DNS server from Nagios two ways: either via the 192.168.0.1 interface or via 192.168.1.1. My target is to issue a warning/critical signal only when Nagios cannot query the DNS server on none of the IP addresses. Same should apply for hosts and network equipment and the service group should also provide performance data. I have already gave a shot with Nagios BPI, but unfortunately I cannot use the service group to map it in PNP4Nagios. Thank you!-- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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] check_snmp_int - No usable data on file
Hello, I am using check_snmp_plugin to monitor a couple of switches. The command template I use is: $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -r -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ And the particular one for a certain port/device is: # Monitor bandwidth and port status - port 23 define service{ use generic-service ; Inherit values from a template Host_name switch1 Service_description Port 23. Check_command check_snmp_int!GigabitEthernet0/23!60,60,100,100,10,10!80,80,200,200,20,20!11 Normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval--1 ; Re-check the service every one unit until its final/hard state is determined } The interval length in nagios.cfg is set to: interval_length=10 Can you please let me know a good value for the -d parameter in order to tweak the check_snmp_int.pl script properly? Thank you!-- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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] check_snmp_int - No usable data on file
Hello, I am using check_snmp_plugin to monitor a couple of switches. The command template I use is: $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -r -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ And the particular one for a certain port/device is: # Monitor bandwidth and port status - port 23 define service{ use generic-service ; Inherit values from a template Host_name switch1 Service_description Port 23. Check_command check_snmp_int!GigabitEthernet0/23!60,60,100,100,10,10!80,80,200,200,20,20!11 Normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval--1 ; Re-check the service every one unit until its final/hard state is determined } The interval length in nagios.cfg is set to: interval_length=10 Can you please let me know a good value for the -d parameter in order to tweak the check_snmp_int.pl script properly? Thank you!-- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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] Antwort: Re: check_snmp_int - No usable data on file
Hello Jim and thanks for your answer! I have double checked the files in /tmp created by the script and they are all owned by nagios group and nagios user, so fully writeable. The actual check interval of the port is 20 seconds ( I check every 2 units and the time unit is 10 seconds in the nagios.cfg). The correct value for the plugin time is in this case 20s? I will give it a try with making the normal check interval and retry interval at the same value. Cheers! Von:Jim Avery j...@jimavery.me.uk An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 09/04/2011 01:27 PM Betreff:Re: [Nagios-users] check_snmp_int - No usable data on file Hello, I am using check_snmp_plugin to monitor a couple of switches. The command template I use is: $USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -r -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ And the particular one for a certain port/device is: # Monitor bandwidth and port status - port 23 define service{ usegeneric-service; Inherit values from a template Host_nameswitch1 Service_descriptionPort 23. Check_command check_snmp_int!GigabitEthernet0/23!60,60,100,100,10,10!80,80,200,200,20,20!11 Normal_check_interval2; Check the service every 2 units under normal conditions retry_check_interval--1; Re-check the service every one unit until its final/hard state is determined } The interval length in nagios.cfg is set to: interval_length=10 Can you please let me know a good value for the -d parameter in order to tweak the check_snmp_int.pl script properly? I believe that with check_interval of 2 minutes, you need -d 120. With the plugin working in this way, you need to set your retry_interval to be the same as your check_interval, otherwise the -d value won't be correct for the interval when the check starts retrying! Note that in Nagios 3, the syntax normal_check_interval and retry_check_interval is deprecated. The equivalent directives are now simply check_interval and retry_interval. See: http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#service If you are still having problems with the No usable data on file error, make sure the files created by the plugin are writeable by the user 'nagios' (if I recall they are under /tmp or maybe /var/tmp - I don't have my nagios system to hand to check for sure). If you have been testing the plugin from the command line while logged in as another user, it's quite likely the files will have the wrong ownership/permissions in which case you can simply delete them to let nagios recreate them next time it runs the plugin. -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ 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 -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev___ 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] Redundant network monitoring
Hello, I have the following setup: Nagios server monitoring a few servers on a redundant network. Each system has two NICs, so two IP addresses. I would like to setup Nagios in such a way that when I want to see if a host is up for example, it should ping first on ti's first IP and if failed, try the second IP. Only if the second attempt is failing it should declare the host unreachable. Same should apply for other services monitored as well: CPU usage, memory usage aso. Can this be achieved in order not to have duplicate states for each machine? Thank you!-- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: Re: Antwort: Check_WMI
Please list your local-service template, Probably in templates.cfg... And the definition of your localhost ( I need to see the IP of it). Von:nag ios nagiost...@gmail.com An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 07/11/2011 10:21 AM Betreff:Re: [Nagios-users] Antwort: Check_WMI This is the service in localhost.cfg file define service{ use local-service host_name localhost service_description checkcpu check_command check_wmi!checkcpu!c!70!80 } And i'm checking the windows host details do i need to add this is windows.cfg file? On Mon, Jul 11, 2011 at 12:43 PM, radu.p...@technomatic.de wrote: Please post your localhost and local-service definitions. If localhost is the linux host then you have no chance getting the wmi info. Von:nag ios nagiost...@gmail.com An:Nagios Users List nagios-users@lists.sourceforge.net Datum:07/11/2011 09:46 AM Betreff:[Nagios-users] Check_WMI Hi this is krishna, I am trying to use check_wmi.pl script to get the data from windows PC and to display the information through nagios in web browser.I have added the following lines in localhost.cfg define service{ use local-service host_name localhost service_description checkcpu check_command check_wmi!checkcpu!c!70!80 } In the command.cfg file i have added the following lines define command{ command_name check_wmi command_line$USER1$/check_wmi.pl -H hostname -u domainname/user -p password -w $ARG1$ -c $ARG2$ } In the web i got the information as check_wmi -H HOSTNAME -u DOMAIN/USER -p PASSWORD -m checkdrivesize|checkcpu|checkmem|checkeventlog|checkservice [-a arguments, see below] [-w value for warning] [-c value for critical] When i added the above two definition's(service and command) i didn't get any error when checked through /usr/local/nagios/bin nagios -v /usr/local/nagios/etc/nagios.cfg But the required information is not reflecting in the web browser Can anyone help me??? -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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
[Nagios-users] Antwort: Re: Redundant network monitoring
Hello and thank your for your answer! The plugin should be really good for any service, but what about graphing the perf data? Let's take the following example: 1 server has two IPs: 192.168.1.1 and 192.168.2.1 I would like to monitor the CPU load via wmi queries on the machine. I would like to be able to get it first over the 192.168.1.1 and if it fails, it should be queried the next interface, 192.168.2.1. If that one fails, it should be put in the critical state. As as result I should obtain performance data from any interface which is available or a critical status. The perf data can be used later to be graphed in PNP4 Nagios for example. Ideas? Thank you! Von:Carlos de Santa-Ana Garcia car...@dsag.jazztel.es An: nagios-users@lists.sourceforge.net Datum: 07/11/2011 01:17 PM Betreff:Re: [Nagios-users] Redundant network monitoring http://www.nagios.org/news/77-news-announcements/272-nagios-business-process-intelligence-addon Greets. El 11/07/2011 8:36, radu.p...@technomatic.de escribió: Hello, I have the following setup: Nagios server monitoring a few servers on a redundant network. Each system has two NICs, so two IP addresses. I would like to setup Nagios in such a way that when I want to see if a host is up for example, it should ping first on ti's first IP and if failed, try the second IP. Only if the second attempt is failing it should declare the host unreachable. Same should apply for other services monitored as well: CPU usage, memory usage aso. Can this be achieved in order not to have duplicate states for each machine? Thank you! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Service dependency
Hello, I have tried o play a bit with the service dependencies list and defined the following: define servicedependency{ dependent_host_name WS1 dependent_service_description CPU usage,Disk I/O usage,Individual CPU core usage,Memory usage host_name WS1 service_description PING execution_failure_criteria w,u,c notification_failure_criteria w,u,c } So when the host WS1 is not reachable via PING, other services should not be checked or notified. Works fine. Now I did the following using hostgroups define servicedependency{ dependent_hostgroup_name workstations dependent_service_description CPU usage,Disk I/O usage,Individual CPU core usage,Memory usage host_name workstations service_description PING execution_failure_criteria w,u,c notification_failure_criteria w,u,c } And it does what I expect it to do, but not what's needed: make each service on any of the workstations group dependent by any PING service on any host in the group. My question is: is there any way to use variables in such a way that the other services on a host are dependent only on the PING on the same host?: In a large environment, using the first example and copy paste is really time consuming. Thanks! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: Re: Antwort: Plugin may be missing error only for PING service
And the command definition please! Von:nag ios nagiost...@gmail.com An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 07/06/2011 12:28 PM Betreff:Re: [Nagios-users] Antwort: Plugin may be missing error only forPING service the service which wa defined was define service{ use local-service host_name localhost service_description PING check_commandcheck_ping!100.0,20%!500.0,60% } On Wed, Jul 6, 2011 at 11:16 AM, radu.p...@technomatic.de wrote: Hi Krishna, Please detail a bit the configuration on your side: the definition of the command would be helpful and the usage of it on the host as well. Regards! Von:nag ios nagiost...@gmail.com An:Nagios Users List nagios-users@lists.sourceforge.net Datum:07/06/2011 08:12 AM Betreff:[Nagios-users] Plugin may be missing error only for PING service Hi this is krishna, I have problem with PING service only its giving error as Plugin may be missing and other service are running fine. Can you tell me what should be done with it -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: Re: Antwort: Re: Antwort: Plugin may be missing error only for PING service
Please check the value of the variable $USER1$ in /etc/nagios/resource.cfg and see if the check_ping is present there. You can also mail me back the content of the resource.cfg file as well as the output of the command: ls -al check_ping run into the path in which $USER1$ is pointing to. More, you can try running the command by yourself from that path by issuing ./check_ping -H localhost -w 100.0,20% -c 500.0,60% -p 5 Regards! Von:nag ios nagiost...@gmail.com An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 07/06/2011 02:10 PM Betreff:Re: [Nagios-users] Antwort: Re: Antwort: Plugin may be missing error only for PING service command definition is as follows #'check_ping' command defifnition define command{ command_name check_ping command_line$USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } On Wed, Jul 6, 2011 at 3:04 PM, radu.p...@technomatic.de wrote: And the command definition please! Von:nag ios nagiost...@gmail.com An:Nagios Users List nagios-users@lists.sourceforge.net Datum:07/06/2011 12:28 PM Betreff:Re: [Nagios-users] Antwort: Plugin may be missing error only forPING service the service which wa defined was define service{ use local-service host_name localhost service_description PING check_commandcheck_ping!100.0,20%!500.0,60% } On Wed, Jul 6, 2011 at 11:16 AM, radu.p...@technomatic.de wrote: Hi Krishna, Please detail a bit the configuration on your side: the definition of the command would be helpful and the usage of it on the host as well. Regards! Von:nag ios nagiost...@gmail.com An:Nagios Users List nagios-users@lists.sourceforge.net Datum:07/06/2011 08:12 AM Betreff:[Nagios-users] Plugin may be missing error only for PING service Hi this is krishna, I have problem with PING service only its giving error as Plugin may be missing and other service are running fine. Can you tell me what should be done with it -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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] Antwort: Check-wmi-plus usage
What have you tried till now and what errors do you get? Or want one of us to provide you the config so you can copy/paste? For even advanced usage, the builtin documentation should be enough. Implemented by myself in about 2-3 days after reading. Regards! Von:nag ios nagiost...@gmail.com An: nagiosus...@edcint.co.nz, Nagios Users List nagios-users@lists.sourceforge.net Datum: 07/06/2011 03:33 PM Betreff:[Nagios-users] Check-wmi-plus usage Can you please provide me the procedure to configure through check_wmi_plus plugin , i mean writing the command and service definitions and how to make changes in configuration file to reflect in the browser. On Sat, Jul 2, 2011 at 12:45 PM, Matthew Jurgens nagiosus...@edcint.co.nz wrote: The easiest way is to forget about NSClient++ and simplify your monitoring by using http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details Unless there is some check that only NSClient++ can do On 2/07/2011 1:17 AM, nag ios wrote: Default one is 12489 right.? i haven't tried with 12849 will try and update the status ok.Version: 10.0.1388 / Virus Database: 1516/3736 - Release Date: 06/30/11 -- Smartmon System Monitoring www.smartmon.com.au -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: Re: Antwort: Check-wmi-plus usage
Have a look here: http://www.edcint.co.nz/checkwmiplus/?q=samples Von:nag ios nagiost...@gmail.com An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 07/06/2011 03:54 PM Betreff:Re: [Nagios-users] Antwort: Check-wmi-plus usage can you provide me the builtin documentation so that i can work on it.. I will provide you the details and errors which are configured by me shortly On Wed, Jul 6, 2011 at 6:07 PM, radu.p...@technomatic.de wrote: What have you tried till now and what errors do you get? Or want one of us to provide you the config so you can copy/paste? For even advanced usage, the builtin documentation should be enough. Implemented by myself in about 2-3 days after reading. Regards! Von:nag ios nagiost...@gmail.com An:nagiosus...@edcint.co.nz, Nagios Users List nagios-users@lists.sourceforge.net Datum:07/06/2011 03:33 PM Betreff:[Nagios-users] Check-wmi-plus usage Can you please provide me the procedure to configure through check_wmi_plus plugin , i mean writing the command and service definitions and how to make changes in configuration file to reflect in the browser. On Sat, Jul 2, 2011 at 12:45 PM, Matthew Jurgens nagiosus...@edcint.co.nz wrote: The easiest way is to forget about NSClient++ and simplify your monitoring by using http://exchange.nagios.org/directory/Plugins/Operating-Systems/Windows/WMI/Check-WMI-Plus/details Unless there is some check that only NSClient++ can do On 2/07/2011 1:17 AM, nag ios wrote: Default one is 12489 right.? i haven't tried with 12849 will try and update the status ok.Version: 10.0.1388 / Virus Database: 1516/3736 - Release Date: 06/30/11 -- Smartmon System Monitoring www.smartmon.com.au -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense.
[Nagios-users] Antwort: Re: pnp4nagios custom icon
Please be aware that if you change it you have to save it in a PDF 5.0 compatible format ( did not try if higher versions work, but 9.0 sure not working) , otherwise PNP will complain about bad encryption of the file. Radu Von:Joerg Linge pitchf...@ederdrom.de An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 07/06/2011 08:31 AM Betreff:Re: [Nagios-users] pnp4nagios custom icon Nibin V M schrieb: Hi guys, Do anybody know a way to change/add the logo in pnp4nagios graph report that we download as pdf, xml, etc? change pnp4nagios/etc/backgrund.pdf to fit your needs. Joerg -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: Plugin may be missing error only for PING service
Hi Krishna, Please detail a bit the configuration on your side: the definition of the command would be helpful and the usage of it on the host as well. Regards! Von:nag ios nagiost...@gmail.com An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 07/06/2011 08:12 AM Betreff:[Nagios-users] Plugin may be missing error only for PING service Hi this is krishna, I have problem with PING service only its giving error as Plugin may be missing and other service are running fine. Can you tell me what should be done with it -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] PNP4Nagios watermark font colour
Hello, Can this color of the font be changed? Even more if possible: can half of the watermark word be written in a color and the other half in another color? Thank you!-- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: Re: PNP4Nagios watermark font colour
This modifies the entire color font, not only watermark. Von:Joerg Linge pitchf...@ederdrom.de An: Nagios Users List nagios-users@lists.sourceforge.net Datum: 07/04/2011 03:46 PM Betreff:Re: [Nagios-users] PNP4Nagios watermark font colour radu.p...@technomatic.de schrieb: Hello, Can this color of the font be changed? Even more if possible: can half of the watermark word be written in a color and the other half in another color? this is IMHO not a nagios or pnp4nagios question http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html Option --font and --color (untested(tm)) Joerg -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Problem with check_disk_smb
Please check the typo error in the command definition: Maybe you should replace %ARG1% with $ARG1$ Regards!-- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, Radu.Popa@... wrote: After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= LINE1:var1#003300:\in \ ; Change it to read: $def[1] .= LINE3:var1#003300:\in \ ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting public instead of Public everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with 0/2 string. Any way to limit this? Do I have to enter any escape character? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 60,60,100,100,10,10 -c 80,80,200,200,20,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;6;8;0;10 'GigabitEthernet0/24_out_bps'=26237;6;8;0;10 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_namecheck_snmp_int command_line$USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!GigabitEthernet0/24!60,60,100,100,10,10!80,80,200,200,20,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host 192.168.2.1. In resources I have defined $USER5$=Public Ideas, please? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff:RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von:Radu
[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= --watermark 'Test' (note the .= rather than just = and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, Radu.Popa@... wrote: After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= LINE1:var1#003300:\in \ ; Change it to read: $def[1] .= LINE3:var1#003300:\in \ ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting public instead of Public everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with 0/2 string. Any way to limit this? Do I have to enter any escape character? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 60,60,100,100,10,10 -c 80,80,200,200,20,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;6;8;0;10 'GigabitEthernet0/24_out_bps'=26237;6;8;0;10 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_namecheck_snmp_int command_line$USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where
[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg Von:Radu Popa/Technomatic An: Radu Popa/Technomatic@Maxdorf Kopie: nagios-users@lists.sourceforge.net Datum: 07/02/2011 12:24 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= --watermark 'Test' (note the .= rather than just = and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, Radu.Popa@... wrote: After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= LINE1:var1#003300:\in \ ; Change it to read: $def[1] .= LINE3:var1#003300:\in \ ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting public instead of Public everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with 0/2 string. Any way to limit this? Do I have to enter any escape character? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff:Antwort
[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one. Thanks! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 12:38 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg Von:Radu Popa/Technomatic An: Radu Popa/Technomatic@Maxdorf Kopie: nagios-users@lists.sourceforge.net Datum: 07/02/2011 12:24 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= --watermark 'Test' (note the .= rather than just = and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, Radu.Popa@... wrote: After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= LINE1:var1#003300:\in \ ; Change it to read: $def[1] .= LINE3:var1#003300:\in \ ; You will find documentation on how the LINE instruction works at: http://oss.oetiker.ch/rrdtool/doc/rrdgraph_graph.en.html and some general help on PNP templates at: http://docs.pnp4nagios.org/pnp-0.6/tpl Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 03:23 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting public instead of Public everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN
[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
Yes, that's the one. Inside my config_local.php I have the line already put: # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; I downloaded the pdf file via scp and double checked to confirm it's the modified one. The rights on the file are: -rw-r--r-- 1 nagios nagios 41924 Jul 2 08:39 background.pdf Thanks! What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one. Please be more precise! which pdf file did you modify? pnp4nagios/etc/background.pdf? Is this the one? Is this file also registered in your pnp4nagios/etc/config_local.php # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 02:19 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one. Thanks! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 12:38 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg Von:Radu Popa/Technomatic An: Radu Popa/Technomatic@Maxdorf Kopie: nagios-users@lists.sourceforge.net Datum: 07/02/2011 12:24 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= --watermark 'Test' (note the .= rather than just = and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, Radu.Popa@... wrote: After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Well done. Yes, you can create a custom template. Take a look under /usr/local/pnp4nagios/share/templates.dist and find the file named check_snmp_int.php . Copy it to the directory /usr/local/pnp4nagios/share/templates and then edit it to get the wider line. For example the line which reads: $def[1] .= LINE1
[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
Damn, was all the time in front of me: the picture inserted was a stamp, so obviously that the PNP would not use it. Added as a normal picture and appeared immediately. Sorry for keeping you busy :( Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 03:26 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Yes, that's the one. Inside my config_local.php I have the line already put: # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; I downloaded the pdf file via scp and double checked to confirm it's the modified one. The rights on the file are: -rw-r--r-- 1 nagios nagios 41924 Jul 2 08:39 background.pdf Thanks! What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one. Please be more precise! which pdf file did you modify? pnp4nagios/etc/background.pdf? Is this the one? Is this file also registered in your pnp4nagios/etc/config_local.php # # Use this file as PDF background. # $conf['background_pdf'] = '/usr/local/pnp4nagios/etc/background.pdf' ; Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 02:19 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration What I am trying to achieve is now modifying a bit the pdf generated page ( add an additional logo, put some text, aso). Saw that the background page is called background.pdf, so I have modified that, but when generating PDF I still see the original background page, not the modified one. Thanks! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 12:38 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration PNP version is 0.6.13 and you are totally right about the config_local.php file. Modified in that one and I see it in all graphs. The only opened issue for now is the pdf background file. Thanks a lot! Which pnp4nagios version do you use? I assume its 0.6.13 PNP web interface reads config files in the following order. pnp4nagios/etc/config_local.php pnp4nagios/etc/config.php config_local.php is used to store your own changes and will not be overwritten on updates. config.php is the default config file. http://docs.pnp4nagios.org/pnp-0.6/webfe_cfg Joerg Von:Radu Popa/Technomatic An: Radu Popa/Technomatic@Maxdorf Kopie: nagios-users@lists.sourceforge.net Datum: 07/02/2011 12:24 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration I have managed to put the text into the graphs ( watermark) by adding the option directly into the respective php file ( e.g. check_snmp_int.php). All the php files seem to have already an $opt[1] line which overrides the general options. I am still stucked with the PDF background file however. Thanks once again! I can't say I've ever tried that. I would think you need to append to rather than replace the graph options though, so wouldn't it be .. $conf['graph_opt'] .= --watermark 'Test' (note the .= rather than just = and the space added before --watermark ) I don't have my Nagios system to hand at the moment so can't take a look myself. Remind me on Monday if you're still stuck and I'll have a play with that myself. Another option is to create some graphs outside of PNP altogether (but using the .rrd databases created by PNP). See: http://oss.oetiker.ch/rrdtool/doc/rrdcgi.en.html Again, I can dig out some examples for you if you remind me during the week (or do a search - I'm sure we've covered this topic before either here or on the PNP email list some time in the last few months). Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 07/02/2011 09:36 AM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Hello again, Can you please give some guidelines how to customize the PNP4Nagios background page? I have tried using the $conf['graph_opt'] = --watermark 'Test' option, but it does not take it. Also modifications done on the background.pdf file are not updated. Already restarted apache and nagios services. In general I would like to add some logos and/or text. Thank you! On 29 June 2011 13:23, Radu.Popa@... wrote: After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes
[Nagios-users] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 60,60,100,100,10,10 -c 80,80,200,200,20,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;6;8;0;10 'GigabitEthernet0/24_out_bps'=26237;6;8;0;10 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_namecheck_snmp_int command_line$USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!GigabitEthernet0/24!60,60,100,100,10,10!80,80,200,200,20,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host 192.168.2.1. In resources I have defined $USER5$=Public Ideas, please? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff:RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff:MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
Was a typo error of the community string, after putting public instead of Public everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with 0/2 string. Any way to limit this? Do I have to enter any escape character? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 60,60,100,100,10,10 -c 80,80,200,200,20,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;6;8;0;10 'GigabitEthernet0/24_out_bps'=26237;6;8;0;10 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_namecheck_snmp_int command_line$USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!GigabitEthernet0/24!60,60,100,100,10,10!80,80,200,200,20,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host 192.168.2.1. In resources I have defined $USER5$=Public Ideas, please? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff:RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff:MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Antwort: RE: MRTG graphs problem - measurement units not taken into consideration
After adding the -r option it works like a charm! Now in pnp4nagios I can see both values on the same graph: bytes in and bytes out. I see them as two thin lines. Any way to make the lines thicker and change their colour? Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:45 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Was a typo error of the community string, after putting public instead of Public everything looks cool. Still 1 question: If I try to query interface GigabitEthernet0/2 I get the response: GigabitEthernet0/21:DOWN, GigabitEthernet0/23:DOWN, GigabitEthernet0/24:UP No usable data on file (40 rows) , GigabitEthernet0/2:UP No usable data on file (1 rows) , GigabitEthernet0/22:DOWN, GigabitEthernet0/20:UP No usable data on file (1 rows) : 3 int NOK : CRITICAL So ti seems that it takes all interfaces starting with 0/2 string. Any way to limit this? Do I have to enter any escape character? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/29/2011 01:29 PM Betreff:Antwort: RE: MRTG graphs problem - measurement units not taken into consideration Ok, Here is what I got so far: 1. If I run the command: ./check_snmp_int.pl -H 192.168.2.1 -C public -2 -n GigabitEthernet0/24 -fY -kqB -g -w 60,60,100,100,10,10 -c 80,80,200,200,20,20 -d 5 , I get the following output: GigabitEthernet0/24:UP (16.9Kbps/26.2Kbps/0.0/0.0/0.0/0.0):1 UP: OK | 'GigabitEthernet0/24_in_bps'=16899;6;8;0;10 'GigabitEthernet0/24_out_bps'=26237;6;8;0;10 Before getting a correct output I run the command several times. The initial output is GigabitEthernet0/24:UP No usable data on file (102 rows) :(1 UP): UNKNOWN 2. Defined the following command in nagios: define command{ command_namecheck_snmp_int command_line$USER1$/check_snmp_int.pl -H $HOSTADDRESS$ -C $USER5$ -2 -n $ARG1$ -fY -kqB -g -w $ARG2$ -c $ARG3$ -d $ARG4$ } Where And the corresponding service check: define service{ use generic-service,pnpgraphed-service ; Inherit values from a template host_name test_sw service_description Port 24 Bandwidth Usage check_command check_snmp_int!GigabitEthernet0/24!60,60,100,100,10,10!80,80,200,200,20,20!10 normal_check_interval 2 ; Check the service every 2 units under normal conditions retry_check_interval1 ; Re-check the service every 1 unit until its final/hard state is determined } In nagios service status I get now: ERROR: Description table : No response from remote host 192.168.2.1. In resources I have defined $USER5$=Public Ideas, please? Thank you! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/28/2011 05:14 PM Betreff:RE: MRTG graphs problem - measurement units not taken into consideration I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff:MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] MRTG graphs problem - measurement units not taken into consideration
Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you!-- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] MRTG graphs problem - measurement units not taken into consideration
I have tried the SNMP plugin a few minutes ago and here is what I get when running it from the command line: ./check_snmp_int.pl -H 192.168.2.1 -C public -n GigabitEthernet0/24 -k -w 200,400 -c 0,600 GigabitEthernet0/24:UP No usable data on file (1 rows) :(1 UP): UNKNOWN The interface name I took it from listing all available interfaces on the switch. Any ideas, please? Thanks! Von:Radu Popa/Technomatic An: nagios-users@lists.sourceforge.net Datum: 06/28/2011 03:31 PM Betreff:MRTG graphs problem - measurement units not taken into consideration Hello, I am using Nagios to monitor the bandwidth usage of a couple of switches/routers via the check_local_mrtgtraf command. The graphs I handle via pnp4nagios. The problem I encounter is the following: if the monitored bandwidth is at one point expressed in KB/s and then I bring a lot of traffic through the router the, unit is changed into MB/s. The graphed values seem not to take into consideration the change of the measurement unit meaning that the 50KB/s seems to be at the same height as the 50MB/s value in the graph. Can anyone please help? Thank you! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ 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] Monitor windows process CPU usage
Dear all, I have a working installation of Nagios + PNP 4 Nagios. How can I monitor and graph the usage of CPU on a windows machine for one or more processes? I have triedm but without too much luck by using check_wmi: I get the information, but not as performance data so I can graph it. Thank you!-- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ 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