Tag Info

New answers tagged

0

Another useful grep trick to show all output but colour the selected KEYWORD is : tail -f FILE | grep --color=always -E "$|REGEXP"


0

I wouldn't depend on hostgroups for that - they can be used to group hosts for external user interfaces and help as a basis, but I would recomment looking into alternate apply rule match conditions such as custom attributes as strings, numbers, boolean, arrays or (nested) dictionaries name pattern match with wildcards/regex match on object attributes, such ...


0

I'm not sure why, but if I run the Check_VMReplication.ps1 code using Invoke-Command -Credential $mycred -ScriptBlock {CODE GOES HERE} instead of a second script file it runs fine. I guess I'll just have to do it that way.


0

PHP logs this particular event, (along with many other abnormal things) so you should also watch its logs. For example: WARNING: [pool www] server reached pm.max_children setting (5), consider raising it.


2

i work with PRTG for some years now and i don't think it's possible out of the PRTG GUI. There are 3 possibilities you have. 1) If you want to add the new WMI Service Sensore you can use the Search field to define a condition. But you only can filter Name, Description or state. So this will not really help you i think. (see Picture) 2) If you have some ...


3

With Cacti you are not limited only to SNMP queries. You can choose to run any script of your own as a Data Input Method. It could be Perl, PHP, Python, Bash or whatever. Just choose the Script/Command input type : Your script has to output at least one value. This value will be attached to an output field within Cacti and used later to create the final ...


0

Two guesses: 1. Traffic that came in before the DomU xennet was ready to receive. 20℅ is pretty much, though. Do you boot often and have low normal traffic? 2. Broadcast/Multicast Traffic not targeted to the DomU? Is there perhaps an incoming firewall on the DomU?


0

Yes, you can do this with external commands, as documented in the Adaptive Monitoring docs. You have the event handler submit an external command to modify the check command and/or its arguments. Be sure to change it back eventually (perhaps when the notification is sent, for example).


2

I think your best bet would be to use wsadmin with a jython script. This is the way I've seen it done before and then you could load that csv into nagios or something. The wsadmin script could be set in cron to run or some scheduler on windows. IBM has an unofficial jython library which has a bunch of helpers and makes writing the jython easier.. ...


3

Procmon out of the Microsoft Sysinternals suite should do the trick. You can filter the path or registry key or whatever you need.


0

I know it's an old post, but I just ran across this question while I was looking for something else. I'm not much of a nagios expert, but I do love it. Any check that you place in a hostgroup will apply to any host in that hostgroup (which you knew already). If you create the same check in the host cfg, then it'll override the hostgroup check. Anyhow, the ...


0

If you only monitor datacenter A from datacenter B you introduce a possibly unwanted component into your measurement namely the health of the internet. My strategy is to monitor A from A and B from B. This gives you the most accurate sense of how your data center functions internally. There is still value in monitoring the health of your datacenters from ...


0

You should take a look at following: Distributed Monitoring Distributed Monitoring Solutions For Nagios - Nagios Library distributed monitoring | Nagios Library - Nagios Library


0

I think the best solution is to have a nagios instance on each DC and monitor both DC from every instance. With this solution you can still monitor each DC separately if the connectivity is lost and if one nagios machine break In our company we have 2 Nagios server for this purpose.


1

My solution for running 1-2 hours tests: tcpflow to collect TCP flow, I use tcpflow -i eth0 -FT to have timestamp in the result file names parse report.xml (DFXML) to create report on closed connections parse the file names with captured traffic + record their sizes to report on the ongoing connection during the measurement use matplotlib to plot graphs ...


0

I use zabbix in my environment, but I suppose this method could work in other setups as well. I have configured the following command that zabbix is allowed to use: UserParameter=elasticsearch.commits,/usr/bin/curl -s 'localhost:9200/_cat/count?v' | /bin/sed -n '2p' | /bin/awk '{print $3}' This will return the number of elasticsearch records committed ...


2

There are cloud solutions for this... And of course, old-school monitoring solutions that also calculate these percentages. OpenNMS does this quite well. Sample message: All services are down on node General - ppro. New Outage records have been created and service level availability calculations will be impacted until this outage is resolved.


0

So, in the end the only thing that worked was turning off the Windows Firewall Private Profile. Before doing this, we modified settings (including disabling NetBIOS) so that there was no traffic being dropped (in that profile), so that having the profile off was pretty much the same as having it on. We monitored for several days before and after to be sure ...


0

This works for me - using the mysql socket rather than its port (on a debian machine): check process mysql with pidfile /var/run/mysqld/mysqld.pid group database start program = "/etc/init.d/mysql start" stop program = "/etc/init.d/mysql stop" #if failed host 192.168.1.222 port 3306 protocol mysql then restart if failed unix ...



Top 50 recent answers are included